Skip to content

Program to co-add 1D-spectra taking into account relative velocity off-sets.

License

Notifications You must be signed in to change notification settings

ezavarygin/wspectrum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Description

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.

Installation

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

Usage

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.

About

Program to co-add 1D-spectra taking into account relative velocity off-sets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages