Table of Contents


keywords - list of standard keywords in NEMO.


Some keywords in NEMO have a ‘‘reserved’’ meaning. Thus, if the meaning of a desired keyword can be found in the description below, you should use that keyword given with that description. They often come with associated subroutines which aid in parsing, making it’s parsing (and error messages) even more uniform to users. It significantly eases the pain of users if keywords are used consistently. Also, parsing rules should be the same. For example xrange always has two numbers, separated with a :, although it could also use :max or min:, where in these cased 0 is meant for the number not specified.

The ? in the keywords below denotes any character, e.g. xrange and yrange both apply to the comments under


Any input file (snapshot, image, table, orbit, fits)
Any output file, though not necessarely the same as the in= format if used in the same program. Conversion programs are notorious for this.
Selection of times: all or t1:t2,t3,..., frequently used in snapshots (and orbits?). Note that this keyword is the one where the nemoinp parsing rules do not apply.
Two numbers, separated by a colon, to select a min and max x1:x2 {x,y,z,}
Expression (normally used in bodytrans variables) {x,y,z,e,f,}
Columns {x,y}
Labels with a graph {x,y}
Number of tickmarks an on axis in a graph {x,y}
Location of a box on graph. Two numbers, separated by a colon. The location is in yapp units, i.e. cm, ranging from 0 to 20 on a full plot. {x,y}
Tickmark values, that belong to an axis. By default the number of tickmarks (n?ticks and their range (?range) will determine the tickmark values, but the user can also supply his own array. It must be a comma separated array, normal nemoinp parsing rules apply. {x,y}.
Rejection level of of points from a distribution where points that are outside nsigma times the current sigma from the mean. Often sigma is recomputed after a point has been rejected, since they tend to bias the computation of sigma.
Visibility of points, used in snapplot and clones. Must evaluate as an integer, 0 meaning no visible, anything else is.
Random verbiage, often added to a datafile, or labeling graphs.
Random number seed. If 0 is used, the time of the day is used as seed. Most programs should use 0 is the default.
Name of a potential(5NEMO) descriptor; normally required, rarely a default is given.
Parameters of a potential(5NEMO) descriptor; The first one is always the pattern speed. Defaults depend on potname=.
Optional datafiles belonging to a potential(5NEMO) descriptor. If it’s used or if a default is allows, depends on potname=.
Number of bodies used in nbody creators. Some ancient programs will use ndisk=.
Gravitational softening length, in the usual meaning (1/sqrt(r^2 + eps^2)).
(Integration) frequency, 1/t
Final time of integration.
Selections of options, minimum match should be applied here. Options are separated by comma’s.


The following example extracts a list of all used keywords used in NEMO, assuming the $MIRPDOC database is up to date.
  grep %A $NEMODOC/*.doc | awk ’{print $2}’ | sort | uniq -c | more
and sorted by frequency
  grep %A $NEMODOC/*.doc | awk ’{print $2}’ | sort | uniq -c | sort -nr | more

See Also

getparam(3NEMO) , nemoinp(3NEMO)


Peter Teuben


program.def      keyword database used in advanced help=

Update History

12-jun-92    document created      PJT
14-nov-93    minor updates        PJT
7-jun-01      more keywords        PJT

Table of Contents