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
.. image:: https://coveralls.io/repos/github/casacore/python-casacore/badge.svg?branch=master
:target: https://coveralls.io/github/casacore/python-casacore?branch=master

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

Ubuntu 18.04
------------

The easiest way to start using python-casacore is to enable the `KERN suite <http://kernsuite.info>`_ repository and install the binary package ::

$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:kernsuite/kern-4
$ sudo apt-get update
$ sudo apt-get install python-casacore


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

install these requirements:

* `setuptools <https://pypi.python.org/pypi/setuptools>`_
* `Casacore <https://github.com/casacore/casacore/>`_
* `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 `KERN suite <http://kernsuite.info>`_

* install build dependencies::

$ apt-get install casacore-dev python-numpy \
python-setuptools libboost-python-dev libcfitsio3-dev wcslib-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 look at the `build_ext` help::

$ python ./setup.py build_ext -h

For example, if `casacore` is installed in `/opt/local/`, you can specify the
library path and include path with::

$ python ./setup.py build_ext -I/opt/local/include -L/opt/local/lib

$ python ./setup.py install


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

Uploaded Source

File details

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

File metadata

  • Download URL: python-casacore-3.0.0.tar.gz
  • Upload date:
  • Size: 98.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for python-casacore-3.0.0.tar.gz
Algorithm Hash digest
SHA256 d0fd963ef54c6eec707a3760965d65da3e3afbd11f67fe8f810ba0887cb3140d
MD5 80ebfe4efbf93774aaac630fd7123df0
BLAKE2b-256 67cca8239ae09644c4b98acc8ab1b312cf8f0f8a18c865d99c548d711479f8f4

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