the cosmo module¶
- pNbody.cosmo.A_z(z)¶
a(z)
- pNbody.cosmo.Adot_a(a, pars={'Hubble': 0.100000001545942, 'HubbleParam': 0.73, 'Omega0': 0.24, 'OmegaLambda': 0.76})¶
da/dt
- pNbody.cosmo.Age_a(a, pars={'Hubble': 0.100000001545942, 'HubbleParam': 0.73, 'Omega0': 0.24, 'OmegaLambda': 0.76})¶
cosmic age as a function of a Return a physical value (free of h) in Gyrs
- pNbody.cosmo.CosmicTime_a(a, pars={'Hubble': 0.100000001545942, 'HubbleParam': 0.73, 'Omega0': 0.24, 'OmegaLambda': 0.76})¶
cosmic time as a function of a in internal units, ie, (1/h)
- pNbody.cosmo.Hubble_a(a, pars={'Hubble': 0.100000001545942, 'HubbleParam': 0.73, 'Omega0': 0.24, 'OmegaLambda': 0.76})¶
H(a)
- pNbody.cosmo.Rho_c(localsystem_of_units)¶
Critical density
- pNbody.cosmo.Z_a(a)¶
z(a)
- pNbody.cosmo.a_CosmicTime(t, pars={'Hubble': 0.100000001545942, 'HubbleParam': 0.73, 'Omega0': 0.24, 'OmegaLambda': 0.76}, a0=0.5)¶
return a for a given cosmic time
- pNbody.cosmo.dt_da(da, a, pars={'Hubble': 0.100000001545942, 'HubbleParam': 0.73, 'Omega0': 0.24, 'OmegaLambda': 0.76})¶
dt from da in units of 1/Hubble
- pNbody.cosmo.setdefault()¶
set default cosmological parameters