1. 31 Aug, 2015 11 commits
  2. 30 Aug, 2015 6 commits
  3. 29 Aug, 2015 8 commits
  4. 28 Aug, 2015 6 commits
  5. 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
  6. 26 Aug, 2015 4 commits
  7. 25 Aug, 2015 3 commits