Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

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 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.

Project details


Download files

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

Files for python-casacore, version 3.1.1
Filename, size File type Python version Upload date Hashes
Filename, size python_casacore-3.1.1-cp27-cp27m-macosx_10_10_intel.whl (22.6 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size python_casacore-3.1.1-cp27-cp27mu-manylinux2010_x86_64.whl (25.3 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size python_casacore-3.1.1-cp34-cp34m-manylinux2010_x86_64.whl (25.3 MB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size python_casacore-3.1.1-cp35-cp35m-manylinux2010_x86_64.whl (25.3 MB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size python_casacore-3.1.1-cp36-cp36m-manylinux2010_x86_64.whl (25.3 MB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size python_casacore-3.1.1-cp37-cp37m-macosx_10_10_intel.whl (22.6 MB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size python_casacore-3.1.1-cp37-cp37m-manylinux2010_x86_64.whl (25.4 MB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size python-casacore-3.1.1.tar.gz (92.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page