This is an old revision of the document!


Download

The latest version of pywifes is v0.5.0, 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/ - contains the image 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, as well as some reference standard star spectra and the SSO extinction curve from Bessel (1999). NOTE: If you use the '.tab' standard, please cite Bessel 1999 (PASP), if you use the '.dat' standards, please cite Oke et al. 1990 (AJ 99 1621).
  • 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

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

Version Notes

See the PYWIFES_README file for details.