コード例 #1
0
ファイル: gen_mc.py プロジェクト: sdhawan21/euclidIR
        def final_z_dist(self, n, band, sys,ep):
                """
                Output redshift distribution for the Euclid Survey
                
                Inputs: Number of SNe observed by JWST
                        
        
                Output: Redshift distribution
                """

                mag_dist = self.load_dist()[:,1]

                jwst_z_dist = z_sne().obs_redshift_dist(n, band, sys, ep)
                euclid_z_dist = build_lc().z_disc_euclid(band, sys, ep)

                return np.concatenate([euclid_z_dist, jwst_z_dist])
コード例 #2
0
ファイル: gen_mc.py プロジェクト: sdhawan21/euclidIR
    def final_z_dist(self, n, band, sys, ep):
        """
                Output redshift distribution for the Euclid Survey
                
                Inputs: Number of SNe observed by JWST
                        
        
                Output: Redshift distribution
                """

        mag_dist = self.load_dist()[:, 1]

        jwst_z_dist = z_sne().obs_redshift_dist(n, band, sys, ep)
        euclid_z_dist = build_lc().z_disc_euclid(band, sys, ep)

        return np.concatenate([euclid_z_dist, jwst_z_dist])
コード例 #3
0
 def out_mod(self, band, z):
     """
     Inline to set the parameters for a given filter and redshift combination
     """
     return build_lc().set_params(band, z)
コード例 #4
0
ファイル: jwst.py プロジェクト: sdhawan21/euclidIR
 def out_mod(self, band, z):
     """
     Inline to set the parameters for a given filter and redshift combination
     """
     return build_lc().set_params(band, z)