def setUp(self): mock.set_loglevel(3) mock.cosmology_set(0.31) self.hod = mock.Hod() self.n = len(self.hod) self.c = [12.0, 0.5, 0.1, 0.05, 0.95, 0.12, 13.0, 1.0, 1.5, 0.15] for i, c in enumerate(self.c): self.hod[i] = c
def setUp(self): mock.set_loglevel(3) mock.cosmology_set(0.31) u = [2, 2, 1, 1, 0, 0, 0, 1, 0] boxsize = 600.0 self.remap = mock.Remap(u, boxsize) # sky ra_range = [30.1, 38.9] dec_range = [-6.0, -4.1] z_range = [0.38889, 1.21239] self.sky = mock.Sky(ra_range, dec_range, z_range) # slice self.slice = mock.Slice(self.remap, self.sky)
def setUp(self): self.z_max = 1.5 mock.set_loglevel(3) mock.cosmology_set(0.31) self.distance = mock.Distance(self.z_max)
def setUp(self): mock.set_loglevel(3) mock.cosmology_set(0.31)
def setUp(self): mock.set_loglevel(3) mock.cosmology_set(0.31) self.ps = mock.PowerSpectrum('../data/planck1_matterpower.dat') self.s = mock.Sigma(self.ps) self.mf = mock.MassFunction(self.s)