The program is to co-add 1D-spectra taking into account velocity off-sets between them. It was designed to follow up the result of the voffset software but can, of course, be used independently.
The software was written to work with python 2.7
.
To get started, include the path to the wspectrum
executable file into your system PATH.
That is it, you can run it from any directory on your machine.
Python modules used:
- astropy
- numpy
- sys
- barak
- matplotlib
wspectrum <list of spectra> [--anchor] [--output] [--shift] [--group]
where:
<list of spectra> - List of UVES_popler output files to co-add,
Options:
--anchor - followed with a path to the anchor spectrum. It is not rebinned and its wavelength array is used as reference.
--output - followed with a name of the weighted spectrum.
--shift - followed with a path to the file with velocity off-sets.
--group - print to the screen spectra grouped by (decknames, binning); exit after printing.
--plot - overplot all the spectra including the co-added one.