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

Uploaded Source

Built Distributions

python_casacore-3.3.0-cp37-cp37m-manylinux2010_x86_64.whl (25.6 MB view details)

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

python_casacore-3.3.0-cp36-cp36m-manylinux2010_x86_64.whl (25.6 MB view details)

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

python_casacore-3.3.0-cp35-cp35m-manylinux2010_x86_64.whl (25.6 MB view details)

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

python_casacore-3.3.0-cp34-cp34m-manylinux2010_x86_64.whl (25.6 MB view details)

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

python_casacore-3.3.0-cp27-cp27mu-manylinux2010_x86_64.whl (25.5 MB view details)

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

File details

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

File metadata

  • Download URL: python-casacore-3.3.0.tar.gz
  • Upload date:
  • Size: 100.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7

File hashes

Hashes for python-casacore-3.3.0.tar.gz
Algorithm Hash digest
SHA256 e682940c50e6dbeb4e4a3301e3e15cd89774ce6849dfc1b6602b6663c058213b
MD5 ee1ff908e498bca50a585b70c2278406
BLAKE2b-256 1fa2928da18183580be9e40a63c03b5892b6eb96a3bd679cd0680cc703f3351a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_casacore-3.3.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.6 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8

File hashes

Hashes for python_casacore-3.3.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0a08d55930b15e6f72e751c907041a0e9b6c18a899ec3fe8370179c31062e125
MD5 0a7e6845f8a62d4cfa3f0e67a31d1388
BLAKE2b-256 f2cc8abcbbc429292c47ac5bbf4ca180c86d9a881c953cec4f3b2e4944eaa5a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_casacore-3.3.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.6 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8

File hashes

Hashes for python_casacore-3.3.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f6c9159cec147c0ac60dd06cbe77d849233e9e1f0c6add0266884b0935ee4e38
MD5 4d81e13fb1fd3c87b666a60bd65f755c
BLAKE2b-256 f20a3eb3fff5d293ae67dbda02305e7623cbaa86884166d2f6f1900fb5605183

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_casacore-3.3.0-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.6 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8

File hashes

Hashes for python_casacore-3.3.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 19f1c1eb8993e7b84f35ad8df74eb1a7ac168d79ddb31d9f2582276dcee14846
MD5 629185ce3952e4cf3eda80902aae85d1
BLAKE2b-256 674eb332571e66be517e8fa163b97202985ead8956f70dd3fd68ad73a77a6886

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_casacore-3.3.0-cp34-cp34m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.6 MB
  • Tags: CPython 3.4m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8

File hashes

Hashes for python_casacore-3.3.0-cp34-cp34m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b95389f5ad28ca7bdb0f99ff92eddac5c89260448cf7d78e96b6f2b34d576f0c
MD5 0f4245a1ce3b7eb30be0ccbeecca9ad4
BLAKE2b-256 a9deeb1f0be28da876ef0896d746afba3cc6f835c4ca30d00f6d6cd054a3dabc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_casacore-3.3.0-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 25.5 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8

File hashes

Hashes for python_casacore-3.3.0-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 16c7ad15e7026266b59ffb888984ed329507707ee47ddbf7e62e67ad33fbe073
MD5 d81fb9da81a15203db958623cac96855
BLAKE2b-256 25344046be66455a5e2ceb1e25ad304738f81a567cff1bb51229a15fb0cafe3a

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