Skip to content

Releases: sun-data/named-arrays

v1.0.1

30 Nov 21:17
3f0784a

Choose a tag to compare

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

30 Nov 16:29
3398ffb

Choose a tag to compare

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

21 Nov 03:58
7aa2806

Choose a tag to compare

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

15 Nov 17:36
cd6146a

Choose a tag to compare

What's Changed

  • Added missing mode argument to the mean_filter() and variance_filter() functions in the ndfilters module. by @roytsmart in #140
  • General improvements to the documentation by @roytsmart in #141
  • Modified na.plt.pcolormesh() to allow the cmap argument to be vectorized. by @roytsmart in #142
  • Fixed a bug where multiplying a vector by a matrix was returning an instance of CartesianNdVectorArray instead of the input type. by @roytsmart in #143
  • Added support for the numexpr package to accelerate mathematical expressions. by @roytsmart in #144

Full Changelog: v0.26.0...v0.27.0

v0.26.0

29 Aug 22:19
b0a66a2

Choose a tag to compare

What's Changed

  • Modified the behavior of AbstractFunctionArray.__array_ufunc__() to allow any instance of AbstactArray that is not a function to be an operand. by @roytsmart in #138
  • Added an origin keyword argument to named_arrays.plt.subplots(). by @roytsmart in #139

Full Changelog: v0.25.1...v0.26.0

v0.25.1

26 Aug 06:44
61bbc93

Choose a tag to compare

What's Changed

  • Fixed named_arrays.broadcast_to() to propagate the append keyword 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

25 Aug 03:25
bc20bd5

Choose a tag to compare

What's Changed

  • Modified the behavior of ScalarArray.__getitem__ to ignore any keys of item not 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

30 Jul 20:09
94fc553

Choose a tag to compare

What's Changed

  • Modified AbstractScalarArray.ndarray_aligned() to work properly with instances of astropy.time.Time. by @byrdie in #131
  • Added AbstractArray.replace() method as a shorthand version of dataclasses.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

23 Jul 15:20
7d31626

Choose a tag to compare

What's Changed

  • Added TemporalPositionalVectorArray and TemporalPositionalMatrixArray by @byrdie in #122
  • Added set_xlim(), get_xlim(), set_ylim(), and get_ylim() to the named_arrays.plt module. by @byrdie in #124
  • Added support for the numpy.partition() function. by @byrdie in #125
  • Added axvspan() and axhspan() to the named_arrays.plt module. 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 and AbstractArray.mean_trimmed() method. by @byrdie in #127
  • Modified named_arrays.AbstractFunctionArray to support subclasses. by @byrdie in #129
  • Added na.plt.axvline() and na.plt.axhline() functions to plot horizontal and vertical lines. by @byrdie in #130

Full Changelog: v0.22.0...v0.23.0

v0.22.0

28 May 21:33
55fa621

Choose a tag to compare

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 append keyword to named_arrays.broadcast_to() which allows for shape to automatically be combined with array.shape when calculating the output shape. by @byrdie in #117
  • Added named_arrays.convolve() function which wraps ndfilters.convolve(). by @byrdie in #115
  • Fixed type hinting for named_arrays.regridding.regrid(). by @byrdie in #118
  • Modified the behavior of na.asarray() and na.asanyarray() to return arrays of None if a=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