Saving the results

The measurements, as shown in the Spectral fitting results: table can be written out to a text file. Just select the File->Save line fits item and either pick an existing file to overwrite, or enter a new file name. The format of this file is very simple, as shown by the following example:
# File created by SPLAT

# Quick results:
# ID    Peak    Centre  Width   Equiv   Asym
0 -0.5199948 4101.629 8.29817 7.857605 0.10266805484985836

# Gaussian results:
# ID    Peak    Centre  Width   Flux    Rms
0 -0.4720484 4101.636 6.036242 -7.142383 0.03004651

# Lorentzian results:
# ID    Peak    Centre  Width   Flux    Rms
0 -0.5267519 4101.663 3.951835 -9.248467 0.008252344

# Voigt results:
# ID    Peak    Centre  Gwidth  Lwidth  Flux    Rms
0 -0.513331 4101.656 2.099387 9.640681 -8.930931 0.007531246
So each fit type has a section in which the results for each line are shown. Lines are uniquely identified by their ID value.



SPLAT-VO -- A VO-enabled Spectral Analysis Tool
Starlink User Note 243
Peter W. Draper
24 February 2005
E-mail:splat@star.rl.ac.uk

Copyright © 2001-2005 Council for the Central Laboratory of the Research Councils