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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for python_casacore-3.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 970822ed991b75b60fe0156f9887bd53169dd018415252765fe848a7aa549a56 |
|
MD5 | fc059c19c41902460af6788229504cc3 |
|
BLAKE2b-256 | 87a9d767efc0d828c049cbd53115efeb99c1b57aff9419e32381bc99ed1362f6 |
Hashes for python_casacore-3.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f910dc46585d1772363c9c588a12e4271d76ef2ba936cb7ea1eca38ae5a8bd10 |
|
MD5 | c1b7db45dd74b5ff554e573218a13910 |
|
BLAKE2b-256 | ceff3ebecab2db3ebebcf7a0c7eb26a22a4fe36c8f55adfe61bf35c82e5ce155 |
Hashes for python_casacore-3.5.0-cp39-cp39-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3462ce6ab98695fbc3f84091da53e3ab69c6f1cd433cdc498dfd2fd77b21500 |
|
MD5 | d07e4dd6c36d826a9f8b033b7d32b9d7 |
|
BLAKE2b-256 | 938139786e97521211e8ea76200a5e9236c9fa95235a27b5a649547384a9c8bf |
Hashes for python_casacore-3.5.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4090ed4cec893a758495d0f309092369546c8fc803857ff0729e9422a3f330cc |
|
MD5 | 37959cbd4e9a0e1c195d9dc1e771b821 |
|
BLAKE2b-256 | e76c94c6490c7ae090e02dcaf97609ef78ecf1642dba42860d8c2593ac7cda53 |
Hashes for python_casacore-3.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183112c90f47ca9c6df7838406c2a6f3a69bf585e42a71a644e60b995ec79fef |
|
MD5 | 301ad89660fd94ec5f80ada11296acb3 |
|
BLAKE2b-256 | 8c83e161100a9c2c04066d7b216b6f689d68616e2b7af14154439c28a4ded9ae |
Hashes for python_casacore-3.5.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b71d34268c646001ad28756b15cd04230d0c9908823ca9516e8985f52210200 |
|
MD5 | 677beb1ba01647358b8ab9c3c7b35a13 |
|
BLAKE2b-256 | 86db7fc777ae4b58fedffa07b6335693fc49baa8312cd917adf8d38d708429d9 |
Hashes for python_casacore-3.5.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59cc2c84cd924dcb515011bd2cd43acad3349236d0a6808be025b950f6603834 |
|
MD5 | 6062cd0789689426d5f929cf5f48fd6c |
|
BLAKE2b-256 | e093fb00bf8051f9a7c740c6f371e691dc28fd4ded8b24557dd2dcaf887f4427 |