- 27 Jun, 2013 1 commit
-
-
Yannick Roehlly authored
To avoid problems that might occur when, for instance, using an integer instead of a float, we now cast the module parameters to their expected type. This will also have the advantage to raise an error when a parameter can't be interpreted with its expected type. Also, use integer for age parameters as we are now using Myr as unit.
-
- 25 Jun, 2013 1 commit
-
-
Yannick Roehlly authored
Thanks to Médéric Boquien.
-
- 17 Jun, 2013 2 commits
-
-
Yannick Roehlly authored
It's a dictionnary to hold the spectral lines associated with the SED. We use a disctionnary to be able to differentiate several sets of lines (e.g. lines from old and young populations). TODO: Complete the code to add the line contributions to the integrated flux.
-
Yannick Roehlly authored
Rename lumin_contributions to luminosities and use a 2 axis numpy array instead of a list of arrays. This should accelerate some operations. The star formation history is now stored in its own property. TODO: maybe automatically add age and instantaneous SFR to the info dictionnary when setting the SFH.
-
- 14 Jun, 2013 1 commit
-
-
Yannick Roehlly authored
-
- 10 Jun, 2013 1 commit
-
-
Yannick Roehlly authored
To perform the convolution with the SFH, the rate of ionizing photons must not be stored as the log of its value.
-
- 28 May, 2013 1 commit
-
-
Yannick Roehlly authored
Using Gyr leads to some errors when comparing times (because they are no really equals when they shoud). So we switch to the use of Myr as it is the precision for our times. Maybe later, we'll go further and use integers for these values.
-
- 22 May, 2013 2 commits
-
-
Yannick Roehlly authored
-
Yannick Roehlly authored
-
- 13 May, 2013 2 commits
-
-
Yannick Roehlly authored
Rename it to dustatt_calzleit in preparation of a power law module.
-
Yannick Roehlly authored
* Multiplicate the Calzetti-Leitherer continuum by a power law. * Add a UV bump. * The luminosity under 91.2 nm to 0. * Extrapolate the continuum over 2200 nm until attenuation reach 0.
-
- 29 Apr, 2013 2 commits
-
-
Yannick Roehlly authored
By default, an exception is raised when adding an existing key to the info dictionary. Make it possible to bypass this, for instance to add age if we want to combine various SFH.
-
Yannick Roehlly authored
If we redshift a SED using a module, we must not redshift the wavelength to compute the λ, Fν array tuple. Thus we make it optional and not default.
-
- 23 Apr, 2013 3 commits
-
-
Yannick Roehlly authored
-
Yannick Roehlly authored
-
Yannick Roehlly authored
-
- 20 Apr, 2013 1 commit
-
-
Yannick Roehlly authored
-
- 03 Apr, 2013 12 commits
-
-
Yannick Roehlly authored
Convert the warehouse a its own module and use submodules for each "back-end". Also, make the back-end configurable with a parameter of the psum analysis module.
-
Yannick Roehlly authored
It's better (for now) to use only get_from_cache and get None when the object is not cached.
-
Yannick Roehlly authored
-
Yannick Roehlly authored
-
Yannick Roehlly authored
As there is a specific module to redshift the spectrum, do not automatically apply the redshift when computing a flux.
-
Yannick Roehlly authored
Simplify some module names: dh2002_ir > dh2002 sfh_2exp > sfh2exp
-
Yannick Roehlly authored
-
Yannick Roehlly authored
-
Yannick Roehlly authored
Rename m2005_sfh to m2005 as it does not deal with the star formation history.
-
Yannick Roehlly authored
The Marasont 2005 module is modified to use the output of a star formation history module. The SFH is now a complete SFR vs time tuple (taken from the SED information dictionary) and the age of the galaxy is defined by this SFH (the maximum time). The Maraston 2005 data class is also changed to make the convolution in such SFH.
-
Yannick Roehlly authored
-
Yannick Roehlly authored
-
- 27 Feb, 2013 1 commit
-
-
Yannick Roehlly authored
-
- 06 Feb, 2013 4 commits
-
-
Yannick Roehlly authored
s/[Pp]arametre/[Pp]arameter/g s/[Dd]ictionnary/[Dd]ictionary/g
-
Yannick Roehlly authored
A list is added to the SED object to store the key names from the info dictionary whose values are proportional to the galaxy mass. This is used by the statistical module to multiplicate the value by the galaxy mass (correction factor) in the analysis.
-
Yannick Roehlly authored
Dictionary associating to each "output" parameter its description.
-
Yannick Roehlly authored
Suppress the 'unit' part of the tuple associated to each parametre in the parametre_list dictionary of the SED modules. It's not useful. It's better to indicate the unit in the description text.
-
- 16 Dec, 2012 1 commit
-
-
Yannick Roehlly authored
A set must be used to compare the two lists because they may have different orders. Also, add the list of missing parametres and of unexpected parametres to the error message.
-
- 15 Dec, 2012 3 commits
-
-
Yannick Roehlly authored
The effect of the module is _not_ negative!
-
Yannick Roehlly authored
-
Yannick Roehlly authored
The modules can now be named with any prefix using a dot (e.g. dh2002_ir.1). That means that a 'pristine' module can't have a dot in it's name. The add_component SED method was removed. To add components to a sed, add_info, add_module (NEW) and add_contribution (NEW) must be used. The modules now add more information in the sed info dictionary, even the parametres that can be used for the statistical analysis. In particular, mh2005_sfh add the SFR and the average SFR. The sfr variable was renamed to sfh.
-
- 05 Dec, 2012 1 commit
-
-
Yannick Roehlly authored
-
- 25 Nov, 2012 1 commit
-
-
Yannick Roehlly authored
-