scipy 1.16.1__cp311-cp311-macosx_12_0_arm64.whl → 1.16.2__cp311-cp311-macosx_12_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- scipy/.dylibs/libscipy_openblas.dylib +0 -0
- scipy/__config__.py +12 -12
- scipy/_cyutility.cpython-311-darwin.so +0 -0
- scipy/_lib/_ccallback_c.cpython-311-darwin.so +0 -0
- scipy/_lib/_test_deprecation_call.cpython-311-darwin.so +0 -0
- scipy/_lib/messagestream.cpython-311-darwin.so +0 -0
- scipy/cluster/_hierarchy.cpython-311-darwin.so +0 -0
- scipy/cluster/_optimal_leaf_ordering.cpython-311-darwin.so +0 -0
- scipy/cluster/_vq.cpython-311-darwin.so +0 -0
- scipy/fft/_pocketfft/pypocketfft.cpython-311-darwin.so +0 -0
- scipy/fftpack/convolve.cpython-311-darwin.so +0 -0
- scipy/integrate/_dop.cpython-311-darwin.so +0 -0
- scipy/integrate/_lsoda.cpython-311-darwin.so +0 -0
- scipy/integrate/_odepack.cpython-311-darwin.so +0 -0
- scipy/integrate/_test_odeint_banded.cpython-311-darwin.so +0 -0
- scipy/integrate/_vode.cpython-311-darwin.so +0 -0
- scipy/interpolate/_dfitpack.cpython-311-darwin.so +0 -0
- scipy/interpolate/_dierckx.cpython-311-darwin.so +0 -0
- scipy/interpolate/_interpnd.cpython-311-darwin.so +0 -0
- scipy/interpolate/_ppoly.cpython-311-darwin.so +0 -0
- scipy/interpolate/_rgi_cython.cpython-311-darwin.so +0 -0
- scipy/io/_fast_matrix_market/_fmm_core.cpython-311-darwin.so +0 -0
- scipy/io/_test_fortran.cpython-311-darwin.so +0 -0
- scipy/io/matlab/_mio5_utils.cpython-311-darwin.so +0 -0
- scipy/io/matlab/_mio_utils.cpython-311-darwin.so +0 -0
- scipy/io/matlab/_streams.cpython-311-darwin.so +0 -0
- scipy/linalg/_cythonized_array_utils.cpython-311-darwin.so +0 -0
- scipy/linalg/_decomp_interpolative.cpython-311-darwin.so +0 -0
- scipy/linalg/_decomp_lu_cython.cpython-311-darwin.so +0 -0
- scipy/linalg/_decomp_update.cpython-311-darwin.so +0 -0
- scipy/linalg/_fblas.cpython-311-darwin.so +0 -0
- scipy/linalg/_flapack.cpython-311-darwin.so +0 -0
- scipy/linalg/_matfuncs_expm.cpython-311-darwin.so +0 -0
- scipy/linalg/_matfuncs_schur_sqrtm.cpython-311-darwin.so +0 -0
- scipy/linalg/_matfuncs_sqrtm_triu.cpython-311-darwin.so +0 -0
- scipy/linalg/_solve_toeplitz.cpython-311-darwin.so +0 -0
- scipy/linalg/cython_blas.cpython-311-darwin.so +0 -0
- scipy/linalg/cython_lapack.cpython-311-darwin.so +0 -0
- scipy/linalg/tests/test_lapack.py +5 -1
- scipy/ndimage/_cytest.cpython-311-darwin.so +0 -0
- scipy/ndimage/_ni_label.cpython-311-darwin.so +0 -0
- scipy/odr/__odrpack.cpython-311-darwin.so +0 -0
- scipy/optimize/_bglu_dense.cpython-311-darwin.so +0 -0
- scipy/optimize/_highspy/_core.cpython-311-darwin.so +0 -0
- scipy/optimize/_highspy/_highs_options.cpython-311-darwin.so +0 -0
- scipy/optimize/_lbfgsb.cpython-311-darwin.so +0 -0
- scipy/optimize/_lbfgsb_py.py +2 -2
- scipy/optimize/_lsq/givens_elimination.cpython-311-darwin.so +0 -0
- scipy/optimize/_moduleTNC.cpython-311-darwin.so +0 -0
- scipy/optimize/_pava_pybind.cpython-311-darwin.so +0 -0
- scipy/optimize/_slsqp_py.py +5 -5
- scipy/optimize/_slsqplib.cpython-311-darwin.so +0 -0
- scipy/optimize/_trlib/_trlib.cpython-311-darwin.so +0 -0
- scipy/optimize/cython_optimize/_zeros.cpython-311-darwin.so +0 -0
- scipy/optimize/tests/test_optimize.py +9 -0
- scipy/signal/_peak_finding_utils.cpython-311-darwin.so +0 -0
- scipy/signal/_short_time_fft.py +74 -33
- scipy/signal/_sosfilt.cpython-311-darwin.so +0 -0
- scipy/signal/_spectral_py.py +2 -2
- scipy/signal/_upfirdn_apply.cpython-311-darwin.so +0 -0
- scipy/signal/tests/test_short_time_fft.py +9 -0
- scipy/signal/tests/test_signaltools.py +8 -2
- scipy/signal/tests/test_spectral.py +39 -1
- scipy/sparse/_csparsetools.cpython-311-darwin.so +0 -0
- scipy/sparse/csgraph/_flow.cpython-311-darwin.so +0 -0
- scipy/sparse/csgraph/_matching.cpython-311-darwin.so +0 -0
- scipy/sparse/csgraph/_min_spanning_tree.cpython-311-darwin.so +0 -0
- scipy/sparse/csgraph/_reordering.cpython-311-darwin.so +0 -0
- scipy/sparse/csgraph/_shortest_path.cpython-311-darwin.so +0 -0
- scipy/sparse/csgraph/_tools.cpython-311-darwin.so +0 -0
- scipy/sparse/csgraph/_traversal.cpython-311-darwin.so +0 -0
- scipy/sparse/linalg/_dsolve/_superlu.cpython-311-darwin.so +0 -0
- scipy/sparse/linalg/_eigen/arpack/_arpack.cpython-311-darwin.so +0 -0
- scipy/sparse/linalg/_propack/_cpropack.cpython-311-darwin.so +0 -0
- scipy/sparse/linalg/_propack/_dpropack.cpython-311-darwin.so +0 -0
- scipy/sparse/linalg/_propack/_spropack.cpython-311-darwin.so +0 -0
- scipy/sparse/linalg/_propack/_zpropack.cpython-311-darwin.so +0 -0
- scipy/spatial/_ckdtree.cpython-311-darwin.so +0 -0
- scipy/spatial/_distance_pybind.cpython-311-darwin.so +0 -0
- scipy/spatial/_hausdorff.cpython-311-darwin.so +0 -0
- scipy/spatial/_qhull.cpython-311-darwin.so +0 -0
- scipy/spatial/_voronoi.cpython-311-darwin.so +0 -0
- scipy/spatial/qhull_src/COPYING_QHULL.txt +39 -0
- scipy/spatial/tests/test_distance.py +5 -4
- scipy/spatial/transform/_rigid_transform.cpython-311-darwin.so +0 -0
- scipy/spatial/transform/_rotation.cpython-311-darwin.so +0 -0
- scipy/special/_comb.cpython-311-darwin.so +0 -0
- scipy/special/_ellip_harm_2.cpython-311-darwin.so +0 -0
- scipy/special/_specfun.cpython-311-darwin.so +0 -0
- scipy/special/_test_internal.cpython-311-darwin.so +0 -0
- scipy/special/_ufuncs.cpython-311-darwin.so +0 -0
- scipy/special/_ufuncs_cxx.cpython-311-darwin.so +0 -0
- scipy/special/cython_special.cpython-311-darwin.so +0 -0
- scipy/stats/_ansari_swilk_statistics.cpython-311-darwin.so +0 -0
- scipy/stats/_biasedurn.cpython-311-darwin.so +0 -0
- scipy/stats/_levy_stable/levyst.cpython-311-darwin.so +0 -0
- scipy/stats/_qmc_cy.cpython-311-darwin.so +0 -0
- scipy/stats/_qmvnt_cy.cpython-311-darwin.so +0 -0
- scipy/stats/_rcont/rcont.cpython-311-darwin.so +0 -0
- scipy/stats/_sobol.cpython-311-darwin.so +0 -0
- scipy/stats/_stats.cpython-311-darwin.so +0 -0
- scipy/stats/_unuran/unuran_wrapper.cpython-311-darwin.so +0 -0
- scipy/version.py +2 -2
- {scipy-1.16.1.dist-info → scipy-1.16.2.dist-info}/METADATA +2 -2
- {scipy-1.16.1.dist-info → scipy-1.16.2.dist-info}/RECORD +107 -106
- {scipy-1.16.1.dist-info → scipy-1.16.2.dist-info}/LICENSE.txt +0 -0
- {scipy-1.16.1.dist-info → scipy-1.16.2.dist-info}/WHEEL +0 -0
@@ -1055,7 +1055,6 @@ class TestLombscargle:
|
|
1055
1055
|
delta = f[1] - f[0]
|
1056
1056
|
assert(w - f[np.argmax(P)] < (delta/2.))
|
1057
1057
|
|
1058
|
-
|
1059
1058
|
def test_amplitude(self):
|
1060
1059
|
# Test if height of peak in unnormalized Lomb-Scargle periodogram
|
1061
1060
|
# corresponds to amplitude of the generated input signal.
|
@@ -1503,6 +1502,45 @@ class TestLombscargle:
|
|
1503
1502
|
|
1504
1503
|
lombscargle(t, y, freqs)
|
1505
1504
|
|
1505
|
+
def test_input_mutation(self):
|
1506
|
+
# this tests for mutation of the input arrays
|
1507
|
+
# https://github.com/scipy/scipy/issues/23474
|
1508
|
+
|
1509
|
+
# Input parameters
|
1510
|
+
ampl = 2.
|
1511
|
+
w = 1.
|
1512
|
+
phi = 0.5 * np.pi
|
1513
|
+
nin = 100
|
1514
|
+
nout = 1000
|
1515
|
+
p = 0.7 # Fraction of points to select
|
1516
|
+
|
1517
|
+
# Randomly select a fraction of an array with timesteps
|
1518
|
+
rng = np.random.default_rng()
|
1519
|
+
r = rng.random(nin)
|
1520
|
+
t = np.linspace(0.01*np.pi, 10.*np.pi, nin)[r >= p]
|
1521
|
+
|
1522
|
+
# Plot a sine wave for the selected times
|
1523
|
+
y = ampl * np.sin(w*t + phi)
|
1524
|
+
|
1525
|
+
# Define the array of frequencies for which to compute the periodogram
|
1526
|
+
f = np.linspace(0.01, 10., nout)
|
1527
|
+
|
1528
|
+
weights = np.ones_like(y)
|
1529
|
+
|
1530
|
+
# create original copies before passing
|
1531
|
+
t_org = t.copy()
|
1532
|
+
y_org = y.copy()
|
1533
|
+
f_org = f.copy()
|
1534
|
+
weights_org = weights.copy()
|
1535
|
+
|
1536
|
+
lombscargle(t, y, f, precenter=True, weights=weights)
|
1537
|
+
|
1538
|
+
# check all 4 array inputs
|
1539
|
+
assert_array_equal(t, t_org)
|
1540
|
+
assert_array_equal(y, y_org)
|
1541
|
+
assert_array_equal(f, f_org)
|
1542
|
+
assert_array_equal(weights, weights_org)
|
1543
|
+
|
1506
1544
|
|
1507
1545
|
class TestSTFT:
|
1508
1546
|
@pytest.mark.thread_unsafe
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,39 @@
|
|
1
|
+
Qhull, Copyright (c) 1993-2020
|
2
|
+
|
3
|
+
C.B. Barber
|
4
|
+
Arlington, MA
|
5
|
+
|
6
|
+
and
|
7
|
+
|
8
|
+
The National Science and Technology Research Center for
|
9
|
+
Computation and Visualization of Geometric Structures
|
10
|
+
(The Geometry Center)
|
11
|
+
University of Minnesota
|
12
|
+
|
13
|
+
email: qhull@qhull.org
|
14
|
+
|
15
|
+
This software includes Qhull from C.B. Barber and The Geometry Center.
|
16
|
+
Files derived from Qhull 1.0 are copyrighted by the Geometry Center. The
|
17
|
+
remaining files are copyrighted by C.B. Barber. Qhull is free software
|
18
|
+
and may be obtained via http from www.qhull.org. It may be freely copied,
|
19
|
+
modified, and redistributed under the following conditions:
|
20
|
+
|
21
|
+
1. All copyright notices must remain intact in all files.
|
22
|
+
|
23
|
+
2. A copy of this text file must be distributed along with any copies
|
24
|
+
of Qhull that you redistribute; this includes copies that you have
|
25
|
+
modified, or copies of programs or other software products that
|
26
|
+
include Qhull.
|
27
|
+
|
28
|
+
3. If you modify Qhull, you must include a notice giving the
|
29
|
+
name of the person performing the modification, the date of
|
30
|
+
modification, and the reason for such modification.
|
31
|
+
|
32
|
+
4. When distributing modified versions of Qhull, or other software
|
33
|
+
products that include Qhull, you must provide notice that the original
|
34
|
+
source code may be obtained as noted above.
|
35
|
+
|
36
|
+
5. There is no warranty or other guarantee of fitness for Qhull, it is
|
37
|
+
provided solely "as is". Bug reports or fixes may be sent to
|
38
|
+
qhull_bug@qhull.org; the authors may or may not act on them as
|
39
|
+
they desire.
|
@@ -32,14 +32,14 @@
|
|
32
32
|
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
33
33
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
34
34
|
|
35
|
-
import sys
|
36
|
-
import os.path
|
37
|
-
|
38
35
|
from functools import wraps, partial
|
36
|
+
import os.path
|
37
|
+
import sys
|
38
|
+
import sysconfig
|
39
|
+
import warnings
|
39
40
|
import weakref
|
40
41
|
|
41
42
|
import numpy as np
|
42
|
-
import warnings
|
43
43
|
from numpy.linalg import norm
|
44
44
|
from numpy.testing import (verbose, assert_,
|
45
45
|
assert_array_equal, assert_equal,
|
@@ -632,6 +632,7 @@ class TestCdist:
|
|
632
632
|
assert_allclose(y1, y2, rtol=eps, verbose=verbose > 2)
|
633
633
|
|
634
634
|
@pytest.mark.thread_unsafe
|
635
|
+
@pytest.mark.skipif(sysconfig.get_platform() == 'win-arm64', reason="numpy#29442")
|
635
636
|
def test_cdist_out(self, metric):
|
636
637
|
# Test that out parameter works properly
|
637
638
|
eps = 1e-15
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
scipy/version.py
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
"""
|
3
3
|
Module to expose more detailed version info for the installed `scipy`
|
4
4
|
"""
|
5
|
-
version = "1.16.
|
5
|
+
version = "1.16.2"
|
6
6
|
full_version = version
|
7
7
|
short_version = version.split('.dev')[0]
|
8
|
-
git_revision = "
|
8
|
+
git_revision = "b1296b9b4393e251511fe8fdd3e58c22a1124899"
|
9
9
|
release = 'dev' not in version and '+' not in version
|
10
10
|
|
11
11
|
if not release:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: scipy
|
3
|
-
Version: 1.16.
|
3
|
+
Version: 1.16.2
|
4
4
|
Summary: Fundamental algorithms for scientific computing in Python
|
5
5
|
Maintainer-Email: SciPy Developers <scipy-dev@python.org>
|
6
6
|
License: Copyright (c) 2001-2002 Enthought, Inc. 2003, SciPy Developers.
|
@@ -964,7 +964,7 @@ Project-URL: tracker, https://github.com/scipy/scipy/issues
|
|
964
964
|
Requires-Python: >=3.11
|
965
965
|
Requires-Dist: numpy<2.6,>=1.25.2
|
966
966
|
Provides-Extra: test
|
967
|
-
Requires-Dist: pytest; extra == "test"
|
967
|
+
Requires-Dist: pytest>=8.0.0; extra == "test"
|
968
968
|
Requires-Dist: pytest-cov; extra == "test"
|
969
969
|
Requires-Dist: pytest-timeout; extra == "test"
|
970
970
|
Requires-Dist: pytest-xdist; extra == "test"
|