NEAT - Nebular empirical analysis tool


neat (Nebular empirical analysis tool) is a code for calculating chemical abundances from emission line spectra of photoionised nebulae. It is designed to be very simple to use, returning robust results with meaningful uncertainties. It was first described in Wesson et al, 2012, and it has been used to determine abundances and conditions for several samples of ionized nebulae (e.g. Stock et al, 2011, Westmoquette et al. 2013, Smith et al. 2014), and also as a testbed for investigating uncertainties (Wesson et al, 2012).



None, binary is in /usr/local/bin


Version 1.8 was installed on Wednesday, 30 March 2016


It comes with test data:
neat /usr/local/rwesson-NEAT-25390bb/example/ngc6543_3cols.dat


requires a 2, 3 or 4 column ASCII file containing a list of emission line fluxes. The file can contain two, three or four columns. If two columns are found, the code assumes they contain the the laboratory wavelength of the line (λ0) and its flux (F). Three columns are assumed to be λ0, F, and the uncertainty on F (ΔF). Four columns are assumed to be the observed wavelength of the line, λobs, λ0, F, and ΔF. The rest wavelengths should correspond exactly to those listed in the file utilities/complete_line_list. The flux column should be a flux per unit wavelength (any units are fine), and the uncertainty on the flux should be given in the same units. Examples can be found in the example/ directory.

Conversion Programs

None required.

Author and References

Roger Wesson

Local Modifications

I changed /usr to /usr/local using

sed -i 's/usr/usr\/local/g' Makefile

then I did the same to all f95 files in ./source using

find . -name "*.f95" -print | xargs sed -i 's/usr/usr\/local/g'

 I had to edit line 399 of filereading.f95, subroutine read_atomic_data(), to allow the filename variable to be 31 characters long instead of 25, 

make clean
make install

and installing to /usr/local worked.

To latex table into a latexable file, add the following lines:



table goes here.....


Related Software

ALFA - automated line fitting algorithm
Rhys Morris
Last modified: Wednesday, 23 March 2016