- 09 Aug, 2019 2 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
Maximise the CPU cache hit rate with computing the χ² by storing contiguously all the models at a given redshift.
-
- 24 Jul, 2019 2 commits
-
-
Médéric Boquien authored
Improve the presentation of the sanity check and only do as at the end of the run so that sporadic messages are not displayed in individual blocks.
-
Médéric Boquien authored
Ensure that best models are properly computed when models are computed by blocks and that no fit could be made in one or more blocks.
-
- 19 Jun, 2019 1 commit
-
-
Médéric Boquien authored
As we modify the sed object, make a deep copy so we do not accidentally alter the model in the cache. These models should probably be made read-only, if it is not too costly in terms of performance.
-
- 11 Jun, 2019 1 commit
-
-
Médéric Boquien authored
-
- 29 May, 2019 1 commit
-
-
Médéric Boquien authored
-
- 17 Apr, 2019 1 commit
-
-
Médéric Boquien authored
Move the negative sign to the constant to avoid having to take the negative of an entire array. Also use a multiplication rather than a division (even though a division by 2 is a special case).
-
- 22 Feb, 2019 1 commit
-
-
Médéric Boquien authored
Correct the scaling of the best-fit to account to the difference between the grid and the observed redshifts/distances.
-
- 21 Feb, 2019 1 commit
-
-
Médéric Boquien authored
Take into account the effect of the differential redshifting between the observed and grid redshifts.
-
- 19 Oct, 2018 1 commit
-
-
Médéric Boquien authored
Make sure that the best fit can be computed when the redshift is estimated rather than given as an input.
-
- 18 Sep, 2018 2 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-
- 09 May, 2018 4 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
-
- 29 Apr, 2018 1 commit
-
-
Médéric Boquien authored
-
- 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
-
- 12 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 1 commit
-
-
Médéric Boquien authored
-
- 31 Mar, 2018 2 commits
-
-
Médéric Boquien authored
Do not access SharedArray.array directly anymore but rather use the fact that SharedArray behaves somewhat like a Numpy array for basical operations.
-
Médéric Boquien authored
Store the model fluxes and properties in dictionaries of SharedArray rather than large SharedArray and adapt the rest of the code. It may be slightly slower doing so but it makes memory allocation easier and it allows to retrieve the values of the fluxes/properties much more convenient as we do not have to retain the index.
-
- 30 Mar, 2018 4 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
Rather than fitting again the best model to retrieve the proper scaling, let's keep it. It takes little memory.
-
Médéric Boquien authored
-
Médéric Boquien authored
Store the Bayesian estimates in dictionaries of SharedArray rather than in one large SharedArray. This has the advantage to allocate smaller arrays, which is generally easier. Using dictionaries also makes it easier to access the values of a given property. First patch in a series to use dictionaries more extensively.
-
- 04 Mar, 2018 1 commit
-
-
Médéric Boquien authored
-
- 01 Mar, 2018 3 commits
-
-
Médéric Boquien authored
-
CORRE David authored
Get automatically the index of the module redshifting for the parameter_list dictionary when getting the real redshift for computing the best model SED.
-
Médéric Boquien authored
-
- 27 Feb, 2018 3 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Hector Salas authored
-
- 26 Feb, 2018 4 commits
-
-
Hector Salas authored
-
Médéric Boquien authored
-
Hector Salas authored
-
Médéric Boquien authored
-