Releases: sunpy/ndcube
Releases · sunpy/ndcube
v2.2.2
v2.2.1post
Fix version in the documentation sidebar.
v2.2.1
What's Changed
- Backport PR #654 on branch 2.2 (Fix devdeps figure tests and getting the wrong filename) by @meeseeksmachine in #656
- Backport PR #660 on branch 2.2 (Remove old circleci webhook config) by @meeseeksmachine in #662
- Backport PR #670 on branch 2.2 ([pre-commit.ci] pre-commit autoupdate) by @meeseeksmachine in #671
- Backport PR #668 on branch 2.2 (Fix the unrendered code snippets in the docstrings) by @meeseeksmachine in #674
- Backport PR #675 on branch 2.2 (update dev figure hashes) by @meeseeksmachine in #676
- Fix for init of for specutils by @nabobalis in #719
Full Changelog: v2.2.0...v2.2.1
v2.2.0
What's Changed
- Delete test file + fix CI by @nabobalis in #626
- Edits to manuscript for JOSS review by @dfm in #628
- DOC: Remove broken link from old mailing list by @pllim in #632
- Add a zenodo metadata record by @Cadair in #630
- [main] Drop Python 3.8, Increase min deps versions, update tox config on CI, update circleci by @nabobalis in #636
- Add links to ndcube publications to README and docs. by @DanRyanIrish in #642
- Update NDCollection copy() & pop() to Support None aligned_axes by @Alrobbertz in #646
- Convert WCS wrappers to FITS WCS. by @DanRyanIrish in #649
- Update error messages for mpl and mpl_animators by @nabobalis in #651
New Contributors
- @dfm made their first contribution in #628
- @Alrobbertz made their first contribution in #646
Full Changelog: v2.1.4...v2.2.0
v2.1.4
What's Changed
- Backport PR #626 on branch 2.1 (Delete test file + fix CI ) by @meeseeksmachine in #629
- Backport PR #632 on branch 2.1 (DOC: Remove broken link from old mailing list) by @meeseeksmachine in #633
- [2.1] Update CI by @nabobalis in #638
- Backport PR #643 on branch 2.1 ([pre-commit.ci] pre-commit autoupdate) by @meeseeksmachine in #644
- Backport PR #651 on branch 2.1 (Update error messages for mpl and mpl_animators) by @meeseeksmachine in #652
Full Changelog: v2.1.3...v2.1.4
v2.1.3
v2.1.2
2.1.2 (2023-05-31)
Backwards Incompatible Changes
ndcube.NDCollection.aligned_axes
attribute is now property. (#607 <https://github.com/sunpy/ndcube/pull/607>
__)
Bug Fixes
- Keywords for
sequence_axis_coords
andsequence_axis_unit
were not passed to theSequenceAnimator
constructor.
This is now fixed. (#607 <https://github.com/sunpy/ndcube/pull/607>
__)
Improved Documentation
- Sphinx nitpicky was enabled and lots of references were updated.
- Overall documentation layout was adjusted to shrink the sidebar.
v2.1.1
What's Changed
- Fix Changelog for v2.1.0 by @DanRyanIrish in #595
- Backport PR #600 on branch 2.1 (Fix docs build warnings and error) by @meeseeksmachine in #601
- Backport PR #602 on branch 2.1 (Add changelog for PR #600.) by @meeseeksmachine in #603
Full Changelog: v2.1.0...v2.1.1
v2.1.0
v2.1.0 (2023-03-01)
Backwards Incompatible Changes
- To support compatibility with reproject 0.9, the API of .NDCube.reproject_to has been tweaked so
that any keyword argument to the underlying reprojection function
can be passed through. This has the effect of being a breaking
change if you were specifying any arguments aftershape_out=
as
positional rather than keyword arguments. (Note that in a future
release we will probably change to require keyword arguments to
reproject_to
. (#552)
Features
- Implement new property, ndcube.ExtraCoords.is_empty that returns
True
if the object has got extra coords. Otherwise returnFalse
.
(#450) - Add ndcube.ExtraCoords.resample
method to resample extra coordinates by a certain factor in each
array dimension. (#450) - Implement a new ndcube.NDCube.rebin
method to combine integer numbers of pixels along each axis into
larger pixels. (#450) - Add new methods to interpolate lookup table coordinates: ndcube.extra_coords.table_coord.QuantityTableCoordinate.interpolate,
ndcube.extra_coords.table_coord.SkyCoordTableCoordinate.interpolate,
ndcube.extra_coords.table_coord.TimeTableCoordinate.interpolate,
ndcube.extra_coords.table_coord.MultipleTableCoordinate.interpolate
(#450) - Add ndcube.NDCubeSequence.crop and
ndcube.NDCubeSequence.crop_by_values
methods which crop the ~ndcube.NDCubeSequence based on input world
coordinate ranges.
(#466) - Add basic arithmetic methods between ~ndcube.NDCube objects and broadcastable
arrays, scalars, and ~astropy.unit.Quantity objects. Operations
between two ~ndcube.NDCube objects
are not supported.
(#541) - Add ndcube.NDCube.to to convert cube
to new unit. (#586) - Created ~ndcube.GlobalCoordsABC and
updated ~ndcube.NDCubeABC, and ~ndcube.extra_coords.ExtraCoordsABC to
reflect official NDCube 2 API definition in SEP.
(#592)
Bug Fixes
- Fix bug #535 where NDCollection
could not update when aligned_axes
is None
(#538) - Fix a bug where aligned_axis_physical_types caused __str__ to error when aligned_axes was None.
(#539) - Fix a bug where
data_unit
was not being correctly passed through
to the underlying plotting function when animating a cube.
(#578)
Improved Documentation
- Add example to example gallery of how to create an NDCube from a
FITS file. (#544)
v2.0.3 (2022-09-23)
Bug Fixes
- Dynamically copy docstring and function signature from NDCube.plotter.plot() to NDCube.plot().
(#534) - Fixed a bug where the plot_axes key
was not respected when passing axes
to plot for 2D cubes.
(#551) - Limit maximum reproject version to 0.9 due to API changes. ndcube
2.1 will support the new reproject keyword arguments.
(#564)
v2.0.2 (2022-05-10)
Bug Fixes
- Fix a bug in the
NDCube._as_mpl_axes
implementation, allowing
cubes with compatible dimensions to be passed as theprojection=
keyword argument to certain matplotlib functions again.
(#509)
Trivial/Internal Changes
- Remove use of deprecated
distutils
module.
(#520)
2.0.1 (2021-11-19)
Bug Fixes
- Enable ~ndcube.NDCollection to accept
aligned axes inputs in any integer type.
(#495) - Patch to convert quantity objects passed to
crop_by_coords
to the
units given in thewcs.world_axis_units
.
(#497) - Fix a bug which prevented the
axes_units=
kwarg from working when
using the matplotlib animators.
(#498) - Add support for length-1 lookup table coords within extra coords.
(#499) - Bump the minimum version of astropy to 4.2 to correctly support
capturing dropped world dimensions into global coords when slicing
the WCS. (#500)
2.0.0 (2021-10-29)
Backwards Incompatible Changes
- Remove unused util functions and the ndcube WCS class. Refactor util
functions for converting between between data and WCS indices to
reflect the APE14 nomenclature that distinguishes between array,
pixel and world axes.
(#280) - NDCubeSequence animation axes can no longer be set by extra coords.
(#294) - ImageAnimatorNDCubeSequence, ImageAnimatorCubeLikeNDCubeSequence,
LineAnimatorNDCubeSequence and LineAnimatorCubeLikeNDCubeSequence
have been removed and replaced by NDCubeSequenceAnimator.
(#294) - Change type of output of .NDCollection.aligned_world_axis_physical_types
from tuple to list. This is to be consistent with output of astropy.wcs.WCS.world_axis_physical_types.
(#302) - Change output type when common axis item is a slice that covers only
one subcube. Previously this would return an NDCube. Now an
NDCubeSequence is always returned unless the common axis item is an
integer. Also, refactor NDCubeSequence.index_as_cube so codebase
is simpler. (#311) - Replace NDCube.crop_by_coords and NDCube.crop_by_extra_coords
with new method, NDCube.crop
(#316) - Remove NDCubeSequence plotting.
(#322) - Update .NDCube.array_axis_physical_types return
physical types from extra coords as well as the WCS.
(#338) - Rename .ExtraCoords.add method from
previous name "add_coordinate".
(#394) - The ~.NDcube object no longer
inherits from astropy.nddata.NDArithmeticMixin as the
methods were not coordinate aware.
(#457)
Deprecations and Removals
- Remove NDCube.pixel_to_world and
NDCube.world_to_pixel.
(#300) - Remove
world_axis_physical_types
methods from .NDCube and .NDCubeSequence.
(#302) - Remove NDCubeSequence.sequence_axis_extra_coords. This is
replaced by NDCubeSequence.sequence_axis_coords.
(#335) - Remove ndcube.NDCubeSequence.common_axis_extra_coords.
Will be replaced by ndcube.NDCubeSequence.common_axis_coords.
(#344) - Remove NDCollection.aligned_world_axis_physical_types. It will
be replaced by ~ndcube.NDCollection.aligned_axis_physical_types.
(#347)
Features
-
Implement a new .ExtraCoords class
which allows the specification of extra coordinates via lookup
tables or WCS. This class exposes the extra coords as an APE 14 WCS
object. (#271) -
Add new method, ~ndcube.NDCube.axis_world_coord_values,
to return world coords for all pixels for all axes in WCS as
quantity objects.
([#279](https://github.com/sunpy/ndcube/...
v2.0.4
What's Changed
- Backport PR #578 on branch 2.0 (Pass
data_unit
kwarg through when visualizing > two dimensions) by @meeseeksmachine in #581
Full Changelog: v2.0.3...v2.0.4