stam.griddata.triangulate_tracks
- stam.griddata.triangulate_tracks(tracks, color='bp_rp', mag='mg')[source]
Compute the 2D Delaunay triangulation of the stellar track color-magnitude coordinates.
- Parameters:
tracks (Table) – Stellar-track grid, as retrieved by stam.tracks.get_isomasses or stam.tracks.get_combined_isomasses.
xparam (str, optional) – x-axis parameter (usually the color of the stars, e.g. Gaia’s Gbp-Grp; default: “color”).
yparam (str, optional) – y-axis parameter (usually the absolute magnitude of the stars, e.g. Gaia’s M_G; same size as x; default: “absmag”).
- Returns:
tri – 2D Delaunay triangulation of the stellar track grid.
- Return type:
Delaunay object