- 23 Oct, 2019 5 commits
-
- 10 Aug, 2019 1 commit
-
-
Médéric Boquien authored
The computation of all the cosmology-dependent quantities has been consolidated in pcigale/utils/cosmology.py and optimised. This leads to a slightly faster startup, in particular when there are many objects to fit, and it makes it easier to change the cosmology.
-
- 11 Jun, 2019 1 commit
-
-
Médéric Boquien authored
-
- 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
-
- 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.
-
- 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.
-
- 22 Dec, 2016 1 commit
-
-
Médéric Boquien authored
-
- 11 Mar, 2016 2 commits
-
-
Médéric Boquien authored
Computers are much better at multiplying than at dividing. Therefore to correct the emission for redshifting we multiply by 1/(1+z) rather than dividing by 1+z.
-
Médéric Boquien authored
-
- 30 Jan, 2016 4 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
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.
-
Médéric Boquien authored
-
Médéric Boquien authored
Modules were a bit inconsistent how the input parameters are used. It was not always ensured they were the right type, they were sometimes read several times, and finally they were not always obtained from the _init_code() method. This is an attempt to clean that up as much as possible.
-
- 21 Jan, 2016 1 commit
-
-
Médéric Boquien authored
-
- 20 Sep, 2015 1 commit
-
-
Médéric Boquien authored
-
- 31 Aug, 2015 1 commit
-
-
Médéric Boquien authored
-
- 30 Aug, 2015 1 commit
-
-
Médéric Boquien authored
-
- 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.
-
- 26 Aug, 2015 1 commit
-
-
Médéric Boquien authored
To verify whether a variable is among the keys of a dictionary there is actually no need to call the keys() function. A dictionary has a __contains__() member which is called when the “in” keyword is used.
-
- 24 May, 2015 1 commit
-
-
Médéric Boquien authored
-
- 13 Dec, 2014 1 commit
-
-
Médéric Boquien authored
Now that we handle the luminosity and the individual component separately for speed reasons, we must not forget to scale the total luminosity appropriately when redshifting. Otherwise the fluxes in the filters will be overestimated by a factor 1+z.
-
- 15 Oct, 2014 1 commit
-
-
Médéric Boquien authored
Now that we do not add an AGN component anymore when the AGN fraction is 0, the wavelength grid may change from one model to the other. To work around this issue we save the IGM component into a dictionary with the key being the size of the grid. This is not completely foolproof as two grids of same length may have different wavelengths, though that is quite unlikely given pcigale's architecture. It should be good enough for now.
-
- 22 Aug, 2014 1 commit
-
-
Médéric Boquien authored
-
- 01 Jul, 2014 1 commit
-
-
Médéric Boquien authored
-
- 11 Jun, 2014 1 commit
-
-
Médéric Boquien authored
-
- 10 Jun, 2014 3 commits
-
-
BURGARELLA Denis authored
-
Médéric Boquien authored
This reverts commit c160b8f8.
-
BURGARELLA Denis authored
-
- 16 Apr, 2014 1 commit
-
-
Médéric Boquien authored
-
- 15 Apr, 2014 1 commit
-
-
Médéric Boquien authored
-
- 28 Mar, 2014 1 commit
-
-
Médéric Boquien authored
-
- 12 Mar, 2014 1 commit
-
-
Médéric Boquien authored
Make model computations much faster. On a test run we spent 20% of the time just computing the luminosity distance. Now the information is just provided by the redshifting module. If the information is not present we just assume a distance of 10 pc.
-
- 11 Mar, 2014 3 commits
-
-
Médéric Boquien authored
If there is no redshift information, we assumed that the redshift is 0. Also correct a bogus test in the redshifting module.
-
Médéric Boquien authored
Make pdf_analysis parallel. This required important changes. Functions saving data have been moved to the utils.py file. Workers for the parallel processes have been put in workers.py. To make sure we eliminate models incompatible with the age of the universe now the latter is indicated in sed.info for easy access. Ditto for the redshift.
-
Médéric Boquien authored
Change the way redshifts are handled. Now all redshifts are specified in pcigale.ini. To compute the χ², we simply take the models corresponding to the closest χ².
-
- 20 Feb, 2014 1 commit
-
-
Médéric Boquien authored
-