Commit 4fc5e26e authored by Médéric Boquien's avatar Médéric Boquien
Browse files

Finally prefix SFH-related variabled that lacked the sfh. prefix.

parent 668f32f2
......@@ -84,12 +84,10 @@ class SED(object):
sfh_time, sfh_sfr = value
sfh_age = sfh_time[-1] - sfh_time
self._sfh = value
self.add_info("sfr", sfh_sfr[-1], True, True)
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)
self.add_info("", sfh_sfr[-1], True)
self.add_info("sfh.sfr10Myrs", np.mean(sfh_sfr[-10:]), True)
self.add_info("sfh.sfr100Myrs", np.mean(sfh_sfr[-100:]), True)
self.add_info("sfh.age", sfh_time[-1], False, True)
def fnu(self):
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