Skip to content

Commit

Permalink
📝 add migration guide [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand authored May 5, 2023
1 parent 956a4aa commit 3a4f2d6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,24 @@ For more information about the MOCPy Rust core, see the `moc crate <https://crat
.. |Doc| image:: https://img.shields.io/badge/Documentation-link-green.svg
:target: https://cds-astro.github.io/mocpy/

Migrating to version 0.12
-------------------------

Since 0.12.3
************

- ``MOC.MAX_ORDER` and `TimeMOC.MAX_ORDER`` replace the former ``IntervalSet.HPX_MAX_ORDER`` and ``IntervalSet.TIME_MAX_ORDER``
- ``MOC.to_depth29_ranges`` is now a public method replacing the former private ``IntervalSet.nested`` and addition of ``TimeMOC.to_depth61_ranges`` for a time counterpart

Since v0.12.0
*************

- ``MOC.contains_skycoords`` and ``MOC.contains_lonlat`` replace ``MOC.contains`` (``contains`` will be removed in v1.0.0)
- ``TimeMOC.contains_with_timeresolution`` has been added with the previous behaviour of ``TimeMOC.contains``
- ``from_uniq` removed from `IntervalSet`` and added to ``MOC``
- ``MOC.from_healpix_cells`` now requires the ``max_depth`` argument, the depth of the MOC we want to create
- ``World2ScreenMPL`` has been renamed ``WCS``

Installation
------------

Expand Down

0 comments on commit 3a4f2d6

Please sign in to comment.