File: README.rst

package info (click to toggle)
python-casacore 2.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,124 kB
  • ctags: 1,105
  • sloc: python: 3,661; cpp: 1,306; makefile: 65; sh: 9
file content (77 lines) | stat: -rw-r--r-- 2,161 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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>`_