Skip to main content

Multi-Order Coverage map module for Python

Project description

Introduction

PyMOC is a module for manipulating Multi-Order Coverage (MOC) maps. It includes support for reading and writing the three encodings mentioned in the IVOA recommendation: FITS, JSON and ASCII.

Installation

The module can be installed using the setup.py script:

python setup.py install

Unit Tests

Prior to installation, the unit tests can be run using:

PYTHONPATH=lib python3 -m unittest

or:

PYTHONPATH=lib python2 -m unittest discover

The routines included in the doctests should also be covered by the unit tests. However to ensure the documentation is correct, they can be checked with:

sphinx-build -b doctest doc doc/_build/doctest

Requirements

For reading and writing data in FITS format, the astropy library is required.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Project details


Release history Release notifications

History Node

0.5.0

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

This version
History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pymoc-0.1.0.tar.gz (22.0 kB) Copy SHA256 hash SHA256 Source None May 28, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page