Published July 16, 2024
| Version v0.16.0
Software
Open
cds-astro/mocpy: v0.16.0
Authors/Creators
- 1. @cds-astro
- 2. HeidelbergCement
- 3. LESIA, Observatoire de Paris, PSL
- 4. NASA Goddard Space Flight Center
- 5. University of Minnesota
- 6. Brazilian Center for Research in Physics
- 7. Puresoftware
Description
What's changed
Added
MOC.mask_uniqallows to mas an array of uniq cells with a MOCMOC.values_and_weights_in_multiorder_mapallows to filter a multiordermap by a MOC with weights corresponding to the area of the cells intersecting the MOC and the multiordermap- the
mocpy.WCSclass can now accept a sequence of angles as its fov argument rather than always representing square areas of the sky. MOC.from_polygonsandMOC.from_polygonsnow accept a booleancomplementthat 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_cellsalso 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_depthas an argument. This should replacensidein a future version.MOC.from_ivorn()now acceptsmax_depthas an argument. This should reb=placensidelater.
Fixed
rangesinfrom_depth29_rangesis now optional, to be consistent with the existing docstringfrom_healpix_cellsandfrom_valued_healpix_cellsnow filter out invalid cells and raise a warning when they do so- fix multimoc operations (were all failing with a TypeError) [#153]
Full Changelog: https://github.com/cds-astro/mocpy/compare/v0.15.0...v0.16.0
Files
cds-astro/mocpy-v0.16.0.zip
Files
(78.3 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:25f2141f7364110ab45dfbdfdc9eae11
|
78.3 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/cds-astro/mocpy/tree/v0.16.0 (URL)