needlets.filtermap

filtermap(mapp, bl, returnalm=False)[source]

Filter the map with an input needlet.

Parameters
  • mapp (np.ndarray) – A Healpy map of the sky.

  • bl (np.ndarray) – A numpy array containing the values of a needlet filter b(l), starting with l=0.

  • returnalm (bool, optional) – If True, the function will also return the alm for the filtered map.

Returns

If returnalm=False, filtered map in the Healpix format. If returnalm=True, a list with the filtered map and its corresponding alm.

Return type

np.ndarray or [np.ndarray,np.ndarray]