Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79535861
example08.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, Aug 27, 00:12
Size
289 B
Mime Type
text/x-python
Expires
Thu, Aug 29, 00:12 (2 d)
Engine
blob
Format
Raw Data
Handle
20203073
Attached To
rPNBODY pNbody
example08.py
View Options
from
pNbody
import
*
nb
=
Nbody
(
'gadget.dat'
,
ftype
=
'gadget'
)
nb
.
show
(
size
=
(
25
,
25
),
obs
=
None
,
shape
=
(
256
,
256
),
palette
=
'rainbow4'
,
mode
=
'm'
,
view
=
'xz'
,
mn
=
0
,
mx
=
0
,
scale
=
'log'
,
filter_name
=
'gaussian'
,
filter_opts
=
[
1
,
1
],
save
=
'img.fits'
)
Event Timeline
Log In to Comment