1. 15 Jul, 2015 1 commit
    • Yannick Roehlly's avatar
      Use a set for mass_proportional_info · e3a55ce1
      Yannick Roehlly authored
      Using a list to keep the information keys that are proportional to the
      mass leads to problems when forcing the update of a proportional
      information: the key name appears then twice (or more) in the list and
      the information is multiplied twice (or more) by the mass.
      e3a55ce1
  2. 26 May, 2015 1 commit
  3. 25 May, 2015 1 commit
  4. 24 May, 2015 3 commits
  5. 22 May, 2015 3 commits
  6. 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
  7. 20 May, 2015 9 commits
  8. 19 May, 2015 4 commits
  9. 28 Apr, 2015 5 commits
  10. 24 Apr, 2015 7 commits
  11. 06 Apr, 2015 2 commits
  12. 02 Apr, 2015 2 commits