Skip to main content

gaiacmds DOI

Good enough simple membership selection to recover color-magnitude diagrams for use in the classroom!

Installation

To install:

cd ~

git clone https://github.com/avapolzin/goodenough_gaia_cmds.git

cd gaiacmds

pip install .

or

pip install gaiacmds

Getting Started

This lightweight code is designed to auto-generate CMDs from Gaia data based on a simple object name search. While not using a sophisticated selection function suited to research purposes, results are good enough for pedagogical use, including explaining SSPs (or CSPs as the case may be), "fitting" isochrones, and recovering age/distance/metallicity for nearby stellar populations.

import gaiacmds

# adopting age and distance from Chen+23: https://ui.adsabs.harvard.edu/abs/2023ApJ...948...59C/abstract
gaiacmds.plot('NGC 3532', 5, isos = 'mist', logage = 8.5, feh = 0.25, dist = 484)
NGC3532
# adopting isochrone properties and membership cut from Griggio+23: https://ui.adsabs.harvard.edu/abs/2023MNRAS.523.5148G/abstract
gaiacmds.plot('M38', 5, isos = 'mist', logage = 8.5, feh = 0.06, dist = 1130, pmra = 1.5, pmd = -4.5)
M38

gaiacmds ships with easy plotting of MIST and PARSEC stellar isochrones for Gaia EDR3. BaSTI may be added in the future.

Stellar isochrone models will not always perfectly align with the CMD, and, for example, this paper may be of interest in understanding discrepancies between the CMD and theoretical isochrone positions. Additionally, for consistency between models, all of the synthetic Gaia photometry is for EDR3, and all models use solar abundance patterns.

Documentation (of a sort)

Since the options are so minimal/simple, please refer to the docstring for gaiacmds.plot() to understand what options exist. The other functions may be used in isolation, too, though only gaiacmds.plot() is intended to be user-facing.

In the future, I may add options to make proper motion or other plots to help guide user choices, though this is the intent of the colormaps and spatial plot that are available at the moment. I may also add the ability to correct for reddening, though that would similarly further complicate what is intended to be a simple pedagogical tool.

Citation

If you use this package or the scripts in this repository in a publication, please add a footnote linking to https://github.com/avapolzin/goodenough_gaia_cmds and/or consider adding this software to your acknowledgments. If you would like to cite gaiacmds, please use the Zenodo DOI linked here.

Metadata

Release files for gaiacmds 0.5.1

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

Source distribution (sdist)

Source distribution for gaiacmds 0.5.1
File Size Uploaded Provenance Actions
gaiacmds-0.5.1.tar.gz 7.2 kB Without provenance Details for gaiacmds-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gaiacmds 0.5.1
File Interpreter ABI Platform Actions
gaiacmds-0.5.1-py3-none-any.whl Python 3 none any Details for gaiacmds-0.5.1-py3-none-any.whl

Total release size: 14.7 kB

Release files / gaiacmds-0.5.1.tar.gz

Download URL gaiacmds-0.5.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b5c4976a36ec23a8ea399fbbed774f475aa0663a82d4731d0067b3f482af23f5
BLAKE2b-256 checksum
How to use checksums
e031727416c97eee1f88a8a9b606d974bf64a6c11ceab00c9f979b15d41dabfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.12

Release files / gaiacmds-0.5.1-py3-none-any.whl

Download URL gaiacmds-0.5.1-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7cf1e16a119fe324a42a4c6498e7d9eabdf62b3326c016424224fa1176537d32
BLAKE2b-256 checksum
How to use checksums
976ef65ad6a514b96dbe3591f0481d18240556e952d1714810335af05d0a53d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.12

Security for gaiacmds 0.5.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files No provenance

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