Skip to content

v2.0.0

Choose a tag to compare

@andykee andykee released this 03 May 04:39
· 6 commits to main since this release

Breaking changes

  • Add support for the Python array API standard
  • Deprecate prtools.use() function. See array API support for details
  • Standardize use of mode argument for defining whether array indices are absolute or relative to the array center. This change affects the following functions:
    • centroid()
    • shift()
    • crop()
  • Standardize use of indexing argument, always defaulting to array (ij) indexing
  • subarray() has been renamed crop()
  • shift() argument mode has been renamed to extend

New functionality

  • New morphology module including the following functions:
    • binary_dilation()
    • binary_erosion()
    • binary_opening()
    • binary_closing()
  • New teng() function for computing the Tenengrad metric
  • New nanrms() and nanpv() functions

Minor updates

  • The following functions now support the axis argument:
    • fftconv()
    • gauss_blur()
    • pixelate()
  • Redefine JaxOptimizeResult as a namedtuple
  • Documentation updates
  • Increase test coverage