1. 18 Sep, 2018 1 commit
  2. 16 Feb, 2018 1 commit
  3. 25 Jan, 2018 1 commit
  4. 15 Jan, 2018 1 commit
    • Médéric Boquien's avatar
      Fν was computed by calculating Fλ and then converting to Fν, which led to... · d963067f
      Médéric Boquien authored
      Fν was computed by calculating Fλ and then converting to Fν, which led to typical differences in fluxes of typically 1-2% and a bit more for a handful of pathological filters. Now Fν is computed directly and a bit faster. At the same time rather than computing an effective wavelength (which was more a mean wavelength), we compute the pivot wavelength, which is more appropriate when converting between Fν and Fλ.
      d963067f
  5. 23 Dec, 2016 1 commit
  6. 10 Mar, 2016 1 commit
  7. 15 Feb, 2016 1 commit
  8. 12 Feb, 2016 1 commit
  9. 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
  10. 04 Dec, 2015 1 commit
  11. 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
  12. 20 Sep, 2015 1 commit
  13. 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
  14. 30 Aug, 2015 1 commit
  15. 29 Aug, 2015 2 commits
  16. 28 Aug, 2015 1 commit
  17. 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
  18. 26 Aug, 2015 4 commits
  19. 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
  20. 16 Jul, 2015 2 commits
  21. 15 Jul, 2015 3 commits
  22. 25 May, 2015 1 commit
  23. 24 May, 2015 3 commits
  24. 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
  25. 20 May, 2015 2 commits
  26. 24 Apr, 2015 1 commit
  27. 10 Nov, 2014 3 commits