(
        self,
        m,
        use_pixel_weights=True,
        lmax=None,
        mmax=None,
        datapath=None,
        verbose=None,
    )
return sphtfunc.alm2map(
            rotated_alm,
            lmax=lmax,
            mmax=mmax,
            nside=pixelfunc.get_nside(m),
        )
Rotate a HEALPix map to a new reference frame in spherical harmonics space

        This is generally the best strategy to rotate/change reference frame of maps.
        If the input map is band-limited, i.e. it can be represented exactly by
        a spherical harmonics transform under a specific lmax, the map rotation
        will be invertible.


        Parameters
        ----------
        m : np.ndarray
            Input map, single array is considered I, array with 3 rows:[I,Q,U]
        other arguments : see map2alm

        Returns
        -------
        m_rotated : np.ndarray
            Map in the new reference frame
Rotate a HEALPix map to a new reference frame in spherical harmonics space
Rotate a HEALPix map to a new reference frame in spherical harmonics space
def rotate_map_alms(
        self,
        m,
        use_pixel_weights=True,
        lmax=None,
        mmax=None,
        datapath=None,
        verbose=None,
    ):
        """Rotate a HEALPix map to a new reference frame in spherical harmonics space

        This is generally the best strategy to rotate/change reference frame of maps.
        If the input map is band-limited, i.e. it can be represented exactly by
        a spherical harmonics transform under a specific lmax, the map rotation
        will be invertible.


        Parameters
        ----------
        m : np.ndarray
            Input map, single array is considered I, array with 3 rows:[I,Q,U]
        other arguments : see map2alm

        Returns
        -------
        m_rotated : np.ndarray
            Map in the new reference frame
        """
        alm = sphtfunc.map2alm(
            m,
            use_pixel_weights=use_pixel_weights,
            lmax=lmax,
            mmax=mmax,
            datapath=datapath,
        )
        rotated_alm = self.rotate_alm(alm, lmax=lmax, mmax=mmax)
        return sphtfunc.alm2map(
            rotated_alm,
            lmax=lmax,
            mmax=mmax,
            nside=pixelfunc.get_nside(m),
        )
def rotate_map_alms ( self , m , use_pixel_weights = True , lmax = None , mmax = None , datapath = None , verbose = None , ) : alm = sphtfunc . map2alm ( m , use_pixel_weights = use_pixel_weights , lmax = lmax , mmax = mmax , datapath = datapath , ) rotated_alm = self . rotate_alm ( alm , lmax = lmax , mmax = mmax ) return sphtfunc . alm2map ( rotated_alm , lmax = lmax , mmax = mmax , nside = pixelfunc . get_nside ( m ) , )