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.2.0.tar.gz (92.3 kB view details)

Uploaded Source

Built Distributions

python_casacore-3.2.0-cp37-cp37m-manylinux2010_x86_64.whl (25.3 MB view details)

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

python_casacore-3.2.0-cp36-cp36m-manylinux2010_x86_64.whl (25.3 MB view details)

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

python_casacore-3.2.0-cp35-cp35m-manylinux2010_x86_64.whl (25.3 MB view details)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

python_casacore-3.2.0-cp34-cp34m-manylinux2010_x86_64.whl (25.3 MB view details)

Uploaded CPython 3.4m manylinux: glibc 2.12+ x86-64

python_casacore-3.2.0-cp27-cp27mu-manylinux2010_x86_64.whl (25.2 MB view details)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

File details

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

File metadata

  • Download URL: python-casacore-3.2.0.tar.gz
  • Upload date:
  • Size: 92.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.17.3 setuptools/36.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/2.7.5

File hashes

Hashes for python-casacore-3.2.0.tar.gz
Algorithm Hash digest
SHA256 d48e6202831ef22983961aa14c82294325f71b2fd3e108efaa3c1ca99b7505b5
MD5 8f2d28431e3041d430b67b3ed8ededad
BLAKE2b-256 f9bff0dcf875de1bd39118f8eed20e11543da984873b05bb0908c653f9a69adc

See more details on using hashes here.

File details

Details for the file python_casacore-3.2.0-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: python_casacore-3.2.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.3 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for python_casacore-3.2.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6e1d422b252c907a13e149e442bd16292683b6cab1b64ceea2950dc27118a249
MD5 451443820e17224f5192a1908d5ab01d
BLAKE2b-256 8da3f9f40942a73722a4fa2483a41382cec74dd059db43e8cd140ce907d86580

See more details on using hashes here.

File details

Details for the file python_casacore-3.2.0-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: python_casacore-3.2.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.3 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for python_casacore-3.2.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 15e4a86b2a4faf781338b7bdf27de6088a30b8e22bf75c63b3565fa1e7422813
MD5 17666ac1f7550537151300480afd5494
BLAKE2b-256 60ae89068d354b8b6beeb9fa7036743b60a9bcf0a496385d08d0f30b88af9188

See more details on using hashes here.

File details

Details for the file python_casacore-3.2.0-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: python_casacore-3.2.0-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.3 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for python_casacore-3.2.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9ccc2998f7390d2692bacf5781e1b4ae463526cbec80433b833bee65adb47549
MD5 3a1a54764e5737fc26c83bf0f7f8cc4e
BLAKE2b-256 db5dc277e3789b516488b905d4dcc75c445cb169d059cb04bb8a2ded39b68348

See more details on using hashes here.

File details

Details for the file python_casacore-3.2.0-cp34-cp34m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: python_casacore-3.2.0-cp34-cp34m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.3 MB
  • Tags: CPython 3.4m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for python_casacore-3.2.0-cp34-cp34m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 24ea429994ca0f5e1e121d5f7e5df3a39c15378f1d8f5d23bc86d76a4737ca31
MD5 2cfb9b96515d61d81e6cae7488fb70d7
BLAKE2b-256 ddb29fe9adbefa72500a9401e40b7ca01fd6a9422fd1d7c03b6965d2932b775a

See more details on using hashes here.

File details

Details for the file python_casacore-3.2.0-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: python_casacore-3.2.0-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.2 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for python_casacore-3.2.0-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ddbd10cd22925d440680c7d3e799e0504f5999ce6063d107004ada06acd541bb
MD5 f6e913111999e3771b3e055e369e062e
BLAKE2b-256 56bcd381b8e772e1b147def8d60779bf053f410ac2f293795dd09abb3ce04213

See more details on using hashes here.

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