Commit 303f2827 authored by Médéric Boquien's avatar Médéric Boquien

Make sure that upper limits on physical properties are correctly taken into account.

parent 87e77a0f
......@@ -36,6 +36,7 @@
- Make sure that the parameters are saved with the proper scale (linear or logarithmic) in the χ² files. (Médéric Boquien)
- Some math libraries such as MKL or OpenBLAS sometime try to be (too) smart, starting computation threads on their own. As cigale is already parallel, this just oversubscribes the CPU and can lead to important slowdowns. An environment variable could be set by the user to disable this, but this is cumbersome. Rather, we set these variables directly in the code at the startup of cigale. (Yannick Roehlly & Médéric Boquien)
- Fix a crash in `pcigale-plots` when plotting the SED of models computed without stellar populations. (Médéric Boquien)
- Make sure that upper limits on physical properties are correctly taken into account. (Médéric Boquien)
### Optimised
- Slight speedup of the computation of the likelihood from the χ² using a multiplication rather than a division. (Médéric Boquien)
- Speedup of the computation of the χ² by ~10% taking the opposite of a scalar rather than of an array. (Médéric Boquien)
......
......@@ -316,7 +316,7 @@ class Observation(object):
if np.isfinite(row[k]) and row[k + '_err'] <= 0.}
self.extprop_err = {k: row[k + '_err'] for k in self.extprop.keys()}
self.extprop_ul_err = {k: -row[k + '_err']
for prop in self.extprop_ul.keys()}
for k in self.extprop_ul.keys()}
self.intprop = {k: row[k] for k in cls.intprops}
self.intprop_err = {k: row[k + '_err'] for k in cls.intprops}
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