- 19 Sep, 2018 1 commit
-
-
Médéric Boquien authored
-
- 18 Sep, 2018 9 commits
-
-
Médéric Boquien authored
Add the possibility of computing emission lines through special filters when underlying absorption lines are not subtracted.
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
Have the nebular module compute and store the intrinsic line luminosities. That way they can be fitted as any flux.
-
Médéric Boquien authored
Store the name of the individual lines in the database in order so they can easily be identified and retrieved.
-
- 27 Jun, 2018 1 commit
-
-
Médéric Boquien authored
Clarify a bit the description of the redshifting module as we do not always just fit a single galaxy
-
- 09 May, 2018 7 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
Completely change the SED cache. Now we rely on the fact that for a given set of modules we only need to store only one model in cache. If there is a cache miss, it means we can discard this one model. In turn the cache key simply becomes the number of modules used, making it easier and faster to access. To check whether the stored module corresponds to the requested one, we store both the model parameters and the SED in a tuple.
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
Avoid making a copy when storing the redshifted SED. This SED will never be modified. This is done by copying what is returned by get_sed rather than having get_sed return directly a copy.
-
- 02 May, 2018 1 commit
-
-
Médéric Boquien authored
Do display the model counter twice when the numbers of models is a multiple of the printing frequency.
-
- 29 Apr, 2018 2 commits
-
-
Médéric Boquien authored
Setters and getters for the flux, extprop, and intprop dictionaries are too expensive, in particular as they do not provide any real safety in the present case.
-
Médéric Boquien authored
-
- 27 Apr, 2018 2 commits
-
-
Médéric Boquien authored
With the previous commit a relatively large fraction of the time is spent integrating the attenuated spectrum. Let's use a faster way to compute the integral
-
Médéric Boquien authored
It turns out that elevating 10 to some power is very slow. Because the attenuation curve will not change between two calls, we save its shape for the young and old ages rather than recomputing it every single time. This leads to a massive speedup.
-
- 26 Apr, 2018 2 commits
-
-
Médéric Boquien authored
The counter can become a bottleneck when many parallel processes are running concurrently because of the lock to update it. To address this we implement a Counter class that only updates the counter periodically rather than at each iteration. The number of models actually computed at any moment is kept in a local counter.
-
Médéric Boquien authored
-
- 25 Apr, 2018 1 commit
-
-
Médéric Boquien authored
Now that upper limits are stored as positive values, we do not need to take the opposite when correcting the χ².
-
- 17 Apr, 2018 1 commit
-
-
Médéric Boquien authored
Make the cache faster by avoiding a serialisation with marshel. Rather let's use tuples of of the values of the parameters. This works because they are stored in ordered dictionaries.
-
- 14 Apr, 2018 1 commit
-
-
Médéric Boquien authored
Import factorial from scipy.special rather than scipy.misc as importing from the latter is deprecated since Scipy 1.0.0.
-
- 13 Apr, 2018 1 commit
-
-
Médéric Boquien authored
-
- 12 Apr, 2018 2 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-
- 11 Apr, 2018 1 commit
-
-
Médéric Boquien authored
-
- 10 Apr, 2018 1 commit
-
-
Médéric Boquien authored
Make sure that the valid models are selected for the scaling array too so it is the same size as the likelihood array.
-
- 06 Apr, 2018 2 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-
- 05 Apr, 2018 1 commit
-
-
Médéric Boquien authored
-
- 03 Apr, 2018 2 commits
-
-
Médéric Boquien authored
No need to take for the present of upper limits when computing the scaling for regular fluxes as upper limits are now stored separately.
-
Médéric Boquien authored
When computing the scaling factor, correct the extensive properties for the difference between the distance of the model and the actual distance of the object.
-
- 02 Apr, 2018 2 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-