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

Binary wheels

We distribute binary manylinux2010 for Linux, which requires pip > 10.x. To install python-casacore from a binary wheel run:

$ pip install python-casacore

Debian & Ubuntu

python-casacore is now part of Debian and Ubuntu and can be installed using apt:

$ sudo apt-get install python-casacore

Kern

If you want a more up to date version of python-casacore and you are running the latest Ubuntu LTS you can enable the KERN suite repository and install the binary package

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

from source

install these requirements:

On ubuntu you can install these with:

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

    $ pip install --no-binary python-casacore python-casacore
  • or if you are installing from the source repository:

    $ python ./setup.py install
  • If the compilation fails you might need to help the compiler find the paths to the boost and casacore libraries and headers. You can control this with the CFLAGS environment variable. For example on OS X when using homebrew and clang you need to do something like this:

    CFLAGS="-std=c++11 \
            -I/usr/local/Cellar/boost/1.68.0/include/ \
            -I/usr/local/include/  \
            -L/usr/local/Cellar/boost/1.68.0/lib \
            -L/usr/local/lib/" \
            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-3.5.0.tar.gz (98.5 kB view hashes)

Uploaded Source

Built Distributions

python_casacore-3.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

python_casacore-3.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

python_casacore-3.5.0-cp39-cp39-macosx_12_0_arm64.whl (15.5 MB view hashes)

Uploaded CPython 3.9 macOS 12.0+ ARM64

python_casacore-3.5.0-cp39-cp39-macosx_10_15_x86_64.whl (26.5 MB view hashes)

Uploaded CPython 3.9 macOS 10.15+ x86-64

python_casacore-3.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

python_casacore-3.5.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.0 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

python_casacore-3.5.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.0 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

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