Crate moc

Source
Expand description

The MOC library contains the core functionalities to create and maniuplates MOCs.

it is used in MOCPy, moc-cli and moc-wasm.

The library is not (yet?) properly documented. To use it, we so far recommend to look at the source code of the tools using it (moc-wasm for example).

Modules§

deser
Contains the code relative to the deserialization and serialization of MOCs.
elem
elemset
hpxranges2d
idx
This module contains the trait defining the type Idx that can be used to represent the index value of a MOC cell, associated with utility constants and methods.
moc
A MOC is a set of ordered, non-overlapping MOC elements, associated to a maximum depth.
moc2d
mocranges2d
mom
Multi-Ordered healpix Map (MOM) Here we assume that a MOM a simply a set of of (key, value) pairs in which:
qty
ranges
Very generic ranges operations
utils

Functions§

init_par
Init the number of threads for parallel tasks. Must be called only once! If not called, the default number of threads is the number of physical core. See rayon doc