Table of Contents

Name

snapmnmx - show statistics of snapshot variables

Synopsis

snapmnmx in=snap_in [parameter=value]

Description

snapmnmx produces a table of a number of selected statistics of requested quantities of the bodies in a snapshot. It can also add the selected times to the table.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=in-file
Input file, in snapshot(5NEMO) format [no default].
var=var_list
List of data-items for which statistics will be output; any of the bodytrans(3NEM0) functions can be used in an arbitry expression. The order in the table is the order of the variables given within this keyword, within each selected mode (see next keyword). [default: x,y,z].
mode=mode_list
List modes of output, which can be combined. Valid options are: time, min, max, mean and sigma. Multiple options must be separated by a comma. The columns are printed in the order of the list above. However, the var= is the ‘‘fastest’’ variable of this two dimensional matrix. Example: with the defaults (mode=min,max and var=x,y,z) the program would print xmin, ymin, zmin, xmax, ymax, xmax. [default: min,max].
times=times-string
Time values/intervals of which snapshots should be used. [default: all]
format=format=-string
Format string (in the C language notation) of the output numbers. If no space is used in the format description, the program will add one for you. [default: %g (free format)].

See Also

snapstat(1NEMO) , snaprstat(1NEMO)

Author

Peter Teuben

Files


~/src/nbody/reduc     snapmnmx.c

Update History


16-Apr-91    V1.0: created              PJT
13-may-91    V1.1: added time to mode, added more doc    PJT
8-nov-93    V1.2: using moment.h    PJT


Table of Contents