Commit 2d3a1d8a authored by Médéric Boquien's avatar Médéric Boquien

The best fit is now plotted at the exact redshift rather than at the rounded redshift.

parent b080ab2e
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
- Missing import in the `m2005` module. (Médéric Boquien, reported by Dominika Wylezalek) - Missing import in the `m2005` module. (Médéric Boquien, reported by Dominika Wylezalek)
- The plot of the PDF could not be generated for physical properties estimated in log (Médéric Boquien) - The plot of the PDF could not be generated for physical properties estimated in log (Médéric Boquien)
- We do not attempt anymore to estimate the physical properties of galaxies with insanely large χ² that lead to an underflow in the computation of the likelihood. (Médéric Boquien) - We do not attempt anymore to estimate the physical properties of galaxies with insanely large χ² that lead to an underflow in the computation of the likelihood. (Médéric Boquien)
- The best fit is now plotted at the exact redshift rather than at the rounded redshift. (Médéric Boquien)
### Optimised ### Optimised
- The estimation of the physical properties is made a bit faster when all the models are valid. (Médéric Boquien) - The estimation of the physical properties is made a bit faster when all the models are valid. (Médéric Boquien)
......
...@@ -164,7 +164,7 @@ def _sed_worker(obs, mod, filters, sed_type, nologo): ...@@ -164,7 +164,7 @@ def _sed_worker(obs, mod, filters, sed_type, nologo):
obs_fluxes_err = np.array([obs[filt+'_err'] obs_fluxes_err = np.array([obs[filt+'_err']
for filt in filters.keys()]) for filt in filters.keys()])
mod_fluxes = np.array([mod["best."+filt] for filt in filters.keys()]) mod_fluxes = np.array([mod["best."+filt] for filt in filters.keys()])
z = np.around(obs['redshift'], decimals=2) z = obs['redshift']
DL = mod['best.universe.luminosity_distance'] DL = mod['best.universe.luminosity_distance']
if sed_type == 'lum': if sed_type == 'lum':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment