Commit 53b3a832 authored by Médéric Boquien's avatar Médéric Boquien

In the output the sfh.age parameter would correspond to the input value minus...

In the output the sfh.age parameter would correspond to the input value minus 1. Now both values are consistent with one another.
parent bf4fe407
......@@ -29,6 +29,7 @@
- In the sfhfromfile module, an extraneous offset in the column index made that it took the previous column as the SFR rather than the selected column. (Médéric Boquien)
- In sfhfromfile, if the SFR is made of integers cigale crashed. Now we systematically convert it to float. (Médéric Boquien)
- The order of the parameters for the analysis modules would change each time a new pcigale.ini was generated. Now the order is fixed. (Médéric Boquien)
- In the output the sfh.age parameter would correspond to the input value minus 1. Now both values are consistent with one another. (Laure Ciesla & Médéric Boquien)
### Optimised
- Prior to version 0.7.0, we needed to maintain the list of redshifts for all the computed models. Past 0.7.0 we just infer the redshift from a list unique redshifts. This means that we can now discard the list of redshifts for all the models and only keep the list of unique redshifts. This saves ~8 MB of memory for every 10⁶ models. the models should be computed slightly faster but it is in the measurement noise. (Médéric Boquien)
......
......@@ -92,7 +92,7 @@ class SED(object):
force=True)
self.add_info("sfh.sfr100Myrs", np.mean(sfh_sfr[-100:]), True,
force=True)
self.add_info("sfh.age", sfh_time[-1], False, force=True)
self.add_info("sfh.age", sfh_time[-1]+1, False, force=True)
@property
def fnu(self):
......
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