Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
download_install [2013/09/05 04:28] mjc |
download_install [2015/04/28 05:43] (current) mjc |
==== Download ==== | ==== Download ==== |
The latest version of **pywifes** is v0.5.0, which can be downloaded here: | From version 0.7.0 of PyWiFeS, we have migrated the code to a github repository: |
| [[https://github.com/pywifes]] |
| |
* [[http://www.mso.anu.edu.au/~mjc/wifes_redux/wifes_pypeline_v0.5.0.tar.gz|wifes_pypeline_v0.5.0.tar.gz]] | To download the code, you need to first [[http://git-scm.com/downloads | install git]]. To install the PyWiFeS pipeline itself, create the directory you want to store it in then clone the PyWiFeS git repository with this command: |
| <code> |
| git clone https://github.com/PyWiFeS/pipeline.git |
| </code> |
| |
Previous versions are also being stored [[http://www.mso.anu.edu.au/~mjc/wifes_redux/old_versions/|here]]. See Version Notes below for details. | ==== "Installation" ==== |
| To be able to run the pipeline, you need to do the following: |
==== Installation Instructions ==== | - Add the 'src/' subdirectory to your PYTHONPATH |
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: | - 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'. |
* **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 [[http://www.mso.anu.edu.au/~bessell/FTP/Spectrophotometry/| Mike Bessell's ftp site]] for which you should cite [[http://adsabs.harvard.edu/abs/1999PASP..111.1426B| Bessell et al. (1999)]], and the [[http://www.eso.org/sci/observing/tools/standards/spectra/stanlis.html| ESO spectrophotometric standards]] spectra for which you should site [[http://adsabs.harvard.edu/abs/1990AJ.....99.1621O| 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: | |
- Add the 'src/' subdirectory to your PYTHONPATH | |
- 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: | |
- [[http://numpy.scipy.org/|NumPy]] | |
- [[http://www.scipy.org/|SciPy]] (note: versions before 0.9 will not work with the interpolation routine used here) | |
- [[http://www.stsci.edu/institute/software_hardware/pyfits|PyFITS]] | |
| |
It is //strongly// recommended to also install [[http://matplotlib.org/|matplotlib/pylab]] in order to view diagnostic plots. | |
| |
To be able to run the GUI, you will need to have [[http://pygtk.org/|PyGTK]] installed. | |
| |
==== Version Notes ==== | |
See the [[http://www.mso.anu.edu.au/~mjc/wifes_redux/PYWIFES_README|PYWIFES_README]] file for details. | |