def _expand(self, coeffsin, nmax):
        """
        Determine the Slepian expansion coefficients of a function.
        """
        falpha = _shtools.SlepianCoeffs(self.tapers, coeffsin, nmax)

        return SlepianCoeffs(falpha, self)
Determine the Slepian expansion coefficients of a function.