1. 17 Sep, 2013 7 commits
  2. 16 Sep, 2013 6 commits
  3. 26 Aug, 2013 1 commit
  4. 09 Jul, 2013 5 commits
  5. 08 Jul, 2013 2 commits
  6. 05 Jul, 2013 1 commit
  7. 02 Jul, 2013 4 commits
  8. 01 Jul, 2013 2 commits
  9. 30 Jun, 2013 1 commit
  10. 29 Jun, 2013 1 commit
  11. 28 Jun, 2013 3 commits
    • Yannick Roehlly's avatar
      52107ff3
    • Yannick Roehlly's avatar
      Get rid of process / _process separation · c13de4ed
      Yannick Roehlly authored
      The process method was used to complete and check the parameter
      dictionary before launching the _process one defined in each module. Now
      that the parameters are dealed with at instantiation, this separation is
      no more useful.
      
      Also, modify the attenuation modules to read the filter in the database
      at instantiation.
      c13de4ed
    • Yannick Roehlly's avatar
      Initialise module parameters at instantiation · 1be38e55
      Yannick Roehlly authored
      In order to speed-up module re-use, get the module needs (ssp,
      filters...) out of pcigale database at module instantiation instead of
      doing this everytime "process" is called.
      
      To do that:
      - we must give the module parameters (and proceed with their checking)
      at
        module instantiation.
      - we must add the possibility for each module to have its own
        initialisation code.
      
      In addition, to create the configuration file, we must be able to load
      the modules without any parameter to query them for their parameter
      list.
      
      The bc03, dh2002 and m2005 modules were changed to use this new
      behavior.
      1be38e55
  12. 27 Jun, 2013 3 commits
    • 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.
      10165bcc
    • Yannick Roehlly's avatar
      Correct normalisation factor formula · fea97ceb
      Yannick Roehlly authored
      Thanks to Médéric Boquien.
      The normalisation factor must take into account the error associated
      with each filter flux.
      fea97ceb
    • Yannick Roehlly's avatar
      Use the numpy sum() · b4b4bcd1
      Yannick Roehlly authored
      b4b4bcd1
  13. 25 Jun, 2013 1 commit
  14. 17 Jun, 2013 2 commits
    • Yannick Roehlly's avatar
      Add a lines property to the SED · dd430087
      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.
      dd430087
    • 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.
      84ec7cd1
  15. 14 Jun, 2013 1 commit