In [5]:
import background
In [6]:
x = background.background(.7, .02, 1.0e-5, 0, 10.25)
y = background.background(.7, .02, 1.0e-5, 2, 10.25)
y.z0
Out[6]:
In [7]:
y.hubble(5)
Out[7]:
In [8]:
z = linspace(0,10,10000)
plot(z, [x.hubble(i) for i in z])
plot(z, [y.hubble(i) for i in z])
figure()
plot(z, array([x.hubble(i) for i in z])/array([y.hubble(i) for i in z]))
Out[8]:
In [9]:
x.hubble(5)
Out[9]:
In [ ]: