1. 27 Jun, 2013 1 commit
    • Yannick Roehlly's avatar
      Cast numeric parameters to their correct type · 10165bcc
      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.
  2. 25 Jun, 2013 1 commit
  3. 17 Jun, 2013 1 commit
    • Yannick Roehlly's avatar
      Simplify the SED class · 84ec7cd1
      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.
  4. 14 Jun, 2013 1 commit
  5. 10 Jun, 2013 1 commit
  6. 28 May, 2013 1 commit
    • Yannick Roehlly's avatar
      Use Myr for times · 52af6e0f
      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.
  7. 22 May, 2013 2 commits
  8. 13 May, 2013 2 commits
  9. 23 Apr, 2013 3 commits
  10. 20 Apr, 2013 1 commit
  11. 03 Apr, 2013 8 commits
  12. 27 Feb, 2013 1 commit
  13. 06 Feb, 2013 4 commits
    • Yannick Roehlly's avatar
      Orthographic corrections · b37be08b
      Yannick Roehlly authored
    • Yannick Roehlly's avatar
      Take galaxy mass into account · b545a5bd
      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's avatar
      Add the out_parametre_list · 96621fd6
      Yannick Roehlly authored
      Dictionary associating to each "output" parameter its description.
    • Yannick Roehlly's avatar
      Suppress units from parametre dictonaries · b4f8e071
      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.
  14. 16 Dec, 2012 1 commit
  15. 15 Dec, 2012 3 commits
    • Yannick Roehlly's avatar
      Correct dh2002_ir module · 076acab7
      Yannick Roehlly authored
      The effect of the module is _not_ negative!
    • Yannick Roehlly's avatar
      Correction to m2005_sfh · 8497f530
      Yannick Roehlly authored
    • Yannick Roehlly's avatar
      Allow multiple module use and change the way information are stored in the SED · 5921476d
      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.
  16. 25 Nov, 2012 3 commits