1. 10 Mar, 2016 1 commit
  2. 15 Feb, 2016 1 commit
  3. 12 Feb, 2016 1 commit
  4. 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
  5. 04 Dec, 2015 1 commit
  6. 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
  7. 20 Sep, 2015 1 commit
  8. 10 Sep, 2015 1 commit
    • Médéric Boquien's avatar
      Ensure that the .fnu @property returns a result even if the redshifting module... · cb56b290
      Médéric Boquien authored
      Ensure that the .fnu @property returns a result even if the redshifting module has not been applied. By default in that case we assume a distance of 10 parsecs. Note that as the redshifting module is mandatory (it is needed to apply the IGM absorption, which has a small effect even at z=0 with this formula), it should not happen. Issue found by Yannick Roehlly.
      cb56b290
  9. 30 Aug, 2015 1 commit
  10. 29 Aug, 2015 2 commits
  11. 28 Aug, 2015 1 commit
  12. 27 Aug, 2015 2 commits
    • Médéric Boquien's avatar
      As python evaluates expressions from the left to the right, put the vector in... · 8f51e634
      Médéric Boquien authored
      As python evaluates expressions from the left to the right, put the vector in the rightmost position so that we do not multiply it with a scalar several times.
      8f51e634
    • Médéric Boquien's avatar
      When computing the flux in filters, np.trapz() become the bottleneck of the... · ce4d814d
      Médéric Boquien authored
      When computing the flux in filters, np.trapz() become the bottleneck of the code. A large part of the time is spent on safeguards and on operations for nD arrays. However in our specific case we only have 1D arrays. Also we can cache some computed variables, for instance dx which only depends on the wavelength sampling. We do that employing the same key that is used for caching the best sampling of each filter in compute_fnu(). That way the caches are consistent. The key is based on the size of the wavelength grid, the name of the filter, and the redshift.
      ce4d814d
  13. 26 Aug, 2015 4 commits
  14. 23 Jul, 2015 1 commit
    • Yannick Roehlly's avatar
      SFH_quenching module · a303838b
      Yannick Roehlly authored
      Addition of a new module performing a quench on the star formation
      history.  We must change a little the SED object to allow the
      modification of the SED.
      a303838b
  15. 16 Jul, 2015 2 commits
  16. 15 Jul, 2015 3 commits
  17. 25 May, 2015 1 commit
  18. 24 May, 2015 3 commits
  19. 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
  20. 20 May, 2015 2 commits
  21. 24 Apr, 2015 1 commit
  22. 10 Nov, 2014 4 commits
  23. 14 Oct, 2014 1 commit
  24. 22 Aug, 2014 2 commits
  25. 21 Aug, 2014 1 commit