datapipe/datapipe.py
def flat_lens_sim(self, beam_arcmin=0, noise_uk_arcmin=0, noisep="default", pol=True, incl_tau=False, kappa_ps_fac=1, incl_cbfringe=False):
        """
        Creates orphics object used to produce flat-sky simulations.

        Parameters
        ----------
        beam_arcmin :
            Experiment beam FWHM in arcmin
        noise_uk_arcmin :
            Temperature instrument noise in (\mu)K-arcmin
        noisep :
            Equation used for polarization noise.
        incl_tau : boolean or any true object
            If True, observation simulations will be modulated by a patchy reionization map.
        kappa_ps_fac :
            Factor that will be applied to the \kappa power spectrum.
        """
        if noisep == "default":
            noisep = noise_uk_arcmin * np.sqrt(2.)
        else:
            noisep = noisep

        flsims = lensing.FlatLensingSims(
                self.shape, self.wcs, self.theory, beam_arcmin, noise_uk_arcmin,
                noise_e_uk_arcmin=noisep, noise_b_uk_arcmin=noisep, pol=pol, fixed_lens_kappa=None, incl_tau=incl_tau, kappa_ps_fac=kappa_ps_fac, incl_cbfringe=incl_cbfringe)

        # for use in quadratic estimators
        self.n2d = np.nan_to_num(flsims.ps_noise[0,0])
        self.n2p = np.nan_to_num(flsims.ps_noise[1,1])
        self.kbeam = flsims.kbeam
        return flsims

        Creates orphics object used to produce flat-sky simulations.

        Parameters
        ----------
        beam_arcmin :
            Experiment beam FWHM in arcmin
        noise_uk_arcmin :
            Temperature instrument noise in (\mu)K-arcmin
        noisep :
            Equation used for polarization noise.
        incl_tau : boolean or any true object
            If True, observation simulations will be modulated by a patchy reionization map.
        kappa_ps_fac :
            Factor that will be applied to the \kappa power spectrum.
        
Creates orphics object used to produce flat-sky simulations.
Parameters

beam_arcmin :
Experiment beam FWHM in arcmin
noise_uk_arcmin :
Temperature instrument noise in (\mu)K-arcmin
noisep :
Equation used for polarization noise.
incl_tau : boolean or any true object
If True, observation simulations will be modulated by a patchy reionization map.
kappa_ps_fac :
Factor that will be applied to the \kappa power spectrum.
Creates orphics object used to produce flat - sky simulations . Parameters beam_arcmin : Experiment beam FWHM in arcmin noise_uk_arcmin : Temperature instrument noise in ( \ mu ) K - arcmin noisep : Equation used for polarization noise . incl_tau : boolean or any true object If True observation simulations will be modulated by a patchy reionization map . kappa_ps_fac : Factor that will be applied to the \ kappa power spectrum .
def flat_lens_sim(self, beam_arcmin=0, noise_uk_arcmin=0, noisep="default", pol=True, incl_tau=False, kappa_ps_fac=1, incl_cbfringe=False):
        if noisep == "default":
            noisep = noise_uk_arcmin * np.sqrt(2.)
        else:
            noisep = noisep
        flsims = lensing.FlatLensingSims(
                self.shape, self.wcs, self.theory, beam_arcmin, noise_uk_arcmin,
                noise_e_uk_arcmin=noisep, noise_b_uk_arcmin=noisep, pol=pol, fixed_lens_kappa=None, incl_tau=incl_tau, kappa_ps_fac=kappa_ps_fac, incl_cbfringe=incl_cbfringe)
        self.n2d = np.nan_to_num(flsims.ps_noise[0,0])
        self.n2p = np.nan_to_num(flsims.ps_noise[1,1])
        self.kbeam = flsims.kbeam
        return flsims
def flat_lens_sim ( self , beam_arcmin = 0 , noise_uk_arcmin = 0 , noisep = "default" , pol = True , incl_tau = False , kappa_ps_fac = 1 , incl_cbfringe = False ) : if noisep == "default" : noisep = noise_uk_arcmin * np . sqrt ( 2. ) else : noisep = noisep flsims = lensing . FlatLensingSims ( self . shape , self . wcs , self . theory , beam_arcmin , noise_uk_arcmin , noise_e_uk_arcmin = noisep , noise_b_uk_arcmin = noisep , pol = pol , fixed_lens_kappa = None , incl_tau = incl_tau , kappa_ps_fac = kappa_ps_fac , incl_cbfringe = incl_cbfringe ) self . n2d = np . nan_to_num ( flsims . ps_noise [ 0 , 0 ] ) self . n2p = np . nan_to_num ( flsims . ps_noise [ 1 , 1 ] ) self . kbeam = flsims . kbeam return flsims
Creates orphics object used to produce flat-sky simulations.
Creates orphics object used to produce flat - sky simulations .
"""
        Creates orphics object used to produce flat-sky simulations.

        Parameters
        ----------
        beam_arcmin :
            Experiment beam FWHM in arcmin
        noise_uk_arcmin :
            Temperature instrument noise in (\mu)K-arcmin
        noisep :
            Equation used for polarization noise.
        incl_tau : boolean or any true object
            If True, observation simulations will be modulated by a patchy reionization map.
        kappa_ps_fac :
            Factor that will be applied to the \kappa power spectrum.
        """ # for use in quadratic estimators
self
beam_arcmin
noise_uk_arcmin
noisep
pol
incl_tau
kappa_ps_fac
incl_cbfringe