get_binned_phoenix_spectrum

get_binned_phoenix_spectrum

frei.get_binned_phoenix_spectrum(T_eff, g, wl_bins, lam, cache=True)[source]

Return a binned PHOENIX spectrum with effective temperature T_eff.

Parameters
  • T_eff (Quantity) – Effective temperature of the PHOENIX model to retrieve

  • g (Quantity) – Surface gravity

  • wl_bins (Quantity) – Wavelength bin edges

  • lam (Quantity) – Wavelength bin centers

  • cache (bool) – Cache downloaded PHOENIX spectrum

Returns

binned_spectrum – PHOENIX spectrum binned to wavelength grid

Return type

Quantity