Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F75021613
test.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 30, 22:46
Size
295 B
Mime Type
text/x-python
Expires
Thu, Aug 1, 22:46 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19471581
Attached To
rPNBODY pNbody
test.py
View Options
#!/usr/bin/env python
import
sys
import
cosmolib
from
numpy
import
*
LITTLEH
=
0.73
Omega0
=
0.24
OmegaLambda
=
0.76
Hubble
=
0.1
'''
as = array([0.,0.1,0.2,0.5,1.])
print Omega0,OmegaLambda,Hubble
'''
as
=
array
([
0
],
float
)
print
cosmolib
.
Age_a
(
as
,
Omega0
,
OmegaLambda
,
Hubble
)
*
0.978
/
LITTLEH
Event Timeline
Log In to Comment