Table of Contents


snapmnmx - show statistics of snapshot variables


snapmnmx in=snap_in [parameter=value]


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.


The following parameters are recognized in any order if the keyword is also given:
Input file, in snapshot(5NEMO) format [no default].
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].
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].
Time values/intervals of which snapshots should be used. [default: all]
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)


Peter Teuben


~/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