Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92184816
image03.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
Mon, Nov 18, 02:56
Size
321 B
Mime Type
text/x-python
Expires
Wed, Nov 20, 02:56 (2 d)
Engine
blob
Format
Raw Data
Handle
22388995
Attached To
rPNBODY pNbody
image03.py
View Options
#!/usr/bin/env python
from
pNbody
import
*
nb
=
Nbody
(
'../snap.dat'
,
ftype
=
'gadget'
)
obs
=
array
([[
0
,
-
1
,
0
],[
0
,
0
,
0
],[
-
1
,
-
1
,
0
],[
0
,
-
1
,
1
]])
x0
=
None
xp
=
None
alpha
=
0
cut
=
'no'
persp
=
'no'
shape
=
(
512
,
512
)
size
=
(
50
,
50
)
nb
.
show
(
obs
=
obs
,
x0
=
x0
,
xp
=
xp
,
alpha
=
alpha
,
cut
=
cut
,
persp
=
persp
,
shape
=
shape
,
size
=
size
)
Event Timeline
Log In to Comment