Good enough CMDs based on simple star cluster member selection.
Project description
gaiacmds 
Good enough automatic cluster membership selection to recover CMDs 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 sophisiticated 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 open and globular clusters.
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)
# 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)
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 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gaiacmds-0.5.tar.gz.
File metadata
- Download URL: gaiacmds-0.5.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ddffea220b882dadee77031fceca6eab9d77becb72fbbc78e2d21035c482710
|
|
| MD5 |
7cace679f8c148c5e6bf34a5af9a6c22
|
|
| BLAKE2b-256 |
f844797ce7246e05f2c381e7be8811a7c0ecd8c1b3b9890fd73b75e24bc71989
|
File details
Details for the file gaiacmds-0.5-py3-none-any.whl.
File metadata
- Download URL: gaiacmds-0.5-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66209390b300da44247c40d1b92f993af97b95be554ede20237b1a72ae3a4f56
|
|
| MD5 |
6357503ad278f8593d05700ee1db716e
|
|
| BLAKE2b-256 |
6ad25e99542ee3117a4213944c24b03efe9c921ec055feef694fec46883be282
|