HTML automatically generated with rman
Table of Contents

Name

uns_2dplot - create a 2D image of an UNS file

Synopsis

uns_2dplot in=uns_file select=range-or-component [parameter=value] ...

Description

uns_2dplot reads an UNS snapshot and plot a 2D image of the particles positions. Each particles are smoothed by a gaussian and colored according to a logscale colormap. The final effect give the illusion that the object has been colored by density. The rendering that you get, looks like the one you get with glnemo2(see man glnemo2) on gas particles.

The computation of all gaussian is multithreaded and the number of threads used can be selected from the command line.

Parameters

The following parameters are recognized.
in=uns input file
Currently, the following input files are supported: Nemo regular, Nemo piped, Gadget3, Gadget2, Gadget1, Ramses, list of files
select=select-particles
Select particles. Sets of particles must be selected using the : range operator, separated by a comma. E.g. select=0:9,10:19 would select two sets of 10 particles, or by component (gas,halo,stars,bulge,disk,bndry) [all]
prop=roperties to display (metal,age,temp,rho)
In case of structured snapshots like Gagdet or Ramses, you can select the properties you want to display (metal,age,temp,rho). By default it displays accumulated density of particles in the light of see.
psort=sort properties
sort properties according to 0:none, 1:min, 2:max. The default is [0] no sorting.
dev=output-image-file
you specify here the output name of the image which will be automatically saved in GIF format. If you give only the character ’?’, PGPLOT will ask you, interactively, in which format you would like to save the image [?]
times=time-range
Select time [all]
range=range-for-all-axis
give the same range for all x,y and z axis. [-range:range], default none.
xrange=x-axis-range
Range of values for the X axis, specified with a pair of numbers separated by a colon. The default range is [-35.0:35.0].
yrange=y-axis-range
zrange=z-axis-range
xy=display-xy-plan?
select as true if you want to display particles in XY plan. Default is [t].
xz=display-xz-plan?
select as true if you want to display particles in XZ plan. Default is [t].
zy=display-zy-plan?
select as true if you want to display particles in ZY plan. Default is [f].
com=center-of-mass?
center according to center if mass. Default is [t].
hsml=use hydro smooth length
Use hydro smooth length if exists, default [f] false
cb=toggle color map
default is false [f]
cmap=select color map
available color maps 0:rainbow, 1:heat, 2:gray, default is [0]
itf=image transfer function
image transer function 0:linear, 1:logarithmic, 2:square-root, default [1]
sview=single-display-view?
if true, only one image will be created for all requested plan xy|xz|zy. If false, and if a name is given to ’dev’ parameter, then a separated gif file will be created for each plan xy|xz|zy. Default is [t].
title=image-title
give here a title for the image
pfname=rint-file-name?
if true, simulation’s filename will be displayed, default [t]
no=index-image-offset
specify the filename index offset of the image, default [0]
pixel=gaussian-pixel-size
size in pixel of the gaussian [20]
dimx=internal-width
internal image width in pixels [1024]
dimy=internal-height
internal image height in pixels [1024]
gp=gaussian-parameter
gaussian parameter [5]
threads=#threads-used
number threads used for the computation [2]
verbose=verbose?
display some verbose log [f]

See Also

snapplot(1NEMO) , snapgrid(1NEMO) , snapshot(5NEMO) , glnemo2(1NEMO) , uns_projects(1NEMO)
https://projets.lam.fr/projects/unsio/wiki

Author

Jean-Charles LAMBERT

History


09-Nov-10    V1.0 public release    JCL
17-Mar-20    V2.0 bugs fixes        JCL


Table of Contents