def Daccurate(self,z): # Linear growth factor as a function of redshift in the class # cosmology as given by Carrol, Press and Turner (1992) # by integrating their equation 28 in full, using da/dTau as # given by their equation 9. 1e-15 prevents division by zero. a = 1./(1.+z) return 2.5*self.om*self.dadt(a)*(1.+z)*rom(1e-15,a,self.dadtint)
def Daccurate(self, z): # Linear growth factor as a function of redshift in the class # cosmology as given by Carrol, Press and Turner (1992) # by integrating their equation 28 in full, using da/dTau as # given by their equation 9. 1e-15 prevents division by zero. a = 1. / (1. + z) return 2.5 * self.om * self.dadt(a) * (1. + z) * rom( 1e-15, a, self.dadtint)
def intevnc(self, z): return ((self.c / self.h0) * rom(0, z, self.evolution_nocos))
def covol(self, z1, z2): #full-sky comoving volume in shell between z1 and z2 return rom(z1, z2, self.covolfunc)
def pvol( self, z1, z2 ): #proper volume element (dsolidangle) in shell between z1 and z2 return rom(z1, z2, self.pvolfunc)
def dc(self, z): # Comoving distance from now to z return ((self.c / self.h0) * rom(0, z, self.evolution))
def intevnc(self,z): return ((self.c/self.h0)*rom(0,z,self.evolution_nocos))
def covol(self,z1,z2): #full-sky comoving volume in shell between z1 and z2 return rom(z1,z2,self.covolfunc)
def pvol(self,z1,z2): #proper volume element (dsolidangle) in shell between z1 and z2 return rom(z1,z2,self.pvolfunc)
def dc(self, z): # Comoving distance from now to z return ((self.c/self.h0)*rom(0,z,self.evolution))