- 01 Apr, 2015 2 commits
-
-
Médéric Boquien authored
Resample the m2005 stellar models at long wavelengths. The reason is that as the sampling is too sparse, the linear interpolation carried out in cigale creates waves that are not only disgracious but that also artificially boost the broadband fluxes flux. Patch based on previous commit that fixed the same issue for the bc03 models.
-
Médéric Boquien authored
Resample the bc03 stellar models at long wavelengths. The reason is that as the sampling is too sparse, the linear interpolation carried out in cigale creates waves that are not only disgracious but that also artificially boost the broadband fluxes flux.
-
- 30 Mar, 2015 3 commits
-
-
- 25 Mar, 2015 4 commits
- 21 Mar, 2015 1 commit
-
-
Médéric Boquien authored
Large revamp of the SED plotting procedure by Denis and I. Among the main changes: 1. option to plot in mJy in observed frame or un luminosity in rest frame 2. different components are now plotted automatically 3. a logo is now diplayed but can be removed with an option.
-
- 19 Mar, 2015 1 commit
-
-
Médéric Boquien authored
-
- 26 Feb, 2015 1 commit
-
-
Médéric Boquien authored
Commit Denis' change to make sure that pcigale-plots does not crash when pcigale did not find a best fit.
-
- 10 Feb, 2015 1 commit
-
-
Médéric Boquien authored
Add a carriage return after we have computed the last model or analysed the last object so that the information does not get erased.
-
- 03 Feb, 2015 1 commit
-
-
Yannick Roehlly authored
Add the IRAS, SCUBA and VLA filters from Barbara.
-
- 15 Jan, 2015 1 commit
-
-
Yannick Roehlly authored
Add some filters from Barbara.
-
- 07 Jan, 2015 1 commit
-
-
Yannick Roehlly authored
The "galaxy_mass" parameter must not be set to 1.0 in the stellar emission modules because when using CIGALE to generate SED without normalising the 1.0 is wrong and misleading. Instead, we compute the real galaxy mass (the integration of the SFH) in the star formation history modules.
-
- 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.
-
- 10 Nov, 2014 4 commits
-
-
Médéric Boquien authored
Let's avoid using costly np.max() functions on ordered arrays. The max will always be the last element. Also use the fact that the arrays are sorted to select the last 100 elements to compute the average SFR.
-
Médéric Boquien authored
Setters and getters are nice but they come with a significant overhead. Because we initialise class members to None anyway, they should not be needed at all. I leave the setter/getter for the sfh as it is actually doing something more. It now accounts for a non negligible fraction of the runtime though.
-
Médéric Boquien authored
Rather than relying on deepcopy, let's build the new SED objects ourselves. As we know the structure perfectly we can do that much more efficiently. To do se we add a copy() member to the SED class. This function creates a new object and initialises its members with proper copies.
-
Médéric Boquien authored
Call the copy() class member rather than the base numpy function. Quick testing shows it is faster: 1.1 μs vs 2.7 μs for an array of 2000 elements.
-
- 03 Nov, 2014 1 commit
-
-
Médéric Boquien authored
-
- 28 Oct, 2014 1 commit
-
-
Médéric Boquien authored
-
- 27 Oct, 2014 2 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-
- 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.
-
- 14 Oct, 2014 2 commits
-
-
Médéric Boquien authored
If the AGN fraction is 0, then there is no need to add a component to the SED. It would have a value of 0 everywhere. It looks like we gain around 30% in computation time in this case.
-
Médéric Boquien authored
Computing the luminosity each time we integrate in a filter (for instance) is not efficient. As the luminosity is in effect modified in only one place (add_contribution), let's just compute it manually each we add a component. This yields a ~10% improvement.
-
- 09 Oct, 2014 5 commits
-
-
Denis authored
-
Denis authored
-
BURGARELLA Denis authored
-
BURGARELLA Denis authored
-
BURGARELLA Denis authored
-
- 30 Sep, 2014 1 commit
-
-
Médéric Boquien authored
-
- 02 Sep, 2014 1 commit
-
-
Médéric Boquien authored
-
- 29 Aug, 2014 5 commits
-
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Médéric Boquien authored
-
Laure Ciesla authored
-