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])
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])
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)