1. 14 Aug, 2019 1 commit
  2. 13 Aug, 2019 1 commit
  3. 12 Aug, 2019 1 commit
  4. 11 Jun, 2019 1 commit
  5. 31 Jan, 2019 1 commit
  6. 26 Apr, 2018 1 commit
  7. 27 Mar, 2017 1 commit
  8. 08 Mar, 2017 2 commits
  9. 22 Dec, 2016 1 commit
  10. 08 Dec, 2016 1 commit
  11. 28 Jul, 2016 2 commits
  12. 30 Jan, 2016 1 commit
    • Médéric Boquien's avatar
      Pratical implementation of the validation of the parameters. The patch is... · 0d883320
      Médéric Boquien authored
      Pratical implementation of the validation of the parameters. The patch is quite long as it has a direct effect on the structure of the configuration dictionary. The validation has the advantage of automatically convert the parameters to the right type. Therefore rather than building a dictionary ourselves, we rather use the ready-made dictionary from ConfigObj. Because the names of the sections are not the same, quite a bit of code had to be adapted. Finally, note that the validation file containing the specification of each variable, pcigale.ini.spec, is created while building the pcigale.ini file. Also because it is needed to convert the data to the right type, one cannot run cigale without a correct validation file.
      0d883320
  13. 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
  14. 28 Aug, 2015 1 commit
    • Médéric Boquien's avatar
      We rely on OrderedDict to keep the order of the parameters. However given the... · 14b34462
      Médéric Boquien authored
      We rely on OrderedDict to keep the order of the parameters. However given the way the code is structured currently, there is really no reason for this. So let's just switch to the standard dictionary. This has two advantages. First the standard dictionary is much faster than OrderedDict (implemented in C rather than in pure python). Then, standard dictionaries are marshalable, which makes them usable as keys for other dictionaries.
      14b34462
  15. 24 May, 2015 1 commit
  16. 22 May, 2015 1 commit
  17. 30 Sep, 2014 1 commit
  18. 14 May, 2014 1 commit
  19. 21 Apr, 2014 1 commit
  20. 14 Apr, 2014 1 commit
  21. 29 Mar, 2014 4 commits
  22. 23 Mar, 2014 1 commit
    • Médéric Boquien's avatar
      Improve memory management. Several techniques are used. First, we use arrays... · 83e13558
      Médéric Boquien authored
      Improve memory management. Several techniques are used. First, we use arrays in shared memory when computing the SEDs (this should also be done for the analysis later). This avoids using temporary objects that have to be sent back into a list from pool.starmap. Second, we do not save the sed.info data until the best sed has been computed. Only then we recompute the SED to get the info. Third, the list of changed parameters for cache cleaning was too big. It contained the key and the value of the changed parameter to identify models to be discarded. Now we simply return an array of integers giving the index of the module to be discarded. Much simpler, much smaller. There are also some small improvements here and there that I probably forget. The main culprit now is by far the list of parameters. It gets horribly big. 3.5 GB for 30M models. Anyway, now pcigale runs with 30M models.
      83e13558
  23. 11 Mar, 2014 1 commit