MOCPy
is a Python library allowing easy creation, parsing and manipulation
of MOCs (Multi-Order Coverage maps).
Its code is hosted on GitHub and distributed under the BSD-3 license.
.. toctree:: :maxdepth: 3 :caption: Contents: install examples/user_documentation api contribute
MOC is an IVOA standard enabling description of arbitrary sky regions. Based on the HEALPix sky tessellation, it maps regions on the sky into hierarchically grouped predefined cells.
MOCPy provides the :py:class:`~mocpy.MOC`, :py:class:`~mocpy.TimeMOC`, :py:class:`~mocpy.FrequuencyMOC`, :py:class:`~mocpy.STMOC` classes handling respectively the manipulation of spatial, temporal, frequency, and space-time MOCs.
As an example, here is the sky coverage of the SDSS sky survey:
.. plot:: examples/plot_SDSS_r.py
As well as its time coverage:
.. plot:: examples/plot_TMOC_SDSS_r.py
.. bibliography:: references.bib :all: