Skip to main content

Pythonic interface to IRAF that can be used in place of the existing IRAF CL

Project description

Pyraf release Pyraf CI Status PyRAF Coverage Status Documentation Status

PyRAF is a command language for running IRAF tasks in a Python like environment. It works very similar to IRAF, but has been updated to allow such things as importing Python modules, starting in any directory, GUI parameter editing and help. Most importantly, it can be imported into Python allowing you to run IRAF commands from within a larger script.

Installation

To install PyRAF, it is required to have both IRAF and Python already installed. For the IRAF installation, both a self-compiled and a binary IRAF package (f.e. in Ubuntu) will work.

The IRAF installation should have a properly configured environment, especially the iraf environment variable must be set to point to the IRAF installation directory (i.e. to /usr/lib/iraf/ on Ubuntu or Debian systems). On multi-arch IRAF installations, the IRAFARCH environment variable should specify the architecture to use. This is usually already set during the IRAF installation procedure.

The minimal Python required for PyRAF is 3.6, but it is recommended to use the latest available version. An installation in an virtual environment like venv or conda is possible.

The package can be installed from PyPI with the command pip3 install pyraf. Note that if no binary installation is available on PyPI, the package requires a compilation, so aside from pip3, the C compiler and development libraries (on Linux libx11-dev) should be installed.

Contributing Code, Documentation, or Feedback

IRAF and PyRAF can only survive by the contribution of its users, so we welcome and encourage your contributions. The preferred way to report a bug is to create a new issue on the PyRAF GitHub issue page. To contribute patches, we suggest to create a pull request on GitHub.

License

PyRAF is licensed under a 3-clause BSD style license - see the LICENSE.txt file.

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyraf-2.2.1.tar.gz (602.0 kB view details)

Uploaded Source

File details

Details for the file pyraf-2.2.1.tar.gz.

File metadata

  • Download URL: pyraf-2.2.1.tar.gz
  • Upload date:
  • Size: 602.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/32.0 requests-toolbelt/0.9.1 requests/2.25.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.8 CPython/3.9.11

File hashes

Hashes for pyraf-2.2.1.tar.gz
Algorithm Hash digest
SHA256 f11ac0d212dd21f1731a9d39476b96d15cf144aa66e7a66c101ebf05ff7ee1bd
MD5 b609f7dc0eddc01dd072bf31672b7320
BLAKE2b-256 fac48ed207997ec8bdc83fb2725ff2c71a462929b117eb49a52d0f07a5dd22b7

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page