datapipe/datapipe.py
def tautauTheorycl(self, binned_theoryspec, binned_theory_ells, des_lmin, des_lmax):
        """
        Interpolates a binned patchy reionization spectrum and adds it to the orphics theory object.

        Parameters
        ----------
        binned_theoryspec :
            Patchy reionization spectrum in numpy array.
        binned_theory_ells:
            \ell values that correspond to the patchy reionization values.
            Must be in the correct order to match binned_theoryspec values.
        des_lmin : int
            Minimum \ell value interpolation will stop at.
        des_lmax : int
            Maximum \ell value interpolation will stop at.
        """
        lvals = np.arange(des_lmin, des_lmax)
        f_tautau = interp1d(binned_theory_ells, binned_theoryspec, kind='quadratic', fill_value='extrapolate')
        self.cltautau = f_tautau(lvals)
        self.cltautau *= (2.*np.pi/lvals/(lvals+1.))
        self.theory.loadGenericCls(lvals, self.cltautau, 'tautau', lpad=9000)
        return self.cltautau

        Interpolates a binned patchy reionization spectrum and adds it to the orphics theory object.

        Parameters
        ----------
        binned_theoryspec :
            Patchy reionization spectrum in numpy array.
        binned_theory_ells:
            \ell values that correspond to the patchy reionization values.
            Must be in the correct order to match binned_theoryspec values.
        des_lmin : int
            Minimum \ell value interpolation will stop at.
        des_lmax : int
            Maximum \ell value interpolation will stop at.
        
Interpolates a binned patchy reionization spectrum and adds it to the orphics theory object.
Parameters

binned_theoryspec :
Patchy reionization spectrum in numpy array.
binned_theory_ells:
\ell values that correspond to the patchy reionization values.
Must be in the correct order to match binned_theoryspec values.
des_lmin : int
Minimum \ell value interpolation will stop at.
des_lmax : int
Maximum \ell value interpolation will stop at.
Interpolates a binned patchy reionization spectrum and adds it to the orphics theory object . Parameters binned_theoryspec : Patchy reionization spectrum in numpy array . binned_theory_ells : \ ell values that correspond to the patchy reionization values . Must be in the correct order to match binned_theoryspec values . des_lmin : int Minimum \ ell value interpolation will stop at . des_lmax : int Maximum \ ell value interpolation will stop at .
def tautauTheorycl(self, binned_theoryspec, binned_theory_ells, des_lmin, des_lmax):
        lvals = np.arange(des_lmin, des_lmax)
        f_tautau = interp1d(binned_theory_ells, binned_theoryspec, kind='quadratic', fill_value='extrapolate')
        self.cltautau = f_tautau(lvals)
        self.cltautau *= (2.*np.pi/lvals/(lvals+1.))
        self.theory.loadGenericCls(lvals, self.cltautau, 'tautau', lpad=9000)
        return self.cltautau
def tautauTheorycl ( self , binned_theoryspec , binned_theory_ells , des_lmin , des_lmax ) : lvals = np . arange ( des_lmin , des_lmax ) f_tautau = interp1d ( binned_theory_ells , binned_theoryspec , kind = 'quadratic' , fill_value = 'extrapolate' ) self . cltautau = f_tautau ( lvals ) self . cltautau *= ( 2. * np . pi / lvals / ( lvals + 1. ) ) self . theory . loadGenericCls ( lvals , self . cltautau , 'tautau' , lpad = 9000 ) return self . cltautau
Interpolates a binned patchy reionization spectrum and adds it to the orphics theory object.
Interpolates a binned patchy reionization spectrum and adds it to the orphics theory object .
"""
        Interpolates a binned patchy reionization spectrum and adds it to the orphics theory object.

        Parameters
        ----------
        binned_theoryspec :
            Patchy reionization spectrum in numpy array.
        binned_theory_ells:
            \ell values that correspond to the patchy reionization values.
            Must be in the correct order to match binned_theoryspec values.
        des_lmin : int
            Minimum \ell value interpolation will stop at.
        des_lmax : int
            Maximum \ell value interpolation will stop at.
        """
self
binned_theoryspec
binned_theory_ells
des_lmin
des_lmax