1. 30 Jan, 2016 2 commits
    • Médéric Boquien's avatar
      So far no validation was made on the input parameters provided in pcigale.ini.... · e86ffbb3
      Médéric Boquien authored
      So far no validation was made on the input parameters provided in pcigale.ini. This could lead to runtime crashes when an argument took an unexpected value. As we are using the ConfigObj module to handle the configuration file, we can also use the validate module that comes with it. However the standard validation functions are not precise enough in our case. This file defines two validation functions for input parameters, and a new exception that will be used in a subsequent patch.
      e86ffbb3
    • Médéric Boquien's avatar
      Modules were a bit inconsistent how the input parameters are used. It was not... · e40d9852
      Médéric Boquien authored
      Modules were a bit inconsistent how the input parameters are used. It was not always ensured they were the right type, they were sometimes read several times, and finally they were not always obtained from the _init_code() method. This is an attempt to clean that up as much as possible.
      e40d9852
  2. 27 Jan, 2016 3 commits
  3. 26 Jan, 2016 5 commits
  4. 25 Jan, 2016 1 commit
  5. 22 Jan, 2016 1 commit
    • Médéric Boquien's avatar
      Abstract the call to the parameters handler to allow for the creation of... · f7e7d502
      Médéric Boquien authored
      Abstract the call to the parameters handler to allow for the creation of different handlers depending on how the parameters are provided, for instance either a systematic grid by giving then in pcigale.ini or through a file with each line providing a the parameters for a different model. The change is transparent to the rest of pcigale so it does not matter which handler is actually used.
      f7e7d502
  6. 21 Jan, 2016 3 commits
  7. 20 Jan, 2016 2 commits
  8. 19 Jan, 2016 4 commits
  9. 18 Jan, 2016 1 commit
  10. 15 Jan, 2016 1 commit
  11. 14 Jan, 2016 1 commit
    • Médéric Boquien's avatar
      Correct the mass-dependent physical quantities for the difference between the... · 5ea521a4
      Médéric Boquien authored
      Correct the mass-dependent physical quantities for the difference between the redshift of the model and the redshift of the observation. Because the former is rounded to 2 decimal places, there can be a redshift difference of 0.005 (if CIGALE computes the list of redshifts itself). This can lead to differences of more than 0.35 dex at z=0.01 for instance.
      5ea521a4
  12. 18 Dec, 2015 1 commit
  13. 17 Dec, 2015 1 commit
  14. 14 Dec, 2015 1 commit
  15. 11 Dec, 2015 1 commit
  16. 10 Dec, 2015 3 commits
  17. 08 Dec, 2015 1 commit
  18. 07 Dec, 2015 8 commits