Skip to content

Releases

SciPy 1.18.1

Choose a tag to compare

@tylerjereddy tylerjereddy released this 21 Aug 23:52
Immutable release. Only release title and notes can be modified.
v1.18.1

SciPy 1.18.1 Release Notes

SciPy 1.18.1 is a bug-fix release with no new features
compared to 1.18.0. This release includes binaries on
PyPI for Python 3.15, and the minimum required version
of the GCC toolchain has been increased to 10.3.0.

Authors

  • Name (commits)
  • Wasim Akram (2) +
  • Jake Bowhay (1)
  • Michael Bratsch (1)
  • Dietrich Brunn (1)
  • Evgeni Burovski (1)
  • Aadya Chinubhai (1)
  • Lucas Colley (3)
  • Tekin Ertekin (1) +
  • Fuyugithub (2) +
  • Ralf Gommers (11)
  • Joren Hammudoglu (1)
  • Ijtihed Kilani (1) +
  • Andrew Nelson (2)
  • Ilhan Polat (1)
  • Tyler Reddy (39)
  • romao05 (1) +
  • Michael Simacek (1) +
  • Jacob Vanderplas (2)

A total of 18 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.

Note that the source and binary assets associated with this release were published to PyPI using trusted publishing, and so the trusted assets and their hashes are made available more securely at https://pypi.org/project/scipy/1.18.1/ rather than providing them here in a less secure manner.

A complete list of issues and pull requests associated with this release is available in the associated README.txt.

SciPy 1.18.0

Choose a tag to compare

@tylerjereddy tylerjereddy released this 19 Jun 15:21
Immutable release. Only release title and notes can be modified.
v1.18.0

SciPy 1.18.0 Release Notes

SciPy 1.18.0 is the culmination of 6 months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with python -Wd and check for DeprecationWarning s).
Our development attention will now shift to bug-fix releases on the
1.18.x branch, and on adding new features on the main branch.

This release requires Python 3.12-3.14 and NumPy 2.0.0 or greater.

Highlights of this release

  • SciPy now supports three different build modes for BLAS and LAPACK
    LP64/ILP64 support, and machinery is provided for downstream cython_lapack
    consumers to gracefully handle LP64/ILP64 backend builds. ILP64 support
    has been substantially improved across the SciPy library.
  • Remaining Fortran to C translations have been completed---an experimental
    Fortran-free build option is now available to developers for testing
    purposes. Developer feedback is welcome on Fortran-free builds.
  • scipy.signal.whittaker_henderson now provides access to Whittaker-Henderson
    smoothing of a discrete signal.
  • A large number of scipy.stats functions now support lazy arrays and JAX
    JIT. Array API support has been improved substantially in SciPy, with at least
    21 functions gaining new support in this release. 16 scipy.stats functions
    have also gained support for MArray input.

New features

scipy.fft improvements

  • SciPy's internal FFT backend has switched from pocketfft to its
    successor package ducc0.fft, which features several incremental
    improvements. The most significant of those from SciPy's perspective is
    probably that storage requirements for internally cached plans have been
    significantly reduced for most long 1D transforms. Plans that require more
    storage than 1MB will no longer be cached; this mainly affects huge 1D
    transforms of prime and near-prime sizes.

scipy.interpolate improvements

  • Users may now increase the QHull simplex assignment tolerance via the new
    simplex_tolerance argument to the _call__ methods of
    LinearNDInterpolator and CloughTocher2dInterpolator. This can
    help users avoid holes in certain interpolation problems.
  • The FITPACK Fortran code has been ported to C.

scipy.differentiate improvements

  • scipy.differentiate.derivative now supports passing kwargs to the
    function whose derivative is desired.

scipy.linalg improvements

  • We now support three different build modes for BLAS and LAPACK: LP64-only,
    ILP64-only, and ILP64 for everyting except cython_blas/cython_lapack/
    linalg.blas/linalg.lapack (support for Accelerate and MKL).
  • Machinery is now provided for downstream cython_lapack users to gracefully
    handle LP64/ILP64 backend builds. Worked examples, including build system
    details, have been included in this release.
  • An overwrite_b keyword argument was added to eigvals, for consistency
    with other similar linalg functions.
  • linalg.cholesky now leverages symmetry properties for performance
    improvements, especially for real matrices. The batching loop of cholesky
    has now also been moved to a C implementation.
  • scipy.linalg.lu and scipy.linalg.det have been rewritten in C++ with
    batching support in the compiled code.
  • Added ILP64 support to scipy.linalg.expm and scipy.linalg.sqrtm.
  • The batching loops of scipy.linalg.qr, scipy.linalg.eig,
    scipy.linalg.lstsq, and scipy.linalg.svd have been moved to C,
    providing a substantial speedup for batched input.
  • The performance of scipy.linalg.expm has been improved.
  • The performance for scipy.linalg.solve has improved for batched inputs.
  • scipy.linalg.bandwidth now supports batching for greater than or equal to
    2 dimensional input.

scipy.optimize improvements

  • The trust_constr method for minimize was adjusted so that if the x
    array would result in infeasible constraints, and those constraints were
    marked as keep_feasible, then the objective function is not called with
    that x array.
  • The COBYQA method for minimize now supports being called
    concurrently by multiple threads. Previously, multiple threads calling this
    function would only run one at a time.
  • scipy.optimize.nnls, and minimize methods SLSQP and L-BFGS-B
    now have support for ILP64 LAPACK, when available.
  • Functions in scipy.optimize.elementwise now support passing kwargs
    to the callable function.

scipy.signal improvements

  • The new ~scipy.signal.whittaker_henderson implements Whittaker-Henderson smoothing
    of a discrete signal. It offers different penalties to control the smoothness as well
    as automatic selection of the penalty strength via optimization of the restricted
    maximum likelihood (REML) criterion.
    It is a valuable alternative for the Savitzky-Golay filter
    ~scipy.signal.savgol_filter.
    In econometrics, Whittaker-Henderson graduation of penalty order 2 is also known as
    Hodrick-Prescott filter.
  • lfilter_zi was refactored for improved numerical stability and
    efficiency. It now raises a ValueError if parameter a has leading
    zeros, i.e., a[0] == 0, since lfilter and filtfilt do not support
    that as well. Furthermore, a ValueError instead of a LinAlgError is
    raised if the filter is unstable due to having a pole at z = 1.

scipy.sparse improvements

  • In scipy.sparse.csgraph the computation of strongly connected components
    for directed graphs is now 2x faster with better cache locality, using
    algorithmic improvements described in the recent survey by Tarjan and Zwick.
  • Added ILP64 BLAS/LAPACK support to SuperLU and PROPACK extensions.
  • All sparse array/matrix formats now support matrix_transpose/.mT.
  • Support for n-dimensional linear operators has been added to
    scipy.sparse.linalg.LinearOperator, and LinearOperator now has
    a new rdot method.
  • scipy.sparse.linalg.minres now supports complex hermitian matrices.

scipy.integrate improvements

  • ILP64 support was added for ODEPACK
  • scipy.integrate.tanhsinh and scipy.integrate.nsum now support passing
    kwargs to the function to be integrated.

scipy.spatial improvements

  • 3D area calculations are now faster in scipy.spatial.SphericalVoronoi.
  • N-dimensional input is now supported for scipy.spatial.distance.minkowski,
    scipy.spatial.distance.euclidean, and scipy.spatial.distance.sqeuclidean.
  • It is now possible to return sparse arrays rather than matrices from
    KDTree.sparse_distance_matrix.
  • It is now possible to compose Rotation and RigidTransform directly,
    by automatically promoting Rotation when the two are composed via
    a multiplication operator.

scipy.special improvements

  • The accuracy of the following functions was improved: scipy.special.bdtrik,
    scipy.special.bdtrin, scipy.special.nbdtrik, scipy.special.nbdtrin.
  • The numerical behavior for scipy.special.eval_jacobi has been improved
    for several parameter combinations.
  • The Bessel functions scipy.special.j0 and scipy.special.y0
    have improved accuracy for large arguments.

scipy.stats improvements

  • The accuracy of scipy.stats.pmean with tiny, nonzero p has been
    improved.
  • The performance of scipy.stats.halfgennorm has been improved.
  • zstatistic has been added to the result object of
    scipy.stats.mannwhitneyu.
  • A large number of stats functions now support lazy arrays and JAX
    JIT (see Python Array API support section below).
  • Support for the nan_policy keyword argument has been added to:
    scipy.stats.obrientransform, scipy.stats.boxcox,
    scipy.stats.boxcox_normmax, scipy.stats.yeojohnson,
    scipy.stats.yeojohnson_normmax, scipy.stats.sigmaclip, and
    scipy.stats.expectile.
  • scipy.stats.ContinuousDistribution.lmoment has been added for computing
    population L-moments.
  • The new function scipy.stats.estimated_cdf has been added. It reproduces
    much of the functionality of stats.mstats.plotting_positions,
    stats.percentileofscore, stats.ecdf.cdf, and stats.cumfreq, but
    is also vectorized.
  • scipy.stats.ansari accepts a new method argument.
  • scipy.stats.bws_test, scipy.stats.expectile, and
    scipy.stats.quantile_test now accept an axis argument.
  • scipy.stats.expectile and scipy.stats.quantile_test accept a new
    keepdims argument.
  • scipy.stats.binomtest now supports batching of k, n, and p.

Python Array API Standard Support

  • Support has been added for CuPy delegation for: interpolate.PPoly,
    interpolate.BPoly, and interpolate.BSpline.
  • CuPy support has been added for scipy.stats.rankdata.
  • Array API support has been added for method and trim usage
    in scipy.stats.ttest_ind.
  • Support for MArrays has been added to: scipy.stats.cramervonmises,
    scipy.stats.ks_1samp, scipy.stats.ks_2samp, scipy.stats.mode,
    scipy.stats.rankdata, scipy.stats.kruskal, `...
Read more

SciPy 1.18.0rc2

SciPy 1.18.0rc2 Pre-release
Pre-release

Choose a tag to compare

@tylerjereddy tylerjereddy released this 09 Jun 17:07
Immutable release. Only release title and notes can be modified.
v1.18.0rc2

SciPy 1.18.0 Release Notes

note: SciPy 1.18.0 is not released yet!

SciPy 1.18.0 is the culmination of 6 months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with python -Wd and check for DeprecationWarning s).
Our development attention will now shift to bug-fix releases on the
1.18.x branch, and on adding new features on the main branch.

This release requires Python 3.12-3.14 and NumPy 2.0.0 or greater.

Highlights of this release

  • SciPy now supports three different build modes for BLAS and LAPACK
    LP64/ILP64 support, and machinery is provided for downstream cython_lapack
    consumers to gracefully handle LP64/ILP64 backend builds. ILP64 support
    has been substantially improved across the SciPy library.
  • Remaining Fortran to C translations have been completed---an experimental
    Fortran-free build option is now available to developers for testing
    purposes. Developer feedback is welcome on Fortran-free builds.
  • scipy.signal.whittaker_henderson now provides access to Whittaker-Henderson
    smoothing of a discrete signal.
  • A large number of scipy.stats functions now support lazy arrays and JAX
    JIT. Array API support has been improved substantially in SciPy, with at least
    21 functions gaining new support in this release. 16 scipy.stats functions
    have also gained support for MArray input.

New features

scipy.fft improvements

  • SciPy's internal FFT backend has switched from pocketfft to its
    successor package ducc0.fft, which features several incremental
    improvements. The most significant of those from SciPy's perspective is
    probably that storage requirements for internally cached plans have been
    significantly reduced for most long 1D transforms. Plans that require more
    storage than 1MB will no longer be cached; this mainly affects huge 1D
    transforms of prime and near-prime sizes.

scipy.interpolate improvements

  • Users may now increase the QHull simplex assignment tolerance via the new
    simplex_tolerance argument to the _call__ methods of
    LinearNDInterpolator and CloughTocher2dInterpolator. This can
    help users avoid holes in certain interpolation problems.
  • The FITPACK Fortran code has been ported to C.

scipy.differentiate improvements

  • scipy.differentiate.derivative now supports passing kwargs to the
    function whose derivative is desired.

scipy.linalg improvements

  • We now support three different build modes for BLAS and LAPACK: LP64-only,
    ILP64-only, and ILP64 for everyting except cython_blas/cython_lapack/
    linalg.blas/linalg.lapack (support for Accelerate and MKL).
  • Machinery is now provided for downstream cython_lapack users to gracefully
    handle LP64/ILP64 backend builds. Worked examples, including build system
    details, have been included in this release.
  • An overwrite_b keyword argument was added to eigvals, for consistency
    with other similar linalg functions.
  • linalg.cholesky now leverages symmetry properties for performance
    improvements, especially for real matrices. The batching loop of cholesky
    has now also been moved to a C implementation.
  • scipy.linalg.lu and scipy.linalg.det have been rewritten in C++ with
    batching support in the compiled code.
  • Added ILP64 support to scipy.linalg.expm and scipy.linalg.sqrtm.
  • The batching loops of scipy.linalg.qr, scipy.linalg.eig,
    scipy.linalg.lstsq, and scipy.linalg.svd have been moved to C,
    providing a substantial speedup for batched input.
  • The performance of scipy.linalg.expm has been improved.
  • The performance for scipy.linalg.solve has improved for batched inputs.
  • scipy.linalg.bandwidth now supports batching for greater than or equal to
    2 dimensional input.

scipy.optimize improvements

  • The trust_constr method for minimize was adjusted so that if the x
    array would result in infeasible constraints, and those constraints were
    marked as keep_feasible, then the objective function is not called with
    that x array.
  • The COBYQA method for minimize now supports being called
    concurrently by multiple threads. Previously, multiple threads calling this
    function would only run one at a time.
  • scipy.optimize.nnls, and minimize methods SLSQP and L-BFGS-B
    now have support for ILP64 LAPACK, when available.
  • Functions in scipy.optimize.elementwise now support passing kwargs
    to the callable function.

scipy.signal improvements

  • The new ~scipy.signal.whittaker_henderson implements Whittaker-Henderson smoothing
    of a discrete signal. It offers different penalties to control the smoothness as well
    as automatic selection of the penalty strength via optimization of the restricted
    maximum likelihood (REML) criterion.
    It is a valuable alternative for the Savitzky-Golay filter
    ~scipy.signal.savgol_filter.
    In econometrics, Whittaker-Henderson graduation of penalty order 2 is also known as
    Hodrick-Prescott filter.
  • lfilter_zi was refactored for improved numerical stability and
    efficiency. It now raises a ValueError if parameter a has leading
    zeros, i.e., a[0] == 0, since lfilter and filtfilt do not support
    that as well. Furthermore, a ValueError instead of a LinAlgError is
    raised if the filter is unstable due to having a pole at z = 1.

scipy.sparse improvements

  • In scipy.sparse.csgraph the computation of strongly connected components
    for directed graphs is now 2x faster with better cache locality, using
    algorithmic improvements described in the recent survey by Tarjan and Zwick.
  • Added ILP64 BLAS/LAPACK support to SuperLU and PROPACK extensions.
  • All sparse array/matrix formats now support matrix_transpose/.mT.
  • Support for n-dimensional linear operators has been added to
    scipy.sparse.linalg.LinearOperator, and LinearOperator now has
    a new rdot method.
  • scipy.sparse.linalg.minres now supports complex hermitian matrices.

scipy.integrate improvements

  • ILP64 support was added for ODEPACK
  • scipy.integrate.tanhsinh and scipy.integrate.nsum now support passing
    kwargs to the function to be integrated.

scipy.spatial improvements

  • 3D area calculations are now faster in scipy.spatial.SphericalVoronoi.
  • N-dimensional input is now supported for scipy.spatial.distance.minkowski,
    scipy.spatial.distance.euclidean, and scipy.spatial.distance.sqeuclidean.
  • It is now possible to return sparse arrays rather than matrices from
    KDTree.sparse_distance_matrix.
  • It is now possible to compose Rotation and RigidTransform directly,
    by automatically promoting Rotation when the two are composed via
    a multiplication operator.

scipy.special improvements

  • The accuracy of the following functions was improved: scipy.special.bdtrik,
    scipy.special.bdtrin, scipy.special.nbdtrik, scipy.special.nbdtrin.
  • The numerical behavior for scipy.special.eval_jacobi has been improved
    for several parameter combinations.
  • The Bessel functions scipy.special.j0 and scipy.special.y0
    have improved accuracy for large arguments.

scipy.stats improvements

  • The accuracy of scipy.stats.pmean with tiny, nonzero p has been
    improved.
  • The performance of scipy.stats.halfgennorm has been improved.
  • zstatistic has been added to the result object of
    scipy.stats.mannwhitneyu.
  • A large number of stats functions now support lazy arrays and JAX
    JIT (see Python Array API support section below).
  • Support for the nan_policy keyword argument has been added to:
    scipy.stats.obrientransform, scipy.stats.boxcox,
    scipy.stats.boxcox_normmax, scipy.stats.yeojohnson,
    scipy.stats.yeojohnson_normmax, scipy.stats.sigmaclip, and
    scipy.stats.expectile.
  • scipy.stats.ContinuousDistribution.lmoment has been added for computing
    population L-moments.
  • The new function scipy.stats.estimated_cdf has been added. It reproduces
    much of the functionality of stats.mstats.plotting_positions,
    stats.percentileofscore, stats.ecdf.cdf, and stats.cumfreq, but
    is also vectorized.
  • scipy.stats.ansari accepts a new method argument.
  • scipy.stats.bws_test, scipy.stats.expectile, and
    scipy.stats.quantile_test now accept an axis argument.
  • scipy.stats.expectile and scipy.stats.quantile_test accept a new
    keepdims argument.
  • scipy.stats.binomtest now supports batching of k, n, and p.

Python Array API Standard Support

  • Support has been added for CuPy delegation for: interpolate.PPoly,
    interpolate.BPoly, and interpolate.BSpline.
  • CuPy support has been added for scipy.stats.rankdata.
  • Array API support has been added for method and trim usage
    in scipy.stats.ttest_ind.
  • Support for MArrays has been added to: scipy.stats.cramervonmises,
    scipy.stats.ks_1samp, scipy.stats.ks_2samp, `scipy.stats.mode...
Read more

SciPy 1.18.0rc1

SciPy 1.18.0rc1 Pre-release
Pre-release

Choose a tag to compare

@tylerjereddy tylerjereddy released this 25 May 16:51
Immutable release. Only release title and notes can be modified.
v1.18.0rc1

SciPy 1.18.0 Release Notes

note: SciPy 1.18.0 is not released yet!

SciPy 1.18.0 is the culmination of 6 months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with python -Wd and check for DeprecationWarning s).
Our development attention will now shift to bug-fix releases on the
1.18.x branch, and on adding new features on the main branch.

This release requires Python 3.12-3.14 and NumPy 2.0.0 or greater.

Highlights of this release

  • SciPy now supports three different build modes for BLAS and LAPACK
    LP64/ILP64 support, and machinery is provided for downstream cython_lapack
    consumers to gracefully handle LP64/ILP64 backend builds. ILP64 support
    has been substantially improved across the SciPy library.
  • Remaining Fortran to C translations have been completed---an experimental
    Fortran-free build option is now available to developers for testing
    purposes. Developer feedback is welcome on Fortran-free builds.
  • scipy.signal.whittaker_henderson now provides access to Whittaker-Henderson
    smoothing of a discrete signal.
  • A large number of scipy.stats functions now support lazy arrays and JAX
    JIT. Array API support has been improved substantially in SciPy, with at least
    21 functions gaining new support in this release. 16 scipy.stats functions
    have also gained support for MArray input.

New features

scipy.fft improvements

  • SciPy's internal FFT backend has switched from pocketfft to its
    successor package ducc0.fft, which features several incremental
    improvements. The most significant of those from SciPy's perspective is
    probably that storage requirements for internally cached plans have been
    significantly reduced for most long 1D transforms. Plans that require more
    storage than 1MB will no longer be cached; this mainly affects huge 1D
    transforms of prime and near-prime sizes.

scipy.interpolate improvements

  • Users may now increase the QHull simplex assignment tolerance via the new
    simplex_tolerance argument to the _call__ methods of
    LinearNDInterpolator and CloughTocher2dInterpolator. This can
    help users avoid holes in certain interpolation problems.
  • The FITPACK Fortran code has been ported to C.

scipy.differentiate improvements

  • scipy.differentiate.derivative now supports passing kwargs to the
    function whose derivative is desired.

scipy.linalg improvements

  • We now support three different build modes for BLAS and LAPACK: LP64-only,
    ILP64-only, and ILP64 for everyting except cython_blas/cython_lapack/
    linalg.blas/linalg.lapack (support for Accelerate and MKL).
  • Machinery is now provided for downstream cython_lapack users to gracefully
    handle LP64/ILP64 backend builds. Worked examples, including build system
    details, have been included in this release.
  • An overwrite_b keyword argument was added to eigvals, for consistency
    with other similar linalg functions.
  • linalg.cholesky now leverages symmetry properties for performance
    improvements, especially for real matrices. The batching loop of cholesky
    has now also been moved to a C implementation.
  • scipy.linalg.lu and scipy.linalg.det have been rewritten in C++ with
    batching support in the compiled code.
  • Added ILP64 support to scipy.linalg.expm and scipy.linalg.sqrtm.
  • The batching loops of scipy.linalg.qr, scipy.linalg.eig,
    scipy.linalg.lstsq, and scipy.linalg.svd have been moved to C,
    providing a substantial speedup for batched input.
  • The performance of scipy.linalg.expm has been improved.
  • The performance for scipy.linalg.solve has improved for batched inputs.

scipy.optimize improvements

  • The trust_constr method for minimize was adjusted so that if the x
    array would result in infeasible constraints, and those constraints were
    marked as keep_feasible, then the objective function is not called with
    that x array.
  • The COBYQA method for minimize now supports being called
    concurrently by multiple threads. Previously, multiple threads calling this
    function would only run one at a time.
  • scipy.optimize.nnls, and minimize methods SLSQP and L-BFGS-B
    now have support for ILP64 LAPACK, when available.
  • Functions in scipy.optimize.elementwise now support passing kwargs
    to the callable function.

scipy.signal improvements

  • The new ~scipy.signal.whittaker_henderson implements Whittaker-Henderson smoothing
    of a discrete signal. It offers different penalties to control the smoothness as well
    as automatic selection of the penalty strength via optimization of the restricted
    maximum likelihood (REML) criterion.
    It is a valuable alternative for the Savitzky-Golay filter
    ~scipy.signal.savgol_filter.
    In econometrics, Whittaker-Henderson graduation of penalty order 2 is also known as
    Hodrick-Prescott filter.
  • lfilter_zi was refactored for improved numerical stability and
    efficiency. It now raises a ValueError if parameter a has leading
    zeros, i.e., a[0] == 0, since lfilter and filtfilt do not support
    that as well. Furthermore, a ValueError instead of a LinAlgError is
    raised if the filter is unstable due to having a pole at z = 1.

scipy.sparse improvements

  • In scipy.sparse.csgraph the computation of strongly connected components
    for directed graphs is now 2x faster with better cache locality, using
    algorithmic improvements described in the recent survey by Tarjan and Zwick.
  • Added ILP64 BLAS/LAPACK support to SuperLU and PROPACK extensions.
  • All sparse array/matrix formats now support matrix_transpose/.mT.
  • Support for n-dimensional linear operators has been added to
    scipy.sparse.linalg.LinearOperator.
  • scipy.sparse.linalg.minres now supports complex hermitian matrices.

scipy.integrate improvements

  • ILP64 support was added for ODEPACK
  • scipy.integrate.tanhsinh and scipy.integrate.nsum now support passing
    kwargs to the function to be integrated.

scipy.spatial improvements

  • 3D area calculations are now faster in scipy.spatial.SphericalVoronoi.
  • N-dimensional input is now supported for scipy.spatial.distance.minkowski,
    scipy.spatial.distance.euclidean, and scipy.spatial.distance.seuclidean.
  • It is now possible to return sparse arrays rather than matrices from
    KDTree.sparse_distance_matrix.
  • It is now possible to compose Rotation and RigidTransform directly,
    by automatically promoting Rotation when the two are composed via
    a multiplication operator.

scipy.special improvements

  • The accuracy of the following functions was improved: scipy.special.bdtrik,
    scipy.special.bdtrin, scipy.special.nbdtrik, scipy.special.nbdtrin.
  • The numerical behavior for scipy.special.eval_jacobi has been improved
    for several parameter combinations.
  • The Bessel functions scipy.special.j0 and scipy.special.y0
    have improved accuracy for large arguments.

scipy.stats improvements

  • The accuracy of scipy.stats.pmean with tiny, nonzero p has been
    improved.
  • The performance of scipy.stats.halfgennorm has been improved.
  • zstatistic has been added to the result object of
    scipy.stats.mannwhitneyu.
  • A large number of stats functions now support lazy arrays and JAX
    JIT (see Python Array API support section below).
  • Support for the nan_policy keyword argument has been added to:
    scipy.stats.obrientransform, scipy.stats.boxcox,
    scipy.stats.boxcox_normmax, scipy.stats.yeojohnson,
    scipy.stats.yeojohnson_normmax, and scipy.stats.sigmaclip.
  • scipy.stats.ContinuousDistribution.lmoment has been added for computing
    population L-moments.

Python Array API Standard Support

  • Support has been added for CuPy delegation for: interpolate.PPoly,
    interpolate.BPoly, and interpolate.BSpline.
  • CuPy support has been added for scipy.stats.rankdata.
  • Array API support has been added for method and trim usage
    in scipy.stats.ttest_ind.
  • Support for MArrays has been added to: scipy.stats.cramervonmises,
    scipy.stats.ks_1samp, scipy.stats.ks_2samp, scipy.stats.mode,
    scipy.stats.rankdata, scipy.stats.kruskal, scipy.stats.brunnermunzel,
    scipy.stats.spearmanrho, scipy.stats.friedmanchisquare,
    scipy.stats.cramervonmises_2samp, scipy.stats.mannwhitneyu,
    scipy.stats.wilcoxon, scipy.stats.fligner, scipy.stats.linregress,
    scipy.stats.alexandergovern, and scipy.stats.levene.
  • Array API support has been added to: scipy.stats.quantile_test,
    scipy.stats.kendalltau (via NumPy conversion), scipy.stats.kstest,
    scipy.sparse.linalg.LinearOperator, scipy.stats.cumfreq,
    scipy.stats.relfreq, scipy.stats.ks_2samp, scipy.stats.theilslopes,
    scipy.stats.siegelslopes, scipy.stats.obrientransform (including marray),
    scipy.stats.binomtest, scipy.integrate.fixed_quad, scipy.signal.square,
    ...
Read more

SciPy 1.17.1

Choose a tag to compare

@tylerjereddy tylerjereddy released this 23 Feb 01:27
Immutable release. Only release title and notes can be modified.
v1.17.1

SciPy 1.17.1 Release Notes

SciPy 1.17.1 is a bug-fix release with no new features compared to 1.17.0.

Authors

  • Name (commits)
  • Evgeni Burovski (5)
  • Lucas Colley (1)
  • Christoph Gohlke (1)
  • Ralf Gommers (6)
  • Matt Haberland (5)
  • Matthias Koeppe (1)
  • Nick ODell (1)
  • Ilhan Polat (10)
  • Tyler Reddy (44)
  • Martin Schuck (3)
  • Dan Schult (3)
  • stratakis (1) +
  • ਗਗਨਦੀਪ ਸਿੰਘ (Gagandeep Singh) (1)

A total of 13 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.

Complete issue list, PR list, and release asset hashes are available in the associated README.txt.

SciPy 1.17.0

Choose a tag to compare

@tylerjereddy tylerjereddy released this 10 Jan 22:02
Immutable release. Only release title and notes can be modified.
v1.17.0

SciPy 1.17.0 Release Notes

SciPy 1.17.0 is the culmination of 6 months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with python -Wd and check for DeprecationWarning s).
Our development attention will now shift to bug-fix releases on the
1.17.x branch, and on adding new features on the main branch.

This release requires Python 3.11-3.14 and NumPy 1.26.4 or greater.

Highlights of this release

  • Many SciPy functions have gained native support for batching of N-dimensional
    array input and additional support for the array API standard. An overall
    summary of the latter is now available in a set of tables.
  • In scipy.sparse, coo_array now supports indexing. This includes integers,
    slices, arrays, np.newaxis, Ellipsis, in 1D, 2D and the relatively
    new nD. In scipy.sparse.linalg, ARPACK and PROPACK rewrites from Fortran77
    to C now empower the use of external pseudorandom number generators, e.g.
    from numpy.
  • In scipy.spatial, transform.Rotation and transform.RigidTransform
    have been extended to support N-D arrays. geometric_slerp now has support
    for extrapolation.
  • scipy.stats has gained the matrix t and logistic distributions and many
    performance and accuracy improvements.
  • Initial support for 64-bit integer (ILP64) BLAS and LAPACK libraries has
    been added, including for MKL and Apple Accelerate. Please report any issues with
    ILP64 you encounter.

New features

scipy.integrate improvements

  • The integration routines dopri5, dopri853, LSODA, vode, and
    zvode have been ported from Fortran77 to C.
  • scipy.integrate.quad now has a fast path for returning 0 when the integration
    interval is empty.
  • The BDF, DOP853, RK23, RK45, OdeSolver, DenseOutput,
    ode, and complex_ode classes now support subscription, making them
    generic types, for compatibility with scipy-stubs.

scipy.cluster improvements

  • scipy.cluster.hierarchy.is_isomorphic has improved performance and array
    API support.

scipy.interpolate improvements

  • A new bc_type argument has been added to scipy.interpolate.make_splrep,
    scipy.interpolate.make_splprep, and scipy.interpolate.generate_knots to
    control the boundary conditions for spline fitting. Allowed values are
    "not-a-knot" (default) and "periodic".
  • A new derivative method has been added to the
    scipy.interpolate.NdBSpline class, to construct a new spline representing a
    partial derivative of the given spline. This method is similar to the
    BSpline.derivative method of 1-D spline objects. In addition, the
    NdBSpline mutable instance attribute .c was changed into a read-only
    @property.
  • Performance of "cubic" and "quintic" modes of
    scipy.interpolate.RegularGridInterpolator has been improved. Furthermore,
    the (mutable) instance attributes .grid and .values were changed into
    (read-only) properties.
  • Numerical stability of scipy.interpolate.AAA has been improved and it has
    gained a new axis parameter.
  • scipy.interpolate.FloaterHormannInterpolator added support for
    multidimensional, batched inputs and gained a new axis parameter to
    select the interpolation axis.
  • RBFInterpolator has gained an array API standard compatible backend, with an
    improved support for GPU arrays.
  • The AAA, *Interpolator, *Poly, and *Spline classes now
    support subscription, making them generic types, for compatibility with
    scipy-stubs.

scipy.linalg improvements

  • scipy.linalg.inv routine has been improved:

    • it now attempts to detect the structure of its argument and selects an
      appropriate low-level matrix inversion routine. A new assume_a keyword
      allows to bypass the structure detection if the structure is known. For
      batched inputs, the detection is run for each 2D slice, unless an explicit
      value for assume_a is provided (in which case, the structure is
      assumed to be the same for all 2-D slices of the batch);
    • the new lower={True,False} keyword argument has been added to help
      select the upper or lower triangle of the input matrix for symmetric
      inputs; refer to the docstring of scipy.linalg.inv for details;
    • the routine emits a LinAlgWarning if it detects an ill-conditioned
      input;
    • performance for batched inputs has been improved.
  • scipy.linalg.fiedler has gained native support for batched inputs.

  • performance has improved for scipy.linalg.solve with batched inputs
    for certain matrix structures.

scipy.optimize improvements

  • optimize.minimize(method="trust-exact") now accepts a
    solver-specific "subproblem_maxiter" option. This option can be used to
    assure that the algorithm converges for functions with an ill-conditioned
    Hessian.
  • Callback functions used by optimize.minimize(method="slsqp") can
    opt into the new callback interface by accepting a single keyword argument
    intermediate_result.
  • The BroydenFirst, *Jacobian, and Bounds classes now support
    subscription, making them generic types, for compatibility with
    scipy-stubs.

scipy.signal improvements

  • scipy.signal.abcd_normalize gained more informative error messages and the
    documentation was improved.
  • scipy.signal.get_window now accepts the suffixes '_periodic' and
    '_symmetric' to distinguish between periodic and symmetric windows
    (overriding the fftbin parameter). This benefits the functions
    coherence, csd, periodogram, welch, spectrogram,
    stft, istft, resample, resample_poly, firwin,
    firwin2, firwin_2d, check_COLA and check_NOLA, which utilize
    get_window but do not expose the fftbin parameter.
  • scipy.signal.hilbert2 gained the new keyword axes for specifying the
    axes along which the two-dimensional analytic signal should be calculated.
    Furthermore, the documentation of scipy.signal.hilbert and
    scipy.signal.hilbert2 was significantly improved.
  • The ShortTimeFFT and LinearTimeInvariant classes now support
    subscription, making them generic types, for compatibility with
    scipy-stubs.

scipy.sparse improvements

  • coo_array now supports indexing. This includes slices, arrays,
    np.newaxis, Ellipsis, in 1D, 2D and the new nD. So COO format now
    has full support for nD and COO now allows indexing without converting
    formats.
  • Additional sparse construction functions include expand_dims,
    swapaxes, permute_dims, and nD support for the kron function.
  • ARPACK Fortran77 library is ported to C. Among many changes, it is now
    possible to use external random generators including NumPy PRNGs for
    reproducible runs. Previously this was not the case due to internal seeding
    behavior of the original ARPACK code.
  • Similarly, PROPACK Fortran77 library is also ported to C with the same PRNG
    enhancements and other improvements.
  • scipy.sparse.dok_array now supports an update method which can be
    used to update the sparse array using a dict, dict.items()-like iterable,
    or another dok_array matrix. It performs additional validation that keys
    are valid index tuples.
  • scipy.sparse.dia_array.tocsr is approximately three times faster and
    some unnecessary copy operations have been removed from sparse format
    interconversions more broadly.
  • Added scipy.sparse.linalg.funm_multiply_krylov, a restarted Krylov method
    for evaluating y = f(tA) b.
  • In sparse.linalg, the LinearOperator, LaplacianNd, and SuperLU
    classes now support subscription, making them generic types, for
    compatibility with scipy-stubs.
  • In sparse.linalg the eigs and eigsh functions now accept a new
    rng parameter.

scipy.spatial improvements

  • The spatial.transform module has gained an array API standard compatible
    backend.

  • transform.Rotation and transform.RigidTransform have been extended
    from 0D single values and 1D arrays to N-D arrays, with standard indexing and
    broadcasting rules. Both now have the following additions:

    • A shape property.
    • A shape argument to their identity() constructors, which should be
      preferred over the existing num argument. This has also been added as an
      argument for Rotation.random() (RigidTransform does not currently
      have a random constructor).
    • An axis argument to their mean() functions.
  • The resulting shapes for transform.Rotation.from_euler /
    from_davenport have changed to make them consistent with broadcasting
    rules. Angle inputs to Euler angles must now strictly match the number of
    provided axes in the last dimension. The resulting Rotation has the shape
    np.atleast_1d(angles).shape[:-1]. Angle inputs to Davenport angles must
    also match the number of axes in the last dimension. The resulting Rotation
    has the shape ``n...

Read more

SciPy 1.17.0rc2

SciPy 1.17.0rc2 Pre-release
Pre-release

Choose a tag to compare

@tylerjereddy tylerjereddy released this 30 Dec 21:26
Immutable release. Only release title and notes can be modified.
v1.17.0rc2

SciPy 1.17.0 Release Notes

Note: SciPy 1.17.0 is not released yet!

SciPy 1.17.0 is the culmination of 6 months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with python -Wd and check for DeprecationWarning s).
Our development attention will now shift to bug-fix releases on the
1.17.x branch, and on adding new features on the main branch.

This release requires Python 3.11-3.14 and NumPy 1.26.4 or greater.

Highlights of this release

  • Many SciPy functions have gained native support for batching of N-dimensional
    array input and additional support for the array API standard. An overall
    summary of the latter is now available in a set of tables.
  • In scipy.sparse, coo_array now supports indexing. This includes integers,
    slices, arrays, np.newaxis, Ellipsis, in 1D, 2D and the relatively
    new nD. In scipy.sparse.linalg, ARPACK and PROPACK rewrites from Fortran77
    to C now empower the use of external pseudorandom number generators, e.g.
    from numpy.
  • In scipy.spatial, transform.Rotation and transform.RigidTransform
    have been extended to support N-D arrays. geometric_slerp now has support
    for extrapolation.
  • scipy.stats has gained the matrix t and logistic distributions and many
    performance and accuracy improvements.
  • Initial support for 64-bit integer (ILP64) BLAS and LAPACK libraries has
    been added, including for MKL, Apple Accelerate and OpenBLAS. Please
    report any issues with ILP64 you encounter.

New features

scipy.integrate improvements

  • The integration routines dopri5, dopri853, LSODA, vode, and
    zvode have been ported from Fortran77 to C.
  • scipy.integrate.quad now has a fast path for returning 0 when the integration
    interval is empty.
  • The BDF, DOP853, RK23, RK45, OdeSolver, DenseOutput,
    ode, and complex_ode classes now support subscription, making them
    generic types, for compatibility with scipy-stubs.

scipy.cluster improvements

  • scipy.cluster.hierarchy.is_isomorphic has improved performance and array
    API support.

scipy.interpolate improvements

  • A new bc_type argument has been added to scipy.interpolate.make_splrep,
    scipy.interpolate.make_splprep, and scipy.interpolate.generate_knots to
    control the boundary conditions for spline fitting. Allowed values are
    "not-a-knot" (default) and "periodic".
  • A new derivative method has been added to the
    scipy.interpolate.NdBSpline class, to construct a new spline representing a
    partial derivative of the given spline. This method is similar to the
    BSpline.derivative method of 1-D spline objects. In addition, the
    NdBSpline mutable instance attribute .c was changed into a read-only
    @property.
  • Performance of "cubic" and "quintic" modes of
    scipy.interpolate.RegularGridInterpolator has been improved. Furthermore,
    the (mutable) instance attributes .grid and .values were changed into
    (read-only) properties.
  • Numerical stability of scipy.interpolate.AAA has been improved and it has
    gained a new axis parameter.
  • scipy.interpolate.FloaterHormannInterpolator added support for
    multidimensional, batched inputs and gained a new axis parameter to
    select the interpolation axis.
  • RBFInterpolator has gained an array API standard compatible backend, with an
    improved support for GPU arrays.
  • The AAA, *Interpolator, *Poly, and *Spline classes now
    support subscription, making them generic types, for compatibility with
    scipy-stubs.

scipy.linalg improvements

  • scipy.linalg.inv routine has been improved:

    • it now attempts to detect the structure of its argument and selects an
      appropriate low-level matrix inversion routine. A new assume_a keyword
      allows to bypass the structure detection if the structure is known. For
      batched inputs, the detection is run for each 2D slice, unless an explicit
      value for assume_a is provided (in which case, the structure is
      assumed to be the same for all 2-D slices of the batch);
    • the new lower={True,False} keyword argument has been added to help
      select the upper or lower triangle of the input matrix for symmetric
      inputs; refer to the docstring of scipy.linalg.inv for details;
    • the routine emits a LinAlgWarning if it detects an ill-conditioned
      input;
    • performance for batched inputs has been improved.
  • scipy.linalg.fiedler has gained native support for batched inputs.

  • performance has improved for scipy.linalg.solve with batched inputs
    for certain matrix structures.

scipy.optimize improvements

  • optimize.minimize(method="trust-exact") now accepts a
    solver-specific "subproblem_maxiter" option. This option can be used to
    assure that the algorithm converges for functions with an ill-conditioned
    Hessian.
  • Callback functions used by optimize.minimize(method="slsqp") can
    opt into the new callback interface by accepting a single keyword argument
    intermediate_result.
  • The BroydenFirst, *Jacobian, and Bounds classes now support
    subscription, making them generic types, for compatibility with
    scipy-stubs.

scipy.signal improvements

  • scipy.signal.abcd_normalize gained more informative error messages and the
    documentation was improved.
  • scipy.signal.get_window now accepts the suffixes '_periodic' and
    '_symmetric' to distinguish between periodic and symmetric windows
    (overriding the fftbin parameter). This benefits the functions
    coherence, csd, periodogram, welch, spectrogram,
    stft, istft, resample, resample_poly, firwin,
    firwin2, firwin_2d, check_COLA and check_NOLA, which utilize
    get_window but do not expose the fftbin parameter.
  • scipy.signal.hilbert2 gained the new keyword axes for specifying the
    axes along which the two-dimensional analytic signal should be calculated.
    Furthermore, the documentation of scipy.signal.hilbert and
    scipy.signal.hilbert2 was significantly improved.
  • The ShortTimeFFT and LinearTimeInvariant classes now support
    subscription, making them generic types, for compatibility with
    scipy-stubs.

scipy.sparse improvements

  • coo_array now supports indexing. This includes slices, arrays,
    np.newaxis, Ellipsis, in 1D, 2D and the new nD. So COO format now
    has full support for nD and COO now allows indexing without converting
    formats.
  • Additional sparse construction functions include expand_dims,
    swapaxes, permute_dims, and nD support for the kron function.
  • ARPACK Fortran77 library is ported to C. Among many changes, it is now
    possible to use external random generators including NumPy PRNGs for
    reproducible runs. Previously this was not the case due to internal seeding
    behavior of the original ARPACK code.
  • Similarly, PROPACK Fortran77 library is also ported to C with the same PRNG
    enhancements and other improvements.
  • scipy.sparse.dok_array now supports an update method which can be
    used to update the sparse array using a dict, dict.items()-like iterable,
    or another dok_array matrix. It performs additional validation that keys
    are valid index tuples.
  • scipy.sparse.dia_array.tocsr is approximately three times faster and
    some unnecessary copy operations have been removed from sparse format
    interconversions more broadly.
  • Added scipy.sparse.linalg.funm_multiply_krylov, a restarted Krylov method
    for evaluating y = f(tA) b.
  • In sparse.linalg, the LinearOperator, LaplacianNd, and SuperLU
    classes now support subscription, making them generic types, for
    compatibility with scipy-stubs.
  • In sparse.linalg the eigs and eigsh functions now accept a new
    rng parameter.

scipy.spatial improvements

  • The spatial.transform module has gained an array API standard compatible
    backend.

  • transform.Rotation and transform.RigidTransform have been extended
    from 0D single values and 1D arrays to N-D arrays, with standard indexing and
    broadcasting rules. Both now have the following additions:

    • A shape property.
    • A shape argument to their identity() constructors, which should be
      preferred over the existing num argument. This has also been added as an
      argument for Rotation.random() (RigidTransform does not currently
      have a random constructor).
    • An axis argument to their mean() functions.
  • The resulting shapes for transform.Rotation.from_euler /
    from_davenport have changed to make them consistent with broadcasting
    rules. Angle inputs to Euler angles must now strictly match the number of
    provided axes in the last dimension. The resulting Rotation has the shape
    np.atleast_1d(angles).shape[:-1]. Angle inputs to Davenport angles must
    also match the number of axes in the l...

Read more

SciPy 1.17.0rc1

SciPy 1.17.0rc1 Pre-release
Pre-release

Choose a tag to compare

@tylerjereddy tylerjereddy released this 09 Dec 23:50
Immutable release. Only release title and notes can be modified.
v1.17.0rc1

SciPy 1.17.0 Release Notes

Note: SciPy 1.17.0 is not released yet!

SciPy 1.17.0 is the culmination of 6 months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with python -Wd and check for DeprecationWarning s).
Our development attention will now shift to bug-fix releases on the
1.17.x branch, and on adding new features on the main branch.

This release requires Python 3.11-3.14 and NumPy 1.26.4 or greater.

Highlights of this release

  • Many SciPy functions have gained native support for batching of N-dimensional
    array input and additional support for the array API standard. An overall
    summary of the latter is now available in a set of tables.
  • In scipy.sparse, coo_array now has full support for indexing across
    dimensions without needing to convert between sparse formats. ARPACK
    and PROPACK rewrites from Fortran77 to C now empower the use of external
    pseudorandom number generators.
  • In scipy.spatial, transform.Rotation and transform.RigidTransform
    have been extended to support N-D arrays. geometric_slerp now has support
    for extrapolation.
  • scipy.stats has gained the matrix t and logistic distributions and many
    performance and accuracy improvements.
  • Initial support for 64-bit integer (ILP64) BLAS and LAPACK libraries has
    been added, including for MKL, Apple Accelerate and OpenBLAS. Please
    report any issues with ILP64 you encounter.

New features

scipy.integrate improvements

  • The integration routines dopri5, dopri853, LSODA, vode, and
    zvode have been ported from Fortran77 to C.
  • scipy.integrate.quad now has a fast path for returning 0 when the integration
    interval is empty.

scipy.cluster improvements

  • scipy.cluster.hierarchy.is_isomorphic has improved performance and array
    API support.

scipy.interpolate improvements

  • A new bc_type argument has been added to scipy.interpolate.make_splrep
    and scipy.interpolate.make_splprep to control the boundary conditions for
    spline fitting. Allowed values are "not-a-knot" (default) and
    "periodic".
  • A new derivative method has been added to the
    scipy.interpolate.NdBSpline class, to construct a new spline representing a
    partial derivative of the given spline. This method is similar to the
    BSpline.derivative method of 1-D spline objects.
  • Performance of "cubic" and "quintic" modes of
    scipy.interpolate.RegularGridInterpolator has been improved.
  • Numerical stability of scipy.interpolate.AAA has been improved.
  • scipy.interpolate.FloaterHormannInterpolator added support for
    multidimensional, batched inputs and gained a new axis parameter to
    select the interpolation axis.

scipy.linalg improvements

  • scipy.linalg.inv routine has been improved:

    • it now attempts to detect the structure of its argument and selects an
      appropriate low-level matrix inversion routine. A new assume_a keyword
      allows to bypass the structure detection if the structure is known. For
      batched inputs, the detection is run for each 2D slice, unless an explicit
      value for assume_a is provided (in which case, the structure is
      assumed to be the same for all 2-D slices of the batch);
    • the new lower={True,False} keyword argument has been added to help
      select the upper or lower triangle of the input matrix for symmetric
      inputs; refer to the docstring of scipy.linalg.inv for details;
    • the routine emits a LinAlgWarning if it detects an ill-conditioned
      input;
    • performance for batched inputs has been improved.
  • scipy.linalg.fiedler has gained native support for batched inputs.

  • performance has improved for scipy.linalg.solve with batched inputs
    for certain matrix structures.

scipy.optimize improvements

  • optimize.minimize(method="trust-exact") now accepts a
    solver-specific "subproblem_maxiter" option. This option can be used to
    assure that the algorithm converges for functions with an ill-conditioned
    Hessian.
  • Callback functions used by optimize.minimize(method="slsqp") can
    opt into the new callback interface by accepting a single keyword argument
    intermediate_result.

scipy.signal improvements

  • scipy.signal.abcd_normalize gained more informative error messages and the
    documentation was improved.
  • scipy.signal.get_window now accepts the suffixes '_periodic' and
    '_symmetric' to distinguish between periodic and symmetric windows
    (overriding the fftbin parameter). This benefits the functions
    coherence, csd, periodogram, welch, spectrogram,
    stft, istft, resample, resample_poly, firwin,
    firwin2, firwin_2d, check_COLA and check_NOLA, which utilize
    get_window but do not expose the fftbin parameter.
  • scipy.signal.hilbert2 gained the new keyword axes for specifying the
    axes along which the two-dimensional analytic signal should be calculated.
    Furthermore, the documentation of scipy.signal.hilbert and
    scipy.signal.hilbert2 was significantly improved.

scipy.sparse improvements

  • coo_array now supports indexing. This includes slices, arrays,
    np.newaxis, Ellipsis, in 1D, 2D and the new nD. So COO format now
    has full support for nD and COO now allows indexing without converting
    formats.
  • Additional sparse construction functions include expand_dims,
    swapaxes, permute_dims, and nD support for the kron function.
  • ARPACK Fortran77 library is ported to C. Among many changes, it is now
    possible to use external random generators including NumPy PRNGs for
    reproducible runs. Previously this was not the case due to internal seeding
    behavior of the original ARPACK code.
  • Similarly, PROPACK Fortran77 library is also ported to C with the same PRNG
    enhancements and other improvements.
  • scipy.sparse.dok_array now supports an update method which can be
    used to update the sparse array using a dict, dict.items()-like iterable,
    or another dok_array matrix. It performs additional validation that keys
    are valid index tuples.
  • scipy.sparse.dia_array.tocsr is approximately three times faster and
    some unneccesary copy operations have been removed from sparse format
    interconversions more broadly.
  • Added scipy.sparse.linalg.funm_multiply_krylov, a restarted Krylov method
    for evaluating y = f(tA) b.

scipy.spatial improvements

  • The spatial.transform module has gained an array API standard compatible
    backend.

  • transform.Rotation and transform.RigidTransform have been extended
    from 0D single values and 1D arrays to N-D arrays, with standard indexing and
    broadcasting rules. Both now have the following additions:

    • A shape property.
    • A shape argument to their identity() constructors, which should be
      preferred over the existing num argument. This has also been added as an
      argument for Rotation.random() (RigidTransform does not currently
      have a random constructor).
    • An axis argument to their mean() functions.
  • The resulting shapes for transform.Rotation.from_euler /
    from_davenport have changed to make them consistent with broadcasting
    rules. Angle inputs to Euler angles must now strictly match the number of
    provided axes in the last dimension. The resulting Rotation has the shape
    np.atleast_1d(angles).shape[:-1]. Angle inputs to Davenport angles must
    also match the number of axes in the last dimension. The resulting Rotation
    has the shape np.broadcast_shapes(np.atleast_2d(axes).shape[:-2], np.atleast_1d(angles).shape[:-1]).

  • Rotation.from_matrix has gained an assume_valid argument that allows for
    performance improvements when users can guarantee valid matrix inputs.
    from_matrix is now also faster in cases where a known orthogonal matrix
    is used.

  • The scipy.spatial.geometric_slerp function can now extrapolate. When given a
    value outside the range [0, 1], geometric_slerp() will continue with
    the same rotation outside this range. For example, if spherically
    interpolating with start being a point on the equator, and end
    being a point at the north pole, then a value of t=-1 would give you a
    point at the south pole.

  • Rotation.as_euler and Rotation.as_davenport methods have gained a
    suppress_warnings parameter to enable suppression of gimbal lock warnings.

scipy.special improvements

  • The following functions for statistical applications have significantly
    improved parameter ranges and reduced error rates: btdtria, btdtrib,
    chdtriv, chndtr, chndtrix, chndtridf, chndtrinc, fdtr,
    fdtrc, fdtri, gdtria, gdtrix, pdtrik, stdtr and
    stdtrit.
  • The incomplete beta functions betainc, betaincc, betaincinv and
    betainccinv are improved for...
Read more

SciPy 1.16.3

Choose a tag to compare

@tylerjereddy tylerjereddy released this 28 Oct 17:42
Immutable release. Only release title and notes can be modified.
v1.16.3

SciPy 1.16.3 Release Notes

SciPy 1.16.3 is a bug-fix release with no new features compared to 1.16.2.

Authors

  • Name (commits)
  • ChrisAB (1) +
  • Lucas Colley (1)
  • Ralf Gommers (3)
  • Matt Haberland (8)
  • Nick ODell (2)
  • Ilhan Polat (1)
  • Tyler Reddy (28)
  • Lucas Roberts (2)

A total of 8 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.

The full issue and pull request lists, and the release asset hashes are available
in the associated README.txt file.

SciPy 1.16.2

Choose a tag to compare

@tylerjereddy tylerjereddy released this 11 Sep 17:48
v1.16.2

SciPy 1.16.2 Release Notes

SciPy 1.16.2 is a bug-fix release with no new features
compared to 1.16.1. This is the first stable release of
SciPy to provide Windows on ARM wheels on PyPI.

Authors

  • Name (commits)
  • Dietrich Brunn (1)
  • Ralf Gommers (6)
  • Adam Jones (1)
  • Gleb Khmyznikov (1) +
  • Jost Migenda (1) +
  • newyork_loki (1)
  • Nick ODell (3)
  • Dimitri Papadopoulos Orfanos (1)
  • Ilhan Polat (2)
  • Tyler Reddy (26)
  • Mugunthan Selvanayagam (1) +
  • Shuhei Watanabe (1) +

A total of 12 people contributed to this release.
People with a "+" by their names contributed a patch for the first time.
This list of names is automatically generated, and may not be fully complete.

The full issue and pull request lists, and the release asset hashes are available
in the associated README.txt file.