stam.rbf.interpolate_tracks

stam.rbf.interpolate_tracks(tri, color, mag, tracks, param='mass')[source]

Interpolate color-magnitude location over the stellar track grid.

Parameters:
  • rbfi (Rbf interpolator instance) – Radial basis function interpolator instance, as retrieved by stam.rbf.rbfi_tracks.

  • x (str, optional) – x-axis parameter (usually the color of the stars, e.g. Gaia’s Gbp-Grp; default: “color”).

  • y (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:

z – The evaluated parameter.

Return type:

array_like