healpy.pixelfunc.fit_dipole¶
-
healpy.pixelfunc.
fit_dipole
(m, nest=False, bad=None, gal_cut=0)¶ Fit a dipole and a monopole to the map, excluding bad pixels.
Parameters: m : float, array-like
the map to which a dipole is fitted and subtracted, accepts masked maps
nest : bool
if
False
m is assumed in RING scheme, otherwise map is NESTEDbad : float
bad values of pixel, default to
UNSEEN
.gal_cut : float
pixels at latitude in [-gal_cut;+gal_cut] degrees are not taken into account
Returns: res : tuple of length 2
the monopole value in res[0] and the dipole vector (as array) in res[1]
See also