Example #1
0
 def flux2z(self, F):
     """
     Return the redshift such that a standard-candle source
     with have flux F.
     """
     _cosmo.set_ffid(self.F_fid)
     _cosmo.set_lum(self.lum)
     return _cosmo.flux2z(F)
Example #2
0
 def flux2z(self, F):
     """
     Return the redshift such that a standard-candle source
     with have flux F.
     """
     _cosmo.set_ffid(self.F_fid)
     _cosmo.set_lum(self.lum)
     return _cosmo.flux2z(F)
Example #3
0
 def __init__(self, h, O_m, O_lambda, F_fid):
     self.F_fid = F_fid
     _cosmo.set_ffid(F_fid)
     Cosmology.__init__(self, h, O_m, O_lambda)
Example #4
0
 def __init__(self, h, O_m, O_lambda, F_fid):
     self.F_fid = F_fid
     _cosmo.set_ffid(F_fid)
     Cosmology.__init__(self, h, O_m, O_lambda)