Skip to main content

gaia-cmd-plotter

gaia_cmd_plotter is a Python package for creating customized Matplotlib axes that display a Gaia Color-Magnitude Diagram (CMD) background. This package is useful for visualising astronomical data within the context of a Gaia CMD.

Installation

You can install gaia_cmd_plotter using pip:

pip install gaia-cmd-plotter

Usage

To use the package, first import the GaiaCMDAxis class from the gaia_cmd_plotter.gaia_cmd_plotter module.

from gaia_cmd_plotter.gaia_cmd_axis import GaiaCMDAxis

Next, create a new GaiaCMDAxis object and add it to a Matplotlib figure.

import matplotlib.pyplot as plt
fig = plt.figure(figsize=(8, 8))
ax = GaiaCMDAxis(fig)

You can then use the GaiaCMDAxis object like any other Matplotlib axis. For example, you can plot data on top of the Gaia CMD background,

bp_rp = 3.5
g_abs = 5.0
ax.plot(bp_rp, g_abs, "ko", ms=10, mec="k")

Acknowledgements

This package has made use of data from the European Space Agency (ESA) Gaia mission, processed by the Gaia Data Processing and Analysis Consortium. The CMD background data was obtained from the Gaia data release 3 (DR3; Gaia Collaboration et al. 2016, 2023). The bulk of points in the CMD background are retrieved from the Gaia DR3 catalog, using the query in Gaia Collaboration 2018.

References

  1. Gaia Collaboration, 2016, A&A, 595, A1
  2. Gaia Collaboration, 2018, A&A, 616, A10
  3. Gaia Collaboration, 2023, A&A, 674, A38

Metadata

Release files for gaia-cmd-plotter 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gaia-cmd-plotter 0.1.5
File Size Uploaded Provenance
gaia_cmd_plotter-0.1.5.tar.gz 154.6 kB Without provenance Details

Release files / gaia_cmd_plotter-0.1.5.tar.gz

Download URL gaia_cmd_plotter-0.1.5.tar.gz
Size 154.6 kB
Tags Source
SHA-256 checksum
How to use checksums
80c0cad39976c41c5c7954f1c1a46ee22f679697a0bbbb9b30093bb79cbbd1e7
BLAKE2b-256 checksum
How to use checksums
7983c7b18a4c0bf1839ceff2528bbedf043a06ee2a40532cfad41655bda9dd17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Security for gaia-cmd-plotter 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page