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 `readthedocs <http://python-casacore.readthedocs.org/>`_.

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

Uploaded Source

Built Distribution

python_casacore-2.1.0-cp27-none-macosx_10_11_x86_64.whl (1.1 MB view details)

Uploaded CPython 2.7 macOS 10.11+ x86-64

File details

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

File metadata

File hashes

Hashes for python-casacore-2.1.0.tar.gz
Algorithm Hash digest
SHA256 8776d839ab601931937bbfd01f395d53b2c575efb31799b1f3fcce042746a66f
MD5 3e9668f55431d4c6a2e8b02bbb16627e
BLAKE2b-256 691c62d922c5a3ba2d291a32a5bcf5bf21ce470c11224af5bfee23dd4042a627

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_casacore-2.1.0-cp27-none-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 eb913f115a9e751f9730b5fc5b21dc12e6059127fe20d1ebad06be24d5bb65f4
MD5 698205c4aaf2e9b6810dabb0ea44a504
BLAKE2b-256 7a0b2412e7d8290f8ac5e4448f2d7fb0ff5d20f2999e968f9bf550edee3f54d2

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