- 01 Sep, 2015 1 commit
-
-
Médéric Boquien authored
-
- 29 Aug, 2015 3 commits
-
-
Médéric Boquien authored
When computing the galaxy mass, convert from yr to Myr outside of the integral. That way we only multiply a scalar by 1e6 rather than a large array. Good for speed and memory bandwidth.
-
Médéric Boquien authored
Simplify the construction of modules by remove the out_parameter_list dictionary. It was not used anywhere, was not always provided, and was not even up to date.
-
Médéric Boquien authored
Switch back to ordered dictionaries for the input parameters after all. That way the list of parameters is kept into a logical order when building the configuration file. The impact on performance is negligible.
-
- 28 Aug, 2015 1 commit
-
-
Médéric Boquien authored
We rely on OrderedDict to keep the order of the parameters. However given the way the code is structured currently, there is really no reason for this. So let's just switch to the standard dictionary. This has two advantages. First the standard dictionary is much faster than OrderedDict (implemented in C rather than in pure python). Then, standard dictionaries are marshalable, which makes them usable as keys for other dictionaries.
-
- 23 Jul, 2015 1 commit
-
-
Yannick Roehlly authored
Addition of a new module to compute a star formation history as described in Buat et al. 2008.
-