Page MenuHomec4science

test.py
No OneTemporary

File Metadata

Created
Wed, Nov 13, 12:20
#!/usr/bin/env python
import sys
import coolinglib
from numarray import *
Redshift = 0.
Egyspec = array([0.4,0.4,0.4],Float)
Density = array([0.4,0.4,0.4],Float)
Mu,Lambda = coolinglib.cooling(Egyspec,Density,0.76,Redshift)
print Mu
print Lambda
Temperature = array([10,100,1000],Float)
HydrogenDensity = array([1,1,1],Float)
Mu,Ne,Lambda = coolinglib.cooling_from_nH_and_T(Temperature,HydrogenDensity,0.76,Redshift)
print
print Mu
print Ne
print Lambda

Event Timeline