fastar.interpolate.color#
Functions
|
Trilinear interpolation of a single color grid over stellar parameters. |
- fastar.interpolate.color.color_interpolation(logg_val, logteff_val, fmet_val, ulogg, uteff_log10, ufmet, grid)[source]#
Trilinear interpolation of a single color grid over stellar parameters.
These stellar parameters are (logg, log10(Teff), [Fe/H]).
- Parameters:
logg_val (float) – Target surface gravity (logg).
logteff_val (float) – Target effective temperature (log10 Teff).
fmet_val (float) – Target [Fe/H].
ulogg (array-like) – 1D grid points along each axis.
uteff_log10 (array-like) – 1D grid points along each axis.
ufmet (array-like) – 1D grid points along each axis.
grid (array-like, shape (len(ulogg), len(uteff_log10), len(ufmet))) – The color grid to interpolate.
- Returns:
Interpolated color value.
- Return type: