faster_integral_efficiency#

cosmicjellyfish.LSSsurvey.photo_obs.faster_integral_efficiency(i, ngal_func, comoving_func, zarr)[source]#

function to do the integration over redshift that shows up in the lensing kernel

Parameters:
  • i (int) – index of the redshift bin for which the lensing kernel should be computed

  • ngal_func (callable) – callable function that returns the number density distribution of galaxies. Should be a function of the redshift bin index i as an int and the redshift z as a numpy.ndarray

  • comoving_func (callable) – callable function that returns the comoving distance. Should beb a function of the redshift z as a numpy.ndarray

  • zarr (numpy.ndarray) – 1d array of all redshifts z that should be used as integration points.

Returns:

callable function that receives a numpy.ndarray of requested redshifts and returns the lensing efficiency for the i-th bin as a numpy.ndarray

Return type:

callable