Skip to content

v0.16.0

Compare
Choose a tag to compare
@ManonMarchand ManonMarchand released this 16 Jul 12:16
· 50 commits to master since this release
1a62e94

What's changed

Added

  • MOC.mask_uniq allows to mas an array of uniq cells with a MOC
  • MOC.values_and_weights_in_multiorder_map allows to filter a multiordermap by a MOC with
    weights corresponding to the area of the cells intersecting the MOC and the multiordermap
  • the mocpy.WCS class can now accept a sequence of angles as its fov argument rather than always
    representing square areas of the sky.
  • MOC.from_polygons and MOC.from_polygons now accept a boolean complement that allows to chose
    between the small MOC described by the polygon or the bigger one (its complement)
  • implement multi-moc operations on STMOCs (ex: stmoc1.union(stmoc2, stmoc3, ...)) for union,
    intersection, and difference

Changed

  • MOC.from_healpix_cells also accepts an int as depth if all the cells are at the same level
  • MOC.from_vizier_table() does not call the MOCServer anymore. It now raises an error if the
    catalog of table name is invalid (see #143). It also accepts max_depth as an argument. This
    should replace nside in a future version.
  • MOC.from_ivorn() now accepts max_depth as an argument. This should reb=place nside later.

Fixed

  • ranges in from_depth29_ranges is now optional, to be consistent with the existing docstring
  • from_healpix_cells and from_valued_healpix_cells now filter out invalid cells and raise a
    warning when they do so
  • fix multimoc operations (were all failing with a TypeError) [#153]

Full Changelog: v0.15.0...v0.16.0