Skip to content

Releases: cds-astro/cds-healpix-python

v0.8.1

11 Mar 15:04
aa1e986

Choose a tag to compare

What's Changed

  • fix wasm build in #51

Full Changelog: v0.8.0...v0.8.1

v0.8.0

22 Jan 13:35
b21de8a

Choose a tag to compare

Fixed

  • Bilinear interpolation fixed for numpy<2

Changed

  • [BREAKING] Class Skymap now has an attribute skymap that contains either a
    SkymapExplicit or a SkymapImplicit. The whole skymap sub-module has been reworked
    to add the support of explicit skymaps. [#45]

Full Changelog: v0.7.2...v0.8.0

v0.7.2

20 Oct 15:21

Choose a tag to compare

What's Changed

Changed

  • Supported python version are now from 3.9 (eol) to 3.14 (just released) [#43]

Fixed

  • support longitudes and latitudes that are not of dtype np.float64. This was broken
    by numpy 2.0. Before that, the conversion was done silently. See [#35]
  • matplotlib_missing was not defined in Skymap.quick_plot().
  • step > 1 when calling vertices on ring indexing [#39]
  • fix reading skymaps from fits files [#32]

Full Changelog: v0.7.1...v0.7.2

v0.7.1

22 Nov 12:32

Choose a tag to compare

What's Changed

Added

  • support for python 3.13

Fixed

  • fix zone_search that would fail on lon_max == 180° due to astropy angle wrapping

Full Changelog: v0.7.0...v0.7.1

v0.7.0

17 Oct 09:40

Choose a tag to compare

What's changed

Added

  • new features box_search and zone_search in cdshealpix.nested
  • cdshaelpix.nested.vertices can now take depth as a numpy.ndarray instead of only
    accepting a single depth
  • new module skymap added.
  • read/write, and plot nested all-sky skymaps in the implicit scheme from fits files with
    Skymap.from_fits, Skymap.from_array, Skymap.quick_plot, and Skymap.to_fits

Fixed

  • ⚠️ breaking change. All fully_covered returned values have changed from arrays
    of 0 and 255 to boolean arrays. This concerns: box_search, cone_search,
    polygon_search, elliptical_cone_search, and elliptic-search.
  • bilinear_interpolation now accepts longitudes and latitudes with nan values
    (will be a masked value in the output) [#22]
  • nested.healpix_to_lonlat, failed into rust panic for dx=1 or dy=1. This is
    now indicated in the documentation and is catched in a ValueError on the python side.

Changed

  • matplotlib is now an optional dependency, to plot previews of skymaps.

Full Changelog: v0.6.5...v0.7.0

Release v0.6.5

28 Nov 09:35
02940e9

Choose a tag to compare

This release mostly adds support for newest python (3.12) and astropy versions (6.0).

What's Changed

  • adapt workflows to python 3.12 in #18
  • fix documentation and add notebook gallery in #19

Full Changelog: v0.6.4...v0.6.5

v0.6.4

28 Mar 05:35

Choose a tag to compare

What's Changed

Full Changelog: v0.6.3...v0.6.4