Releases: sun-data/named-arrays
Releases · sun-data/named-arrays
v1.0.1
What's Changed
- Fixed a bug in
point_in_polygon()where an error was raised if the unit was dimensionless. by @roytsmart in #149
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
- Add Numpy 2 support by @roytsmart in #111
- Added Ruff linting rules. by @roytsmart in #146
- Added
named_arrays.geometry.point_in_polygon()to test if a given point is inside a polygon specified by its vertices. by @roytsmart in #147
Full Changelog: v0.27.1...v1.0.0
v0.27.1
What's Changed
- Fixed a bug in
na.numexpr.evaluate()where the arguments weren't being broadcasted properly. by @roytsmart in #145
Full Changelog: v0.27.0...v0.27.1
v0.27.0
What's Changed
- Added missing
modeargument to themean_filter()andvariance_filter()functions in thendfiltersmodule. by @roytsmart in #140 - General improvements to the documentation by @roytsmart in #141
- Modified
na.plt.pcolormesh()to allow thecmapargument to be vectorized. by @roytsmart in #142 - Fixed a bug where multiplying a vector by a matrix was returning an instance of
CartesianNdVectorArrayinstead of the input type. by @roytsmart in #143 - Added support for the
numexprpackage to accelerate mathematical expressions. by @roytsmart in #144
Full Changelog: v0.26.0...v0.27.0
v0.26.0
What's Changed
- Modified the behavior of
AbstractFunctionArray.__array_ufunc__()to allow any instance ofAbstactArraythat is not a function to be an operand. by @roytsmart in #138 - Added an
originkeyword argument tonamed_arrays.plt.subplots(). by @roytsmart in #139
Full Changelog: v0.25.1...v0.26.0
v0.25.1
What's Changed
- Fixed
named_arrays.broadcast_to()to propagate theappendkeyword properly for vectors and functions. by @roytsmart in #136 - Modified the behavior of
np.concatenate()to only broadcast the axis needed instead of all the axes. by @roytsmart in #137
Full Changelog: v0.25.0...v0.25.1
v0.25.0
What's Changed
- Modified the behavior of
ScalarArray.__getitem__to ignore any keys ofitemnot in the array. by @roytsmart in #134 - Added a simple indexing tutorial to the documentation. by @roytsmart in #135
Full Changelog: v0.24.0...v0.25.0
v0.24.0
What's Changed
- Modified
AbstractScalarArray.ndarray_aligned()to work properly with instances ofastropy.time.Time. by @byrdie in #131 - Added
AbstractArray.replace()method as a shorthand version ofdataclasses.replace(). by @byrdie in #132 - Modified
na.plt.pcolormovie()to plot the time labels as a suptitle if they're only 1-dimensional. by @byrdie in #133
Full Changelog: v0.23.0...v0.24.0
v0.23.0
What's Changed
- Added
TemporalPositionalVectorArrayandTemporalPositionalMatrixArrayby @byrdie in #122 - Added
set_xlim(),get_xlim(),set_ylim(), andget_ylim()to thenamed_arrays.pltmodule. by @byrdie in #124 - Added support for the
numpy.partition()function. by @byrdie in #125 - Added
axvspan()andaxhspan()to thenamed_arrays.pltmodule. by @byrdie in #126 - Fixed a bug in
ScalarArray.__setitem__()where mixed basic and advanced indexing could throw an error in some cases. by @byrdie in #128 - Added
named_arrays.mean_trimmed()function andAbstractArray.mean_trimmed()method. by @byrdie in #127 - Modified
named_arrays.AbstractFunctionArrayto support subclasses. by @byrdie in #129 - Added
na.plt.axvline()andna.plt.axhline()functions to plot horizontal and vertical lines. by @byrdie in #130
Full Changelog: v0.22.0...v0.23.0
v0.22.0
What's Changed
- Fixed a bug in
ScalarArray.__setitem__()where an error was raised if two advanced integer indices were used. by @byrdie in #116 - Added an
appendkeyword tonamed_arrays.broadcast_to()which allows forshapeto automatically be combined witharray.shapewhen calculating the output shape. by @byrdie in #117 - Added
named_arrays.convolve()function which wrapsndfilters.convolve(). by @byrdie in #115 - Fixed type hinting for
named_arrays.regridding.regrid(). by @byrdie in #118 - Modified the behavior of
na.asarray()andna.asanyarray()to return arrays ofNoneifa=None. by @byrdie in #120 - Added
named_arrays.plt.annotate()function. by @byrdie in #119 - Transpose Weights by @jacobdparker in #121
Full Changelog: v0.21.0...v0.22.0