stam.gentracks.get_pre_ms_isomass

stam.gentracks.get_pre_ms_isomass(models, mass, mh, is_smooth=True, smooth_sigma=3, **kwargs)[source]

Get a specific stellar evolution pre-MS track, with fixed mass and metallicity.

Parameters:
  • models (Table) – All stellar evolution models in a single astropy table, as retrieved by stam.models.read_parsec.

  • mass (float) – Stellar track mass, in Msun

  • mh (float) – Stellar track metallicity ([M/H]), in dex

  • is_smooth (bool, optional) – Smooth the stellar track? (default: True).

  • smooth_sigma (float, optional) – Smoothing Gaussian sigma (default: 3).

  • kwargs (optional) – Any additional keyword arguments to be passed to stam.tracks.get_isotrack.

Returns:

  • bp_rp (array_like) – Chosen stellar evolution track Gaia Gbp-Grp color.

  • mg (array_like) – Chosen stellar evolution track Gaia G magnitude.

  • age (array_like) – Chosen stellar evolution track age, in Gyr.