Skip to content

Installing PySALT Development Version

Steve Crawford edited this page Apr 4, 2014 · 1 revision

Installation of the PySALT development version:

[0] This package requires IRAF version 2.12.2 or later.

[1] The package is distributed via the SALT PySALT repository on github. A read-only version of the software is downloadable using the following instructions:

     mkdir pysalt
     cd pysalt  
     git clone https://github.com/saltastro/pysalt

[2] To install the package to run in PyRAF, add the following line to your user login.cl:

    reset pysalt = "[PATH to PySALT DIRECTORY]/pysalt/"
    task  pysalt.pkg   = "pysalt$pysalt.cl"
    reset helpdb    = (envget("helpdb") // ",pysalt$lib/helpdb.mip")

changing [PATH]/pysalt to point to the location you downloaded pysalt

[3] [OPTIONAL] Change directory to where your iraf login script 'login.cl' is located, and rerun the 'mkiraf' script, re-initilializing the uparm parameter files. Since this overwrites the login.cl file, you again need to add the lines above to login.cl

[4] Start PyRAF. The PySALT packages should then be available by typing 'pysalt'.

[5] Please use the SALT help desk for submitting questions: [email protected]