1. 24 May, 2015 3 commits
  2. 22 May, 2015 3 commits
  3. 21 May, 2015 2 commits
    • Médéric Boquien's avatar
      Implement a cache for the computation of the optimal grid when merging two... · 3eb0c388
      Médéric Boquien authored
      Implement a cache for the computation of the optimal grid when merging two grids. As the best_grid() function takes numpy arrays as arguments, it makes caching difficult as they are not hashable. To solve the problem we define a helper function to do the memoisation based on the size, min, and max values of each of the input arrays.
      3eb0c388
    • 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
  4. 20 May, 2015 9 commits
  5. 19 May, 2015 4 commits
  6. 28 Apr, 2015 5 commits
  7. 24 Apr, 2015 7 commits
  8. 06 Apr, 2015 2 commits
  9. 02 Apr, 2015 5 commits