Skip to content

Commit 81a87fb

Browse files
committed
render changelog
1 parent 3c3e91b commit 81a87fb

21 files changed

+56
-23
lines changed

CHANGELOG.rst

+56
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
2.3.0 (2025-01-14)
2+
==================
3+
4+
Breaking Changes
5+
----------------
6+
7+
- "dimensions" property on ~ndcube.NDCube` and `~ndcube.NDCubeSequence` have been deprecated and replaced by "shape" (`#684 <https://github.com/sunpy/ndcube/pull/684>`__)
8+
9+
10+
Removals
11+
--------
12+
13+
- The ability to create an `.NDCollection` object with numerical keys is deprecated as it leads to ambiguous behavior when slicing the collection. (`#778 <https://github.com/sunpy/ndcube/pull/778>`__)
14+
15+
16+
New Features
17+
------------
18+
19+
- Add Sliceable `~ndcube.meta.NDMeta` class for axis-associated metadata. (`#455 <https://github.com/sunpy/ndcube/pull/455>`__)
20+
- Added a new `~ndcube.NDCube.squeeze` method to `ndcube.NDCube`.
21+
It will remove all axes of length 1. (`#669 <https://github.com/sunpy/ndcube/pull/669>`__)
22+
- Added `~ndcube.NDCube.quantity` attribute to `~ndcube.NDCube` to return the data array with in the cube with the physical units stored in the `~ndcube.NDCube.unit` attribute. (`#677 <https://github.com/sunpy/ndcube/pull/677>`__)
23+
- Enable `~ndcube.NDCube` to be raised to a power. (`#678 <https://github.com/sunpy/ndcube/pull/678>`__)
24+
- Added `ndcube.NDCube.shape` as a replacement for "dimensions". (`#684 <https://github.com/sunpy/ndcube/pull/684>`__)
25+
- Enable rtruediv on`~ndcube.NDCube` such that a user can now do 1/`~ndcube.NDCube`. (`#685 <https://github.com/sunpy/ndcube/pull/685>`__)
26+
- Add a ``keepdims=False`` kwarg to `~ndcube.NDCube.crop` and `~ndcube.NDCube.crop_by_values` setting to true keeps length-1 dimensions default behavior drops these dimensions. (`#732 <https://github.com/sunpy/ndcube/pull/732>`__)
27+
- When calling :meth:`ndcube.NDCubeBase.axis_world_coords` or :meth:`ndcube.NDCubeBase.axis_world_coords_values` with a
28+
specific axis or axes specified, the methods now avoid doing calculations for any other uncorrelated axes, offering
29+
significant speedups when those other axes are large. (`#767 <https://github.com/sunpy/ndcube/pull/767>`__)
30+
- Add support for passing ``-1`` as an element of the ``bin_shape`` argument to `.NDCube.rebin` which will not rebin along that dimension (sets the bin shape to equal the data shape). (`#777 <https://github.com/sunpy/ndcube/pull/777>`__)
31+
- It is now possible to set the ``NDCube.data`` property of a cube with an array of the same shape and unit as the current cube. (`#795 <https://github.com/sunpy/ndcube/pull/795>`__)
32+
33+
34+
Bug Fixes
35+
---------
36+
37+
- :meth:`ndcube.NDCube.rebin` ``bin_shape`` argument now accepts a `astropy.units.Quantity` as input if the units are convertible to pixels. (`#744 <https://github.com/sunpy/ndcube/pull/744>`__)
38+
- Fix support for astropy 7.0, this involved a change to ``CompoundLowLevelWCS`` so that in handles ``pixel_bounds`` if only one component WCS sets a pixel bound. (`#772 <https://github.com/sunpy/ndcube/pull/772>`__)
39+
- Fixed a bug which caused ``NDCubeSequence.cube_like_dimensions`` to break. (`#788 <https://github.com/sunpy/ndcube/pull/788>`__)
40+
- Added an internal code to shortcut non-correlated axes avoiding the creation of a full coordinate grid, reducing memory use in specific circumstances. (`#798 <https://github.com/sunpy/ndcube/pull/798>`__)
41+
42+
43+
Documentation
44+
-------------
45+
46+
- Added a gallery example (:ref:`sphx_glr_generated_gallery_creating_even_spaced_wavelength_visualisation.py`) showcasing how to create a visualisation of unevenly spaced wavelength data cube using AIA data. (`#691 <https://github.com/sunpy/ndcube/pull/691>`__)
47+
- Added a gallery example (:ref:`sphx_glr_generated_gallery_creating_a_gwcs_from_quantities.py`) showcasing how to create a GWCS from quantities. (`#695 <https://github.com/sunpy/ndcube/pull/695>`__)
48+
49+
50+
Internal Changes
51+
----------------
52+
53+
- Move code creating a masked array for `ndcube.NDCube.rebin` to a private function which is then called by `ndcube.NDCube.rebin`. (`#705 <https://github.com/sunpy/ndcube/pull/705>`__)
54+
- Added explicit support for numpy 2.0. (`#729 <https://github.com/sunpy/ndcube/pull/729>`__)
55+
56+
157
2.2.0 (2023-11-16)
258
==================
359

changelog/455.feature.rst

-1
This file was deleted.

changelog/669.feature.rst

-2
This file was deleted.

changelog/677.feature.rst

-1
This file was deleted.

changelog/678.feature.rst

-1
This file was deleted.

changelog/684.breaking.rst

-1
This file was deleted.

changelog/684.feature.rst

-1
This file was deleted.

changelog/685.feature.rst

-1
This file was deleted.

changelog/691.doc.rst

-1
This file was deleted.

changelog/695.doc.rst

-1
This file was deleted.

changelog/705.trivial.rst

-1
This file was deleted.

changelog/729.trivial.rst

-1
This file was deleted.

changelog/732.feature.rst

-1
This file was deleted.

changelog/744.bugfix.rst

-1
This file was deleted.

changelog/767.feature.rst

-3
This file was deleted.

changelog/772.bugfix.rst

-1
This file was deleted.

changelog/777.feature.rst

-1
This file was deleted.

changelog/778.removal.rst

-1
This file was deleted.

changelog/788.bugfix.rst

-1
This file was deleted.

changelog/795.feature.rst

-1
This file was deleted.

changelog/798.bugfix.rst

-1
This file was deleted.

0 commit comments

Comments
 (0)