Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
download_install [2013/09/06 02:41]
mjc
download_install [2025/07/03 00:56] (current)
onken Add zip option
Line 1: Line 1:
 ==== Download ==== ==== Download ====
-The latest version of **PyWiFeS** is v0.6.0 (which is the official PyWiFeS paper release version)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/pywifes]]
  
-  * [[http://www.mso.anu.edu.au/~mjc/wifes_redux/wifes_pypeline_v0.6.0.tar.gz|wifes_pypeline_v0.6.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 -b main https://github.com/PyWiFeS/pipeline.git 
 +</code> 
 +Or you may download a zip file of the package contents and unpack in your desired location. 
 +==== "​Installation"​ ==== 
 +** Installation for PyWiFeS version 2 has changed substantiallyPlease disregard these instructions and follow those on [[https://pywifes-pipeline.readthedocs.io/en/latest/installation.html|the ReadTheDocs site]].**
  
-Previous versions are also being stored [[http://www.mso.anu.edu.au/~mjc/wifes_redux/old_versions/|here]].  See Version Notes below for details. +To be able to run the pipeline, you need to do the following:   
- +  - Add the 'src/'​ subdirectory to your PYTHONPATH   
-==== Installation Instructions ==== +  - 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'.
-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 [[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.+