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

Uploaded Source

Built Distributions

File details

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

File metadata

  • Download URL: python-casacore-3.4.0.tar.gz
  • Upload date:
  • Size: 103.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for python-casacore-3.4.0.tar.gz
Algorithm Hash digest
SHA256 f654781292308de70c037981f5f7f5aeb02cf980a6f1367d1c294e7b4fca42ce
MD5 7c8adb22e935f4a3920a68ef6d350f65
BLAKE2b-256 a6ee689759f83b885664054af455542e70b63e49b82ef59bd5097982cd776490

See more details on using hashes here.

Provenance

File details

Details for the file python_casacore-3.4.0-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: python_casacore-3.4.0-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 29.8 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for python_casacore-3.4.0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1618204fc86c28e6ff0335f045c096e121fdeb3cd95f24fa5f65769447b86ef0
MD5 d8e488be9436b315e754a7d68c8e7ea7
BLAKE2b-256 da1adc4499926b5b4fb6aefac8af6cfddd8b8d809c23cd1d406c90fdfb238043

See more details on using hashes here.

Provenance

File details

Details for the file python_casacore-3.4.0-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: python_casacore-3.4.0-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 29.9 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for python_casacore-3.4.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 025d173871884023b44642b87f5f240ce02a885e75a07351a05b5af8dc9ea6d8
MD5 aa5a7e76ca5d3df6a73ca89faecede12
BLAKE2b-256 3f9b6d429add90b8835196416ee56efe419cb0d99bb9472b756d975056433353

See more details on using hashes here.

Provenance

File details

Details for the file python_casacore-3.4.0-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_casacore-3.4.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4089fab780b8da08352c039eebf960dc220d3a15a48c8bc9992084193a306071
MD5 3bf594340afc49a666334f0af6d312ed
BLAKE2b-256 0e680de18f9a94d8a959784c089de6509695b2c42f155a43af7dae77e4d873f7

See more details on using hashes here.

Provenance

File details

Details for the file python_casacore-3.4.0-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for python_casacore-3.4.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8fe45316ff4eb856cd2085242e346f75a71ff0f80e80a06f728c104c966f2e18
MD5 5b83a4074b71d3ffdd584f7b803aa04c
BLAKE2b-256 0e5fc2ac333c7484a5a10968adbe156370de779365d5fd524d47e746973c9e29

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