cds-astro / mocpy

Python library to easily create and manipulate MOCs (Multi-Order Coverage maps)
https://cds-astro.github.io/mocpy/
BSD 3-Clause "New" or "Revised" License
60 stars 33 forks source link

Make write call save #117

Closed ManonMarchand closed 1 year ago

ManonMarchand commented 1 year ago

What the PR does:

(I mixed my commits so this PR does way too much)

>>> from mocpy import MOC
>>> MOC.n_cells(0)
12
>>> from mocpy import STMOC
>>> STMOC.n_cells(0, dimension='space')
12