1. 05 Feb, 2016 1 commit
    • Médéric Boquien's avatar
      The optionally saved spectra in the pdf_analysis and savefluxes modules were... · bb2fd787
      Médéric Boquien authored
      The optionally saved spectra in the pdf_analysis and savefluxes modules were saved in the VO-table format. The most important downside is that it is very slow to write to, which proves to be a major bottleneck in the computing speed. To overcome this issue, we rather save the spectra using the FITS formation. Instead of having one file containing the spectra (including the various components) and the SFH in a single file, now we have one file for the spectra and one file for the SFH.
      bb2fd787
  2. 30 Jan, 2016 3 commits
    • Médéric Boquien's avatar
      Change the vague column_list keyword in pcigale.ini to bands. This will... · 097ace21
      Médéric Boquien authored
      Change the vague column_list keyword in pcigale.ini to bands. This will require the user to rebuild their pcigale.ini but that is necessary for the validation anyway so that is the right moment to do so.
      097ace21
    • 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
    • Médéric Boquien's avatar
      Specify the types and the constraints of the input parameters for the SED... · 784a1690
      Médéric Boquien authored
      Specify the types and the constraints of the input parameters for the SED creation modules and the analysis modules. Once validation is activated, the validation module will be able to infer the constraints from the specified information.
      784a1690
  3. 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
  4. 21 Jan, 2016 3 commits
  5. 20 Jan, 2016 1 commit
    • Médéric Boquien's avatar
      Simplify the interface of the analysis modules as it is needlessly restrictive... · e0e09b8c
      Médéric Boquien authored
      Simplify the interface of the analysis modules as it is needlessly restrictive by forcing a precise list of parameters. Different modules do not necessarily need the same information and the need for different input parameters may emerge in the future. To make the interface future-proof, we simply pass the file containing the configuration file. Then each analysis module picks the data it needs from it.
      e0e09b8c
  6. 07 Dec, 2015 1 commit
  7. 04 Dec, 2015 2 commits
  8. 18 Nov, 2015 1 commit
  9. 12 Oct, 2015 1 commit
  10. 11 Oct, 2015 1 commit
    • Médéric Boquien's avatar
      Magic values are a bit of a pain to handle and are not safe. This patch... · 08068e8c
      Médéric Boquien authored
      Magic values are a bit of a pain to handle and are not safe. This patch removes the use of magic values and rather replaces them with NaN whenever appropriate. The logic of the input file stays the same but the magic values are converted internally after reading it so that the rest of the code does not have to deal with that.
      08068e8c
  11. 10 Oct, 2015 1 commit
  12. 20 Sep, 2015 1 commit
  13. 31 Aug, 2015 1 commit
  14. 30 Aug, 2015 3 commits
  15. 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
  16. 24 May, 2015 1 commit
  17. 21 May, 2015 1 commit
    • Médéric Boquien's avatar
      Implement a cache for the filters to compute the fluxes. Rather than passing... · 38e7f35b
      Médéric Boquien authored
      Implement a cache for the filters to compute the fluxes. Rather than passing the transmission table as an argument to compute_fnu(), which makes caching difficult and/or slow to compute the hash, we rather pass the filter name. Then the SED object fetches the filter from the database and resamples it on the optimal wavelength grid. The result is stored in cache to avoid carrying out this operation repeatedly.
      38e7f35b
  18. 20 May, 2015 1 commit
  19. 24 Apr, 2015 3 commits
  20. 10 Feb, 2015 1 commit
  21. 30 Sep, 2014 1 commit
  22. 16 Apr, 2014 1 commit