needlets.mexicanneedlet

mexicanneedlet(B, j, lmax, p=1, normalised=True)[source]

Return the needlet filter b(l) for a Mexican needlet with parameters B and j.

Parameters
  • B (float) – The parameter B of the needlet, should be larger that 1.

  • j (int or np.ndarray) – The frequency j of the needlet. Can be an array with the values of j to be calculated.

  • lmax (int) – The maximum value of the multipole l for which the filter will be calculated (included).

  • p (int) – Order of the Mexican needlet.

  • normalised (bool, optional) – If True, the sum (in frequencies j) of the squares of the filters will be 1 for all multipole ell.

Returns

A numpy array containing the values of a needlet filter b(l), starting with l=0. If j is an array, it returns an array containing the filters for each frequency.

Return type

np.ndarray