- 27 Jun, 2013 1 commit
-
-
Yannick Roehlly authored
To avoid problems that might occur when, for instance, using an integer instead of a float, we now cast the module parameters to their expected type. This will also have the advantage to raise an error when a parameter can't be interpreted with its expected type. Also, use integer for age parameters as we are now using Myr as unit.
-
- 17 Jun, 2013 1 commit
-
-
Yannick Roehlly authored
Rename lumin_contributions to luminosities and use a 2 axis numpy array instead of a list of arrays. This should accelerate some operations. The star formation history is now stored in its own property. TODO: maybe automatically add age and instantaneous SFR to the info dictionnary when setting the SFH.
-
- 10 Jun, 2013 1 commit
-
-
Yannick Roehlly authored
To perform the convolution with the SFH, the rate of ionizing photons must not be stored as the log of its value.
-
- 28 May, 2013 1 commit
-
-
Yannick Roehlly authored
Using Gyr leads to some errors when comparing times (because they are no really equals when they shoud). So we switch to the use of Myr as it is the precision for our times. Maybe later, we'll go further and use integers for these values.
-
- 23 Apr, 2013 1 commit
-
-
Yannick Roehlly authored
-
- 20 Apr, 2013 1 commit
-
-
Yannick Roehlly authored
-