PyRAF

Python-based command language for IRAF
Download

PyRAF Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Space Telescope Science Institute
  • Publisher web site:
  • http://www.stsci.edu
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 2.2 MB

PyRAF Tags


PyRAF Description

Python-based command language for IRAF PyRAF is a command language for IRAF based on the Python scripting language that can be used in place of the existing IRAF CL.PyRAF can run the vast majority of IRAF tasks without any problems. You can display graphics and use interactive graphics and image display tasks as well. You can even run more than 90% of IRAF CL scripts! While many things work the same way as they do in the IRAF CL, there are some differences in how things are done, usually for the better. Currently, the most important difference between PyRAF and the old IRAF CL is that PyRAF allows you to write scripts using a much more powerful language that has capabilities far beyond simply running IRAF tasks.Detailed installation instructions can be found here. Here are some key features of "PyRAF": · Easier script debugging. · Ability to trap errors and exceptions. · Access to all the features of Python. · Python was designed to make it simple to provide access to other software packages written in C or Fortran. For example, it should be comparatively easy to construct scripts that combine IRAF tasks with locally written software and libraries. · For the more adventurous, it is possible to read data arrays and tables directly into Python and manipulate them on the command line (but in our view some improvements are needed before such capabilities will be considered the equal of IDL). Requirements: · Python · stsci-python What's New in This Release: Enhancements: · Aqua Support: PyRAF now supports native OS X (Aqua) execution in a beta capacity (i.e. without the need for an X server). The default on Mac OS X is still to run locally with X, but for those interested users, PyRAF trac ticket #86 describes how to enable the Aqua version. This has now been run on both OSX 10.4 and 10.5.5. · Further changes to TPAR and EPAR were made. TPAR can now "Load" saved .par files (like EPAR), if an appropriate file is found in the 'uparm_aux' directory. This directory may also be specified via the UPARM_AUX environment variable. List- and file-chooser-dialogs were added to TPAR for Load and Save-As, and OSX-specific changes were made for both tasks. Also, TPAR will now support both the older (0.9.7.*) and newer (0.9.8.*) versions of urwid. API change: · The getParam() call for a task now returns the native value instead of a string version, by default. The string version can still be requested however, via a "native=0" argument to the call. Bugs fixed: · PyRAF now correctly handles the situation when home$uparm does not exist. This was causing failures during import, which is confusing to the user. · On OS X, HTML help (from graphics applications, e.g. EPAR) will now use the correct (system-selected) application for displaying HTML, rather than simply trying to call Netscape. · PyRAF will now handle a little better the situation where a user tries a task like 'implot' with non-English locale characters. The character input actions for the task will of course not work in such a case, but the plot will appear without crashing.


PyRAF Related Software