NEMO (Stellar Dynamics Toolbox)


NEMO is a toolkit for stellar dynamics. At its core it manipulates an n-body system, but can also derive or compute orbits, derive images and extract tables to take to other analysis systems.

Architecture

NEMO was developed on Sun Workstations, but ports to most Unix like systems. At its core NEMO defines a series of objects and associated header files and libraries to operate on them, and these mirror the data stored in a portable binary name and type tagged XML like format, dubbed structured file. The program tsf in NEMO will show the contents of such a file in a human readable way. Another feature of NEMO is that all its data can be piped from one task into the next, thus creating whole simulations in a simple Unix pipe. For example,
mkplummer - 1000 | snapscale - - vscale=0.5 | hackcode1 - - tstop=10 | snaptrim - - times=10 | snapgrid - - | ccdfits - final.fits
would create a 1000 particle Plummer sphere, scale the velocities down to below virial equilibrium, integrate this for 10 virial times to see it collapse, and take the particle distribution of the last snapshot and turn that into a FITS file to view in another astronomical analysis package.

History

NEMO was conceived and written by Josh Barnes, Piet Hut and Peter Teuben in 1986, at the Institute for Advanced Study, prompted by the wish to have a toolkit built around the just developed Barnes–Hut simulation. NEMO was at the 1994 conference held in Baltimore, MD.
NEMO is still in active use and development, and has been used in many publications. Peter Teuben maintains NEMO, whereas Josh Barnes maintains ZENO, a spin-off from NEMO.