Commit 7334ecab authored by Médéric Boquien's avatar Médéric Boquien
Browse files

Fix the scaling factor to save the best-fit model when the distance is given explicitly.

parent dfe7d37f
......@@ -12,6 +12,7 @@
- As the best-fit properties are computed at the exact observed redshift, correct the scaling factor as it is computed at the grid redshift. This corrects for slight offsets on the best-fit properties when the input redshift has more decimals than the grid redshift. (Médéric Boquien)
- Fix the pip install by making pcigale.managers discoverable. (Yannick Roehlly)
- When using a parameters file, Boolean values were not correctly interpreted. (Médéric Boquien, reported by Eric Martínez, INAOE)
- Make sure that the best-fit models are stored with the correct scaling factor when the distance is given explicitly (Médéric Boquien)
### Optimised
- Slight speedup of the computation of the likelihood from the χ² (Médéric Boquien)
......@@ -269,6 +269,6 @@ def bestfit(oidx, obs):
* corr_dz
if gbl_conf['analysis_params']["save_best_sed"]:
sed.to_fits('out/{}'.format(, scaling)
sed.to_fits('out/{}'.format(, scaling * corr_dz)
Supports Markdown
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