Skip to content

Commit 0dd9d53

Browse files
authored
Merge pull request #809 from Cadair/prepare_2.3
Prepare for 2.3 Release
2 parents ace9596 + 2e2241d commit 0dd9d53

24 files changed

Lines changed: 127 additions & 62 deletions

.mailmap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ Ricky O'Steen <[email protected]> Ricky O'Steen <[email protected].
1414
Kris Stern <[email protected]> Kris Stern <[email protected]>
1515
Matthew J. West <[email protected]> Dr Matthieu Wes <[email protected]>
1616
Will Barnes <[email protected]> Will Barnes <[email protected]>
17+
Samuel Bennett <[email protected]> CyclingNinja <[email protected]>
18+
Samuel Bennett <[email protected]> Samuel Bennett <[email protected]>
19+
Stuart Mumford <[email protected]> Cadair <[email protected]>
20+
Mihail Bankov <[email protected]> Mihail Bankov <[email protected]>
21+
Sanvi Sharma <[email protected]> ciaokitty <[email protected]>
22+
Junyan Huo <[email protected]> JunyanHuo <[email protected]>

.zenodo.json

Lines changed: 46 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@
77
{
88
"name": "Daniel F. Ryan",
99
"orcid": "0000-0001-8661-3825",
10-
"affiliation": "1 - University of Applied Sciences Northwest Switzerland, Switzerland 2 - American University, USA "
10+
"affiliation": "University College London, Mullard Space Science Laboratory (UCL/MSSL)"
1111
},
1212
{
1313
"name": "Stuart J. Mumford",
1414
"orcid": "0000-0003-4217-4642",
1515
"affiliation": "Aperio Software Ltd."
1616
},
17+
{
18+
"name": "Nabil Freij",
19+
"orcid": "0000-0002-6253-082X",
20+
"affiliation": "SETI Institute & Lockheed Martin Solar and Astrophysics Laboratory"
21+
},
1722
{
1823
"name": "Yash Sharma",
1924
"orcid": "0000-0002-7861-9677",
@@ -23,20 +28,20 @@
2328
"name": "Ankit Baruah",
2429
"affiliation": "Workato Gmbh, Germany"
2530
},
26-
{
27-
"name": "Nabil Freij",
28-
"orcid": "0000-0002-6253-082X",
29-
"affiliation": "1 - Lockheed Martin Solar and Astrophysics Laboratory, USA 2 - Bay Area Environmental Research Institute, USA"
30-
},
3131
{
3232
"name": "Adwait Bhope",
3333
"orcid": "0000-0002-7133-8776",
3434
"affiliation": "Uptycs India Pvt. Ltd., India"
3535
},
36+
{
37+
"name": "Samuel Bennett",
38+
"orcid": "0000-0001-6420-4422",
39+
"affiliation": "Aperio Software Ltd."
40+
},
3641
{
3742
"name": "Laura Hayes",
3843
"orcid": "0000-0002-6835-2390",
39-
"affiliation": "European Space Agency, ESTEC"
44+
"affiliation": "Dublin Institute of Advanced Studies (DIAS)"
4045
},
4146
{
4247
"name": "Ricky O'Steen",
@@ -65,18 +70,35 @@
6570
"orcid": "0000-0002-8546-9128",
6671
"affiliation": "Aperio Software Ltd."
6772
},
73+
{
74+
"name": "Junyan Huo",
75+
"orcid": "0000-0002-5469-7697",
76+
"affiliation": "University College London"
77+
},
6878
{
6979
"name": "David Stansby",
7080
"orcid": "0000-0002-1365-1908",
7181
"affiliation": "Advanced Research Computing Centre, University College London, UK"
7282
},
83+
{
84+
"name": "Shane Maloney",
85+
"orcid": "0000-0002-4715-1805",
86+
"affiliation": "Trinity College Dublin & Dublin Institute for Advanced Studies"
87+
},
7388
{
7489
"name": "J. Marcus Hughes",
7590
"orcid": "0000-0003-3410-7650",
7691
"affiliation": "Southwest Research Institute, USA"
7792
},
7893
{
79-
"name": "Kris Stern"
94+
"name": "Kris Akira Stern",
95+
"orcid": "0000-0003-1613-8947",
96+
"affiliation": "University of Hong Kong & University of London"
97+
},
98+
{
99+
"name": "Andrew Robbertz",
100+
"orcid": "0009-0008-6857-0882",
101+
"affiliation": "General Dynamics Mission Systems, USA"
80102
},
81103
{
82104
"name": "Aoife Maria Ryan"
@@ -87,6 +109,22 @@
87109
{
88110
"name": "Roy Smart"
89111
},
112+
{
113+
"name": "Mihail Bankov"
114+
},
115+
{
116+
"name": "P. L. Lim",
117+
"orcid": "0000-0003-0079-4114",
118+
"affiliation": "Space Telescope Science Institute, USA"
119+
},
120+
{
121+
"name": "Samuel J. Van Kooten",
122+
"orcid": "0000-0002-4472-8517",
123+
"affiliation": "Southwest Research Institute"
124+
},
125+
{
126+
"name": "Sanvi Sharma"
127+
},
90128
{
91129
"name": "Dan F-M"
92130
},
@@ -100,10 +138,6 @@
100138
"orcid": "0000-0002-0631-2393",
101139
"affiliation": "Southwest Research Institute, USA"
102140
},
103-
{
104-
"name": "P. L. Lim",
105-
"affiliation": "Space Telescope Science Institute, USA"
106-
},
107141
{
108142
"name": "Shelbe Timothy"
109143
}

CHANGELOG.rst

Lines changed: 56 additions & 0 deletions
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

RELEASE.rst

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,24 @@
1-
The SunPy project is very happy to announce a new release of "ndcube".
21

3-
ndcube is a package built for handling, inspecting and visualizing a wide
4-
variety of data, of any number of dimensions, along with coordinate information
5-
described by WCS. The `~ndcube.NDCube` provides functionality for slicing
6-
the data, WCS and other metadata simultaneously, plotting and animating,
7-
and associating extra coordinate information along any axis.
2+
This release of ndcube contains 518 commits in 21 merged pull requests closing 5 issues from 12 people, 6 of which are first-time contributors to ndcube.
83

9-
In addition, the ndcube package provides the `~nddata.NDCubeSequence`
10-
class for representing sequences of `~ndcube.NDCube` objects where the
11-
coordinate information may or may not align, and accessing these sequences in a
12-
way consistent with a singular cube.
13-
14-
This release of ndcube contains 95 commits in 12 merged pull requests closing 5 issues from 5 people, 2 of which are first time contributors to ndcube.
4+
* 518 commits have been added since 2.2
5+
* 5 issues have been closed since 2.2
6+
* 21 pull requests have been merged since 2.2
7+
* 12 people have contributed since 2.2
8+
* 6 of which are new contributors
159

1610
The people who have contributed to the code for this release are:
1711

18-
Daniel Ryan
19-
David Stansby *
20-
Nabil Freij
21-
P. L. Lim *
22-
Stuart Mumford (boooooooo)
23-
24-
Where a * indicates their first contribution to ndcube.
25-
26-
For more information about ndcube see the `documentation <http://docs.sunpy.org/projects/ndcube/>`__.
27-
28-
ndcube can be installed from pip or conda using the following commands::
29-
30-
$ conda install -c conda-forge ndcube
31-
32-
$ pip install ndcube
12+
- Daniel Ryan
13+
- Junyan Huo *
14+
- Laura Hayes
15+
- Mihail Bankov *
16+
- Nabil Freij
17+
- Sam Van Kooten *
18+
- Samuel Bennett *
19+
- Sanvi Sharma *
20+
- Shane Maloney *
21+
- Stuart Mumford
22+
- Will Barnes
23+
24+
Where a * indicates that this release contains their first contribution to ndcube.

changelog/455.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/669.feature.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog/677.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/678.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/684.breaking.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/684.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)