compute_sps_params¶
- grizli.fitting.compute_sps_params(full='j021820-051015_01276.full.fits', cosmology=FlatLambdaCDM(name='Planck15', H0=<Quantity 67.74 km / (Mpc s)>, Om0=0.3075, Tcmb0=<Quantity 2.7255 K>, Neff=3.046, m_nu=<Quantity [0., 0., 0.06] eV>, Ob0=0.0486))[source]¶
Compute stellar population parameters from a
GroupFitter
output file.- Parameters
- fullstr,
HDUList
Output from
GroupFitter
with the best-fit template coefficients. If a string, will be opened withastropy.io.fits.open
. Default isj021820-051015_01276.full.fits
.- cosmology
FLRW
Cosmology object to compute luminosity distances.
- fullstr,
- Returns
- spsdict
Dictionary with the following keys:
Lv
,MLv
,MLv_rms
,SFRv
,SFRv_rms
,templ
. The first four areQuantity
objects with units of solar luminosity, solar mass per solar luminosity, solar mass per year, and solar mass per year, respectively. Thetempl
key is aSpectrumTemplate
object with the best-fit template.