- 24 Jul, 2019 1 commit
-
-
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.
-
- 11 Jun, 2019 1 commit
-
-
Médéric Boquien authored
-
- 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.
-
- 26 Apr, 2018 1 commit
-
-
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.
-
- 02 Apr, 2018 1 commit
-
-
Médéric Boquien authored
-
- 20 Mar, 2018 1 commit
-
-
Médéric Boquien authored
-
- 21 Feb, 2018 2 commits
-
-
Hector Salas authored
-
Hector Salas authored
Add ParameterManager as input to ObserbationsManagerPassbands class, this is use to separate the intensive properties to fit from the extensive and add them to the class. Modify pdf_analysis/__init__.py to call ParameterManager befor ObservationsManager
-
- 19 Feb, 2018 2 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-
- 25 Jan, 2018 1 commit
-
-
Médéric Boquien authored
-
- 27 Mar, 2017 1 commit
-
-
Médéric Boquien authored
-
- 17 Mar, 2017 3 commits
-
-
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
-
- 08 Mar, 2017 3 commits
-
-
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
Move the backup_dir() function to the base class of the analysis modules as it makes sense for analysers to prepare the output directories.
-
- 22 Dec, 2016 1 commit
-
-
Médéric Boquien authored
-
- 07 May, 2016 1 commit
-
-
Médéric Boquien authored
As we loop over the bands to compute the χ², it is smarter that the bands are the slower varying index and the models the faster varying index. That way it is more likely that models at the correct redshift are prefetched into the cache.
-
- 05 Feb, 2016 1 commit
-
-
Médéric Boquien authored
-
- 30 Jan, 2016 6 commits
-
-
Médéric Boquien authored
The name creation_modules is a bit vague. For more clarity and consistency we rather use sed_modules now
-
Médéric Boquien authored
Remove some variables used only once and that could be directly obtained from the configuration dictionary.
-
Médéric Boquien authored
Homogenise savefluxes and pdf_analysis for the variables/analysed_variables keyword in pcigale.ini. We adopt the former as it is more compact and applies correctly to both modules.
-
Médéric Boquien authored
Change the vague column_list keyword in pcigale.ini to bands. This will require the user to rebuild their pcigale.ini but that is necessary for the validation anyway so that is the right moment to do so.
-
Médéric Boquien authored
Pratical implementation of the validation of the parameters. The patch is quite long as it has a direct effect on the structure of the configuration dictionary. The validation has the advantage of automatically convert the parameters to the right type. Therefore rather than building a dictionary ourselves, we rather use the ready-made dictionary from ConfigObj. Because the names of the sections are not the same, quite a bit of code had to be adapted. Finally, note that the validation file containing the specification of each variable, pcigale.ini.spec, is created while building the pcigale.ini file. Also because it is needed to convert the data to the right type, one cannot run cigale without a correct validation file.
-
Médéric Boquien authored
Specify the types and the constraints of the input parameters for the SED creation modules and the analysis modules. Once validation is activated, the validation module will be able to infer the constraints from the specified information.
-
- 22 Jan, 2016 1 commit
-
-
Médéric Boquien authored
Abstract the call to the parameters handler to allow for the creation of different handlers depending on how the parameters are provided, for instance either a systematic grid by giving then in pcigale.ini or through a file with each line providing a the parameters for a different model. The change is transparent to the rest of pcigale so it does not matter which handler is actually used.
-
- 21 Jan, 2016 3 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
If the list of analysed/saved physical properties is left empty in pcigale.ini, savefluxes saved all physical properties. This has been moved to the Configuration class and easily extended to the pdf_analysis module.
-
Médéric Boquien authored
When the redshifts are not indicated in pcigale.ini, compute them from the input flux file when the configuration dictionary is returned rather than in the analysis module, which should not have to change the configuration.
-
- 20 Jan, 2016 2 commits
-
-
Médéric Boquien authored
Simplify the interface of the analysis modules as it is needlessly restrictive by forcing a precise list of parameters. Different modules do not necessarily need the same information and the need for different input parameters may emerge in the future. To make the interface future-proof, we simply pass the file containing the configuration file. Then each analysis module picks the data it needs from it.
-
Yannick Roehlly authored
-
- 08 Dec, 2015 1 commit
-
-
Médéric Boquien authored
Merge the output files into one. The parameters estimated from the PDF are prefixed with 'bayes' and those from the best fit with 'best'.
-
- 07 Dec, 2015 3 commits
-
-
The detection of the '_log' suffix in variables and its removal to compute the models was overzealous. Fix this.
-
Yannick Roehlly authored
Revert the commit to re-apply it using git-flow hotfix. This reverts commit d8fab1df.
-
Médéric Boquien authored
The detection of the '_log' suffix in variables and its removal to compute the models was overzealous. Fix this.
-
- 04 Dec, 2015 1 commit
-
-
Médéric Boquien authored
-
- 03 Dec, 2015 2 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
Get rid of the array containing the redshifts of all the models. Now that we infer the redshift of individual models from the list of unique redshifts it is not needed anymore. This change saves 8 bytes per model. The code should be marginally faster too.
-