xabssys Documentation¶
This ipython Notebook is intended to provide documentation for the linetools GUI named XAbsSysGui.
Enjoy and feel free to suggest edits/additions, etc.
Before Launching the GUI¶
If you are a Mac user, we highly recommend that you set your matplotlib backend from MacOSX to TkAgg (or another option, see backends).
Launching the GUI¶
From the command line (recommended)¶
We recommend you use the script provided with linetools.
Then it is as simple as:
> lt_xabssys spec_file abssys_file
The abssys_file is expected to be a JSON file that contains an AbsSystem (likely written with the write_json method).
Here are the current command-line options:
> lt_xspec -h
usage: lt_xabssys [-h] [-outfile OUTFILE] [-llist LLIST] [--un_norm]
spec_file abssys_file
Parse for XAbsSys
positional arguments:
spec_file Spectral file
abssys_file AbsSys file (JSON)
optional arguments:
-h, --help show this help message and exit
-outfile OUTFILE Output filename
-llist LLIST Name of LineList
--un_norm Spectrum is NOT normalized
From within ipython or equivalent¶
Not yet implemented