1. 19 Sep, 2015 1 commit
  2. 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
  3. 03 Sep, 2015 1 commit
  4. 02 Sep, 2015 1 commit
  5. 01 Sep, 2015 3 commits
  6. 31 Aug, 2015 9 commits
  7. 30 Aug, 2015 6 commits
  8. 29 Aug, 2015 8 commits
  9. 28 Aug, 2015 6 commits
  10. 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
  11. 26 Aug, 2015 2 commits