Table of Contents

**snapsmooth in=***SnapShot(5)**
-file*
**out=***Image(5)**
-file* [parameter=value]

*snaprotate(1NEMO)*
has to be used
first to image any other than a top-view.

*snaptrim(1NEMO)*
has to be used
first to produce an image of any snapshot other than the first in a file.

**in=***SnapShot file*- input file, in
*snapshot(5NEMO)*format [no default, reads first snapshot] **out=***Image file*- output file, in binary
*image(5NEMO)*format [no default]. **sl=***real***slc=***real*- smoothing length will be (distance
to
**k**th nearby-neighbor) ***sl**+**slc**. Note that**slc**is measured in pixels, and is thus dependant on**npix**[default sl is 1, slc is 2.5% of npix] **k=***int*- the smoothing length will be a factor of the
**k**th nearby-neighbor. The program uses a two-D tree structure to store the points, and repeatedly finds the point that encloses the smallest square around the target point, excluding those it has found already until it has found k squares [default is 1]. **realnn=***bool***false**for nearby neighbor approximation,**true**for nearest neighbor (slower) [default**false**]. The nearby-neighbor approximation finds the point that encloses the**k**th smallest square around the target point, while the nearest neighbor algorothm takes the box found by the approximation, enlarges by the amount necessary to enclose a circle inscribing the square, sorts all of the points in the enlarged square by distance and returns the**k**th point.**every=***int*- read every
**everyth**from snapshot for smoothing [default is 1]: this can help speed up processing of the image. **npix=***int*- the number of pixels to a side of the square onto which the program will smooth the image. The program will scale the image onto the array without distorting the image such that all the points will fit, with a margin for spread due to smoothing [default is 100].
**sfunc=***smoothing function name*- the smoothing function is either "gauss" or "spline" (a smooth finite-bounded bell-shaped curve). The surface brightness of the image will be the total mass of the image.
**gaussminval=***real*- minimum value of gaussian (maximum 1.0 at origin) [default 0.01]

~/src/pswisnov/snapsmoothauthor’s original sources

xx-jun-87Braught into systemPSW 12-jul-88small mods for new filestruct and historyPJT