cosmotool/python_sample/icgen/gen_ic_from_borg.py

12 lines
296 B
Python
Raw Normal View History

2014-06-01 18:07:44 +02:00
import borgicgen as bic
cosmo={'omega_M_0':0.3175, 'h':0.6711}
cosmo['omega_lambda_0']=1-cosmo['omega_M_0']
cosmo['omega_k_0'] = 0
zstart=50
astart=1/(1.+zstart)
if __name__=="__main__":
bic.write_icfiles(*bic.run_generation("initial_condition_borg.dat", 0.001, astart, **cosmo), **cosmo)