<img width=800, align="left", src="images/OI_SiII.png" />
Here are the list of Python dependencies that I know of:
gzipped files are perfectly fine
In [1]:
import imp
xa_path = imp.find_module('xastropy')[1]
spec_fil = xa_path+'/../docs/data/UM669_nF.fits.gz'
I recommend the command line approach, but you can launch from ipython too.
from xastropy.xguis import spec_guis as xxsg
reload(xxsg)
xxsg.run_xspec(spec_fil)
I recommend you generate an alias like this:
alias xspec 'python ~/xastropy/xastropy/xguis/spec_guis.py 1'
Then it is as simple as:
> xspec filename
Here are the current command-line options:
> xspec -h
usage: spec_guis.py [-h] [-zsys ZSYS] [--un_norm] flag file
Parse for XSpec
positional arguments:
flag GUI flag (ignored)
file Spectral file
optional arguments:
-h, --help show this help message and exit
-zsys ZSYS System Redshift
--un_norm Spectrum is NOT normalized
You can overlay a series of vertical lines at standard spectral lines at any given redshift.
You must choose a line-list by clicking one.
Once a line list and redshift are set, type 'v' to launch a Velocity Plot GUI.
You can measure the rest EW of a spectral feature as follows:
You can measure the apparent column via AODM as follows:
In [ ]: