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 thealmfor the filtered map.
- Returns
If
returnalm=False, filtered map in the Healpix format. Ifreturnalm=True, a list with the filtered map and its correspondingalm.- Return type
np.ndarray or [np.ndarray,np.ndarray]