(self, alm, lmax=None, mmax=None, inplace=False)
Rotate Alms with the transform defined in the Rotator object

        see the docstring of the rotate_alm function defined
        in the healpy package, this function **returns** the rotated alms,
        does not rotate in place
Rotate Alms with the transform defined in the Rotator object
Rotate Alms with the transform defined in the Rotator object
def rotate_alm(self, alm, lmax=None, mmax=None, inplace=False):
        """Rotate Alms with the transform defined in the Rotator object

        see the docstring of the rotate_alm function defined
        in the healpy package, this function **returns** the rotated alms,
        does not rotate in place"""

        if not inplace:
            rotated_alm = alm.copy()  # rotate_alm works inplace
        else:
            rotated_alm = alm
        rotate_alm(rotated_alm, matrix=self.mat, lmax=lmax, mmax=mmax)
        if not inplace:
            return rotated_alm
def rotate_alm ( self , alm , lmax = None , mmax = None , inplace = False ) : if not inplace : rotated_alm = alm . copy ( ) # rotate_alm works inplace else : rotated_alm = alm rotate_alm ( rotated_alm , matrix = self . mat , lmax = lmax , mmax = mmax ) if not inplace : return rotated_alm