Commit af958ae5 authored by Médéric Boquien's avatar Médéric Boquien

Small optimisation to compute the age of the galaxy at all the time steps.

parent 62f18056
......@@ -77,7 +77,7 @@ class BC03(SedModule):
ssp = self.ssp
# Age of the galaxy at each time of the SFH
sfh_age = np.max(sfh_time) - sfh_time
sfh_age = sfh_time[::-1]
# First, we process the young population (age lower than the
# separation age.)
......
......@@ -89,7 +89,7 @@ class M2005(SedModule):
ssp = self.ssp
# Age of the galaxy at each time of the SFH
sfh_age = np.max(sfh_time) - sfh_time
sfh_age = sfh_time[::-1]
# First, we process the young population (age lower than the
# separation age.)
......
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