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 with astropy.io.fits.open. Default is j021820-051015_01276.full.fits.

cosmologyFLRW

Cosmology object to compute luminosity distances.

Returns
spsdict

Dictionary with the following keys: Lv, MLv, MLv_rms, SFRv, SFRv_rms, templ. The first four are Quantity objects with units of solar luminosity, solar mass per solar luminosity, solar mass per year, and solar mass per year, respectively. The templ key is a SpectrumTemplate object with the best-fit template.