stam.run.get_mass_and_metallicity
- stam.run.get_mass_and_metallicity(idx=None, suffix=None, config_file='config.ini')[source]
Estimate mass and metallicity for all the stars in the Gaia table.
- Parameters:
idx (None or array_like, optional) – Gaia table row indices to use, None to select all rows (default: None).
suffix (None or str, optional) – Customized suffix to add to the output file names (default: None).
config_file (str, optional) – The configuration file name, including path (default: “config.ini”).
sample_settings (dict, optional) – A dictionary including keywords “vmin”, “vmax”, and “dist” (default: None). If provided, only Gaia sources within the specific transverse velocities (in km/s) and distance (in pc), will be evaluated.
- Returns:
m_mean (array_like) – Estimated mass mean for each of stars.
m_error (array_like) – Estimated mass standard deviation for each of stars.
mh_mean (array_like) – Estimated metallicity mean for each of stars.
mh_error (array_like) – Estimated metallicity standard deviation for each of stars.