v0.16.0
What's changed
Added
MOC.mask_uniq
allows to mas an array of uniq cells with a MOCMOC.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
andMOC.from_polygons
now accept a booleancomplement
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
, anddifference
Changed
MOC.from_healpix_cells
also accepts an int as depth if all the cells are at the same levelMOC.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 acceptsmax_depth
as an argument. This
should replacenside
in a future version.MOC.from_ivorn()
now acceptsmax_depth
as an argument. This should reb=placenside
later.
Fixed
ranges
infrom_depth29_ranges
is now optional, to be consistent with the existing docstringfrom_healpix_cells
andfrom_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