Commit 868e668a authored by BURGARELLA Denis's avatar BURGARELLA Denis
Browse files

Modify the output averaged SFR: two averaged SFRs with 10 (sfr10Myrs) and 100Myrs (sfr100Myrs)

parent 4631ab9d
......@@ -85,7 +85,9 @@ class SED(object):
sfh_age = sfh_time[-1] - sfh_time
self._sfh = value
self.add_info("sfr", sfh_sfr[-1], True, True)
self.add_info("average_sfr", np.mean(sfh_sfr[-AV_LAPSE:]),
self.add_info("sfr10Myrs", np.mean(sfh_sfr[-10:]),
True, True)
self.add_info("sfr100Myrs", np.mean(sfh_sfr[-100:]),
True, True)
self.add_info("age", sfh_time[-1], False, True)
......
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