1. 01 Jul, 2013 3 commits
  2. 30 Jun, 2013 1 commit
  3. 29 Jun, 2013 1 commit
  4. 28 Jun, 2013 6 commits
  5. 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
  6. 25 Jun, 2013 1 commit
  7. 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
  8. 14 Jun, 2013 1 commit
  9. 10 Jun, 2013 1 commit
  10. 07 Jun, 2013 2 commits
  11. 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.
      52af6e0f
  12. 23 May, 2013 1 commit
  13. 22 May, 2013 2 commits
  14. 13 May, 2013 2 commits
  15. 10 May, 2013 1 commit
  16. 29 Apr, 2013 2 commits
  17. 23 Apr, 2013 3 commits
  18. 20 Apr, 2013 2 commits
  19. 08 Apr, 2013 1 commit
  20. 03 Apr, 2013 4 commits