Python language installations at STScI are maintained by CISD. The line
PACKAGE: PYTHON MUST be uncommented in the user's ~/.envrc file for Python to be avaliable. Currently several versions of Python and external python modules in python/site-packages are installed on the Solaris 8 science cluster. In addition SSG maintains python installations in /usr/stsci. |
System installations:
|
SSG installations:
|
Development tree
|
Solaris 8 science cluster tree
|
To have access to Python, the "PYTHON" package should be activated in the ~/.envrc file. In the examples below "#" should be substituted with the version number of python.
stpythonenv #
For example "stpythonenv 2.1.1" will make python 2.1.1 the default one, (it can be started with the command "python"), will set your PYTHONPATH to /usr/stsci/pyssg/2.1.1, so that the tree will be known to python and will alias pyraf to /usr/stsci/pyssg/2.1.1/pyraf.
stpythonenv #ssg
For example "stpythonenv 2.2ssg" will make python2.2 in /usr/stsci/pyssg the default one, will set your PYTHONPATH to /usr/stsci/pyssg/2.2, and will alias pyraf to /usr/stsci/pyssg/2.2/pyraf.
stpythonenv #ssgdev
For example "stpythonenv 2.2ssgdev" will make python 2.2 the default one, will set your PYTHONPATH to /usr/ra/pyssg/2.2, and will alias pyraf to /usr/ra/pyssg/2.2/pyraf.
Scientific Python v2.2 | In this collection you will find modules that cover basic geometry (vectors, tensors, transformations, vector and tensor fields), quaternions, automatic derivatives, (linear) interpolation, polynomials, elementary statistics, nonlinear least-squares fits, unit calculations, Fortran-compatible text formatting, 3D visualization via VRML, and two Tk widgets for simple line plots and 3D wireframe models. For details consult the |
Stats package | A collection of statistical functions (stats.py v0.6), input/output routines for flat space/tab delimited text files and "flat" binary files (io.py v0.3), list manipulation functions based on the |Stat programs (pystat.py v0.4). |
DISLIN v7.6 | DISLIN is a high-level plotting library for displaying data as curves, bar graphs, pie charts, 3D-color plots, surfaces, contours and maps. |
PySLALIB v0.4 | A Python interface to the SLALIB, the STARlink Astronomical Position Library |
SSG Group STSDAS STScI Home Page · Search · Topics · Index
Copyright © 1997 The Association of Universities for Research in Astronomy, Inc. All Rights Reserved.
Nadia Dencheva, dencheva@stsci.edu