This is an old revision of the document!


Download

The latest version of PyWiFeS is v0.6.0 (which is the official PyWiFeS paper release version), which can be downloaded here:

Previous versions are also being stored here. See Version Notes below for details.

Installation Instructions

Use of the pipeline does not require any installation script to be run. Instead just unpack the tar file into some directory and it will create the following upacked subdirectories:

  • src/ - Data reduction Python modules.
  • doc/ - Documentation on how to “install” the package (including README file) and how to use the metadata preparation script and data reduction script.
  • reference_data/ - Contains the metadata file with baseline wavelength solutions, and is where you should store standard star spectra. We include the SSO extinction curve and standard star spectra from Mike Bessell's ftp site for which you should cite Bessell et al. (1999), and the ESO spectrophotometric standards spectra for which you should site Oke et al. (1990).
  • reduction_scripts/ - Some high-level scripts which go through a full reduction procedure similar to what I myself use, you should feel free to write you own scripts which use the 'pywifes' package to perform your preferred reduction routine.
  • extractor_gui/ - A PyGTK-based GUI used for extracting spectra from hand-selected spaxels, mostly intended for me to be able to extract supernova spectra.

"Installation"

To be able to run the pipeline, you need to do the following:

  1. Add the 'src/' subdirectory to your PYTHONPATH
  2. Tell the code where the reference data is stored by defining the environment variable 'PYWIFES_DIR' to point to the location of the 'reference_data/' directory. Alternatively if you cannot define environment variables (Windows??) then you can update the reference directory location in the file 'src/wifes_metadata.py'.

Software Requirements

The only software dependencies are standard Python modules:

  1. SciPy (note: versions before 0.9 will not work with the interpolation routine used here)

It is strongly recommended to also install matplotlib/pylab in order to view diagnostic plots.

To be able to run the GUI, you will need to have PyGTK installed.

Version Notes

See the PYWIFES_README file for details.