Skip to main content

A wrapper around CASACORE, the radio astronomy library

Project description

python-casacore

Python-casacore is a set of Python bindings for casacore, a c++ library used in radio astronomy. Python-casacore replaces the old pyrap.

The python-casacore documentation can be found on casacore.github.io/python-casacore.

https://travis-ci.org/casacore/python-casacore.svg?branch=master https://coveralls.io/repos/github/casacore/python-casacore/badge.svg?branch=master

Installation

Ubuntu 16.04

The easiest way to start using python-casacore is to enable the KERN suite repository and install the binary package

$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:kernsuite/kern-1
$ sudo apt-get update
$ sudo apt-get install python-casacore

from source

install these requirements:

On ubuntu you can install these with:

  • enable the KERN suite

  • install build dependencies:

    $ apt-get install libcasacore2-dev python-numpy \
        python-setuptools libboost-python-dev libcfitsio3-dev
  • compile and install:

    $ python ./setup.py install
  • if you need to supply compile parameters, for example if you have your casacore library installed in a different location have a look at the build_ext help:

    $ python ./setup.py build_ext -h

    For example, if casacore is installed in /opt/local/, you can specify the library path and include path with:

    $ python ./setup.py build_ext -I/opt/local/include -L/opt/local/lib
    
    $ python ./setup.py install

Using pip

python-casacore is also available trough pip. Note that you need to manually satisfy the requirements mentioned above:

$ pip install python-casacore

Support

if you have any problems, suggestions or questions please open an issue on the python-casacore github issue tracker.

Credits

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

python-casacore-2.2.0.tar.gz (98.0 kB view details)

Uploaded Source

File details

Details for the file python-casacore-2.2.0.tar.gz.

File metadata

File hashes

Hashes for python-casacore-2.2.0.tar.gz
Algorithm Hash digest
SHA256 87daa14d789c7148437b355197a454ef726f13ef5ef35f60211b7d23d0715c29
MD5 dfcde25a47c848bdb3e3c054e8c995f1
BLAKE2b-256 63c2e7e7bae982b977272bab7cd5bc5592e0586ee429c2a762b51cbcb313bd9c

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