desy-multimessenger / nuztf

Central repository for scripts handling ZTF Target of Opportunity requests using AMPEL. This includes neutrino, GRB and GW events.
MIT License
1 stars 0 forks source link

Bump mocpy from 0.13.1 to 0.17.0 #460

Open dependabot[bot] opened 1 month ago

dependabot[bot] commented 1 month ago

Bumps mocpy from 0.13.1 to 0.17.0.

Release notes

Sourced from mocpy's releases.

v0.17.0

What's Changed

Added

  • Add support of regions.Regions #163
  • Add option to turn off optimization in fill. The optimization degrades MOCs that are way more precise than the given WCS #166
  • Creation of a MOC from a zone (defined by min/max ra and dec)MOC.from_zone
  • Creation of a single MOC from a lot of cones/boxes is faster with the new option in MOC.from_cones/MOC.from_boxes: the keyword 'union_strategy' can now take the value 'small_cones'/'small_boxes' or 'large_cones'/'large_boxes'. Small cones/boxes is faster for non-overlapping cones/boxes.
  • MOC.from_fits_images can now loop through the HDUList to only keep images with the parameter hdu_index set to -1 #110
  • MOC.from_fits_image now has an 'approximate' option that returns a rough approximation of the footprint of the image data from the corners of a square deduced from its WCS and does not apply any mask.

Fixed

  • fix healpix order corresponding to 1 pixel on the image calculation in MOC.from_fits_image #169
  • MOC.from_fits_images will return an empty MOC and emit a warning if there are no images in the FITS file instead of returning an error.

Full Changelog: https://github.com/cds-astro/mocpy/compare/v0.16.2...v0.17.0

v0.16.2

What's Changed

Fixed

  • MOC.from_astropy_regions now accepts EllipseSkyRegion and RectangleSkyRegion where width > height.

Full Changelog: https://github.com/cds-astro/mocpy/compare/v0.16.1...v0.16.2

v0.16.1

What's Changed

Full Changelog: https://github.com/cds-astro/mocpy/compare/v0.16.0...v0.16.1

v0.16.0

What's changed

Added

... (truncated)

Changelog

Sourced from mocpy's changelog.

[0.17.0]

Added

  • Add support of regions.Regions #163
  • Add option to turn off optimization in fill. The optimization degrades MOCs that are way more precise than the given WCS #166
  • Creation of a MOC from a zone (defined by min/max ra and dec)MOC.from_zone
  • Creation of a single MOC from a lot of cones/boxes is faster with the new option in MOC.from_cones/MOC.from_boxes: the keyword 'union_strategy' can now take the value 'small_cones'/'small_boxes' or 'large_cones'/'large_boxes'. Small cones/boxes is faster for non-overlapping cones/boxes.
  • MOC.from_fits_images can now loop through the HDUList to only keep images with the parameter hdu_index set to -1 #110
  • MOC.from_fits_image now has an 'approximate' option that returns a rough approximation of the footprint of the image data from the corners of a square deduced from its WCS and does not apply any mask.

Fixed

  • fix healpix order corresponding to 1 pixel on the image calculation in MOC.from_fits_image #169
  • MOC.from_fits_images will return an empty MOC and emit a warning if there are no images in the FITS file instead of returning an error.

[0.16.2]

Fixed

  • MOC.from_astropy_regions now accepts EllipseSkyRegion and RectangleSkyRegion where width > height.

[0.16.1]

Fixed

  • from_healpix_cells and from_valued_healpix_cells accept order zero cells again

[0.16.0]

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

... (truncated)

Commits
  • 744a8fc add support of numpy2.0
  • c8f6fc4 maint: depend on stable moclib-rust and cdshealpix-rust. Also apply modificat...
  • 0f19457 maint: revert supporting python 3.13, this is blocked by pyerfa (astropy mand...
  • 99dd1f2 maint: add python 3.13 in ci
  • c7a13b0 fix: switch to Array vendored by numpy crate to avoid versions mismatchs
  • 61fc465 maint: prepare 0.17.0
  • dffc32b maint: add support for python 3.13 and relax constraint on numpy
  • 1ce2c6a maint: bump pyo3 to 0.22
  • b253f10 fix: from_fits_image and from_fits_images [PR #168]
  • 8851681 feat: add approximate option for faster MOC generation
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)