- 27 Mar, 2017 1 commit
-
-
Médéric Boquien authored
Add a results manager to store the results of the analysis (bayesian and best fit estimates, best chi², etc.). Several such managers can be merged to combine appropriately the analysis of the observations in different blocks. This is the base class. The implementation will come in subsequent patches.
-
- 17 Mar, 2017 10 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
More correct block size computation to ensure that all the models are computed and that each block contains all the redshifts for a given model.
-
Médéric Boquien authored
-
Médéric Boquien authored
Save the model id rather than the index within the block as this would give an incorrect id when using more than one block.
-
Médéric Boquien authored
Switch savefluxes to using a models manager and make all the necessary adjustments with the workers.
-
Médéric Boquien authored
Add a models manager that stores the fluxes, the physical properties, and all the necessary information to compute the models. Actual use will come in forthcoming patches.
-
Médéric Boquien authored
Add the possibility to store the list of blocks of models to compute to the parameters manager. If the number of blocks is not given, we assume it must be computed in 1 block.
-
Médéric Boquien authored
Implement an observations manager. For now it is mainly used as a simple container for the observations table but upcoming rearchitecturing will make full use of it.
-
Médéric Boquien authored
Remove the TOLERANCE constant and replace it with 0. There is no good reason to have a tolerance and its value is quite arbitrary anyway.
-
Médéric Boquien authored
-
- 15 Mar, 2017 1 commit
-
-
Médéric Boquien authored
Do not crash when trying to compute equivalent widths when the nebular component emission is missing.
-
- 10 Mar, 2017 1 commit
-
-
Médéric Boquien authored
-
- 08 Mar, 2017 7 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
Rename ParametersHandler to ParametersManager to be consistent with new managers that will come in the near future.
-
Médéric Boquien authored
-
Médéric Boquien authored
The output directory is a bit of a mess, with it being defined in different places. As we never make use of the possibility of changing it, let's simply hardcode it to out/. It makes filenames slightly easier to read too.
-
Médéric Boquien authored
Move the backup_dir() function to the base class of the analysis modules as it makes sense for analysers to prepare the output directories.
-
- 07 Mar, 2017 1 commit
-
-
Médéric Boquien authored
Simplify the cache architecture as we always use the in-memory one. The removes one level of indirection and makes the model generation faster by 1%.
-
- 06 Mar, 2017 3 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
Implement the possibility of not caching a module in order to save memory. A typical use case is when having many different stellar populations at different metallicities. It can take a substantial amount of memory, especially when using many parallel processes.
-
Médéric Boquien authored
-
- 02 Mar, 2017 1 commit
-
-
Médéric Boquien authored
-
- 01 Mar, 2017 1 commit
-
-
Médéric Boquien authored
Correct a bug that was preventing the module restframe_parameters from being listed among the available modules.
-
- 17 Feb, 2017 1 commit
-
-
Médéric Boquien authored
Tiny optimisation replacing a division with a subtraction. Subtractions are quite a bit faster than divisions.
-
- 10 Feb, 2017 5 commits
-
-
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
According to the 2MASS paper the filters can be directly applied to spectra un Fλ. Despite the confusing mention that they are photon-counting, this means that they are actually in energy units.
-
- 07 Feb, 2017 1 commit
-
-
Médéric Boquien authored
-
- 06 Feb, 2017 3 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
Fix a crash in the computation of the χ² because previous optimisations had been been not fully propagated to the case of upper limits.
-
Médéric Boquien authored
Give a more reasonable amplitude for the UV bump with dustatt_powerlaw. Otherwise it is a factor Rv too large compared to dustatt_calzleit.
-
- 03 Feb, 2017 1 commit
-
-
Médéric Boquien authored
Do not store anymore the filter type as all the filters are now assumed to be in units of energy. The conversion from photon to energy is carried out by the import procedure as needed.
-
- 02 Feb, 2017 2 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
Add the new restframe_param module. It replaces most of the functionality provided in the unofficial param module, which has been trimmed down to only computing fluxes in the observed frame and has been renamed fluxes. Unlike param, the restframe_param module is to be called before the redshifting module.
-
- 11 Jan, 2017 1 commit
-
-
Médéric Boquien authored
When calling np.sum(), the axis should be an integer, not a float, otherwise it triggers a very disgracious Numpy warning. Now it is gone.
-