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 <https://code.google.com/p/casacore/>`_,
a c++ library used in radio astronomy. Python-casacore replaces the old
`pyrap <https://code.google.com/p/pyrap/>`_.


The python-casacore documentation can be found on `casacore.github.io/python-casacore <http://casacore.github.io/python-casacore>`_.

.. image:: https://travis-ci.org/casacore/python-casacore.svg?branch=master
:target: https://travis-ci.org/casacore/python-casacore

Installation
============

Ubuntu 14.04
------------

This is most simple way to get started with python-casacore::

$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:radio-astro/main
$ sudo apt-get update
$ sudo apt-get install python-casacore


from source
-----------

install these requirements:

* `setuptools <https://pypi.python.org/pypi/setuptools>`_
* `Casacore <https://code.google.com/p/casacore/>`_ >= 2.0
* `Boost-python <http://www.boost.org/libs/python/doc/>`_
* `numpy <http://www.numpy.org/>`_
* `cfitsio <http://heasarc.gsfc.nasa.gov/fitsio/>`_

On ubuntu you can install these with:

* enable the `radio astronomy launchpad PPA <https://launchpad.net/~radio-astro/+archive/ubuntu/main>`_

* install build dependencies::

$ apt-get install libcasacore2-dev python-numpy \
python-setuptools libboost-python-dev libcfitsio3-dev

* compile and install::

$ python ./setup.py install

* if you need to supply compile parameters, for example if you have your casacore
library installed in a different location have a loook at the `build_ext` help::

$ python ./setup.py build_ext -h


Using pip
---------

python-casacore is also available trough pip. Note that you need to manually satisfy
the requirements mentioned above::
$ 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
=======

* `Ger van Diepen <gervandiepen@gmail.com>`_
* `Malte Marquarding <Malte.Marquarding@gmail.com>`_
* `Gijs Molenaar <gijs@pythonic.nl>`_

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

Uploaded Source

Built Distributions

python_casacore-2.1.2-cp35-cp35m-macosx_10_11_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.5m macOS 10.11+ x86-64

python_casacore-2.1.2-cp27-none-macosx_10_11_x86_64.whl (1.3 MB view details)

Uploaded CPython 2.7 macOS 10.11+ x86-64

File details

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

File metadata

File hashes

Hashes for python-casacore-2.1.2.tar.gz
Algorithm Hash digest
SHA256 b33345f4595b47f6131b5e78514df5be627822c03b9fd112f0175c6a26524067
MD5 914a185e2a48df12105256e0d80778e3
BLAKE2b-256 ffe3cf54db1e0b536f15351843a09bb7b9b3cabd62ca0389e7ef4ade2f3a0dab

See more details on using hashes here.

File details

Details for the file python_casacore-2.1.2-cp35-cp35m-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for python_casacore-2.1.2-cp35-cp35m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 af63c1378325ff127096546f1fb30a97ad1709998b74527e16746495fd150cbb
MD5 2e120104dfebf50b40beea634f8b2e3f
BLAKE2b-256 7e1eebdca3b6476dd4e3810a5d0ae8f39ea2af24e13404fc401ab9d5a6bd49de

See more details on using hashes here.

File details

Details for the file python_casacore-2.1.2-cp27-none-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for python_casacore-2.1.2-cp27-none-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 fe3624074c8960e15bd59e4faea9d12a79128f10dabc271102a7a65fbe74e183
MD5 85c9d835a0811f77d22de59cc4593246
BLAKE2b-256 8621e7b1d4036b3a86920623a37f9f3f775739d816128711f89efc12d8355d91

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