From charlesr.harris at gmail.com Tue Jun 8 13:52:20 2021 From: charlesr.harris at gmail.com (Charles R Harris) Date: Tue, 8 Jun 2021 11:52:20 -0600 Subject: [SciPy-User] NumPy 1.21.0rc2 released Message-ID: Hi All, On behalf of the NumPy team I am pleased to announce the release of NumPy 1.21.0rc2. The highlights are - continued SIMD work covering more functions and platforms, - initial work on the new dtype infrastructure and casting, - universal2 wheels for Python 3.8 and Python 3.9 on Mac, - improved documentation, - improved annotations, - new ``PCG64DXSM`` bitgenerator for random numbers. This NumPy release is the result of 571 merged pull requests contributed by 173 people. The Python versions supported for this release are 3.7-3.9, support for Python 3.10 will be added after Python 3.10 is released. Wheels can be downloaded from PyPI ; source archives, release notes, and wheel hashes are available on Github . Linux users will need pip >= 0.19.3 in order to install manylinux2010 and manylinux2014 wheels. *Contributors* A total of 171 people contributed to this release. People with a "+" by their names contributed a patch for the first time. - @8bitmp3 + - @DWesl + - @Endolith - @Illviljan + - @Lbogula + - @Lisa + - @Patrick + - @Scian + - @h-vetinari + - @h6197627 + - @jbCodeHub + - @legoffant + - @sfolje0 + - @tautaus + - @yetanothercheer + - Abhay Raghuvanshi + - Adrian Price-Whelan + - Aerik Pawson + - Agbonze Osazuwa + - Aitik Gupta + - Al-Baraa El-Hag - Alex Henrie - Alexander Hunt + - Aliz? Papp + - Allan Haldane - Amarnath1904 + - Amrit Krishnan + - Andras Deak - AngelGris + - Anne Archibald - Anthony Vo + - Antony Lee - Atharva-Vidwans + - Ayush Verma + - Bas van Beek - Bharat Raghunathan - Bhargav V + - Brian Soto - Carl Michal + - Charles Harris - Charles Stern + - Chiara Marmo + - Chris Barnes + - Chris Vavaliaris - Christina Hedges + - Christoph Gohlke - Christopher Dahlin + - Christos Efstathiou + - Chunlin Fang - Constanza Fierro + - Daniel Evans + - Daniel Montes + - Dario Mory + - David Carlier + - David Stansby - Deepyaman Datta + - Derek Homeier - Dong Keun Oh + - Dylan Cutler + - Eric Larson - Eric Wieser - Eva Jau + - Evgeni Burovski - FX Coudert + - Faris A Chugthai + - Filip Ter + - Filip Trojan + - Fran?ois Le Lay + - Ganesh Kathiresan - Giannis Zapantis + - Giulio Procopio + - Greg Lucas + - Hollow Man + - Holly Corbett + - I-Shen Leong + - Inessa Pawson - Isabela Presedo-Floyd - Ismael Jimenez + - Isuru Fernando - Jakob Jakobson - James Gerity + - Jamie Macey + - Jasmin Classen + - Jody Klymak + - Joseph Fox-Rabinovitz - J?rome Eertmans + - J?r?me Kieffer + - Kamil Choudhury + - Kasia Leszek + - Keller Meier + - Kevin Sheppard - Kulin Seth + - Kumud Lakara + - Laura Kopf + - Laura Martens + - Leo Singer + - Leonardus Chen + - Lima Tango + - Lumir Balhar + - Maia Kaplan + - Mainak Debnath + - Marco Aur?lio da Costa + - Marta Lemanczyk + - Marten van Kerkwijk - Mary Conley + - Marysia Winkels + - Mateusz Sok?? + - Matt Haberland - Matt Hall + - Matt Ord + - Matthew Badin + - Matthias Bussonnier - Matthias Geier - Matti Picus - Mat?as R?os + - Maxim Belkin + - Melissa Weber Mendon?a - Meltem Eren Copur + - Michael Dubravski + - Michael Lamparski - Michal W. Tarnowski + - Micha? G?rny + - Mike Boyle + - Mike Toews - Misal Raj + - Mitchell Faas + - Mukulikaa Parhari + - Neil Girdhar + - Nicholas McKibben + - Nico Schl?mer - Nicolas Hug + - Nilo Kruchelski + - Nirjas Jakilim + - Ohad Ravid + - Olivier Grisel - Pamphile ROY + - Panos Mavrogiorgos + - Patrick T. Komiske III + - Pearu Peterson - Raghuveer Devulapalli - Ralf Gommers - Ra?l Mont?n Pinillos + - Rin Arakaki + - Robert Kern - Rohit Sanjay - Roman Yurchak - Ronan Lamy - Ross Barnowski - Ryan C Cooper - Ryan Polley + - Ryan Soklaski - Sabrina Simao + - Sayed Adel - Sebastian Berg - Shen Zhou + - Stefan van der Walt - Sylwester Arabas + - Takanori Hirano - Tania Allard + - Thomas J. Fan + - Thomas Orgis + - Tim Hoffmann - Tomoki, Karatsu + - Tong Zou + - Touqir Sajed + - Tyler Reddy - Wansoo Kim - Warren Weckesser - Weh Andreas + - Yang Hau - Yashasvi Misra + - Zolboo Erdenebaatar + - Zolisa Bleki Cheers, Charles Harris Reply allReplyForward -------------- next part -------------- An HTML attachment was scrubbed... URL: From jni at fastmail.com Sun Jun 20 22:23:17 2021 From: jni at fastmail.com (Juan Nunez-Iglesias) Date: Mon, 21 Jun 2021 12:23:17 +1000 Subject: [SciPy-User] [Numpy-discussion] ANN: SciPy 1.7.0 In-Reply-To: References: Message-ID: <0CE4BE69-971D-401E-AF82-B34F6BF3E6A5@fastmail.com> It appears that previous doc links have been broken without redirects? e.g.: https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.distance_transform_edt.html#scipy.ndimage.distance_transform_edt is 404. The new link is at: https://docs.scipy.org/doc/scipy/reference/reference/generated/scipy.ndimage.distance_transform_edt.html#scipy.ndimage.distance_transform_edt Note the extra ?reference? in the URL. Was this a conscious choice or an unforeseen side effect of moving to the PyData theme? There?s a *lot* of links to the docs out there. Juan. > On 21 Jun 2021, at 5:44 am, Tyler Reddy wrote: > > Hi all, > > On behalf of the SciPy development team I'm pleased to announce > the release of SciPy 1.7.0. > > Sources and binary wheels can be found at: > https://pypi.org/project/scipy/ > and at: > https://github.com/scipy/scipy/releases/tag/v1.7.0 > > One of a few ways to install this release with pip: > > pip install scipy==1.7.0 > > ===================== > SciPy 1.7.0 Release Notes > ===================== > > SciPy 1.7.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.7.x branch, and on adding new features on the master branch. > > This release requires Python 3.7+ and NumPy 1.16.5 or greater. > > For running on PyPy, PyPy3 6.0+ is required. > > > **************************** > Highlights of this release > **************************** > > - A new submodule for quasi-Monte Carlo, `scipy.stats.qmc`, was added > - The documentation design was updated to use the same PyData-Sphinx theme as > NumPy and other ecosystem libraries. > - We now vendor and leverage the Boost C++ library to enable numerous > improvements for long-standing weaknesses in `scipy.stats` > - `scipy.stats` has six new distributions, eight new (or overhauled) > hypothesis tests, a new function for bootstrapping, a class that enables > fast random variate sampling and percentile point function evaluation, > and many other enhancements. > - ``cdist`` and ``pdist`` distance calculations are faster for several metrics, > especially weighted cases, thanks to a rewrite to a new C++ backend framework > - A new class for radial basis function interpolation, `RBFInterpolator`, was > added to address issues with the `Rbf` class. > > We gratefully acknowledge the Chan-Zuckerberg Initiative Essential Open Source > Software for Science program for supporting many of the improvements to > `scipy.stats`. > > *************** > New features > *************** > > `scipy.cluster` improvements > ====================== > > An optional argument, ``seed``, has been added to ``kmeans`` and ``kmeans2`` to > set the random generator and random state. > > `scipy.interpolate` improvements > ========================= > > Improved input validation and error messages for ``fitpack.bispev`` and > ``fitpack.parder`` for scenarios that previously caused substantial confusion > for users. > > The class `RBFInterpolator` was added to supersede the `Rbf` class. The new > class has usage that more closely follows other interpolator classes, corrects > sign errors that caused unexpected smoothing behavior, includes polynomial > terms in the interpolant (which are necessary for some RBF choices), and > supports interpolation using only the k-nearest neighbors for memory > efficiency. > > `scipy.linalg` improvements > ===================== > > An LAPACK wrapper was added for access to the ``tgexc`` subroutine. > > `scipy.ndimage` improvements > ======================= > > `scipy.ndimage.affine_transform` is now able to infer the ``output_shape`` from > the ``out`` array. > > `scipy.optimize` improvements > ======================= > > The optional parameter ``bounds`` was added to > ``_minimize_neldermead`` to support bounds constraints > for the Nelder-Mead solver. > > ``trustregion`` methods ``trust-krylov``, ``dogleg`` and ``trust-ncg`` can now > estimate ``hess`` by finite difference using one of > ``["2-point", "3-point", "cs"]``. > > ``halton`` was added as a ``sampling_method`` in `scipy.optimize.shgo`. > ``sobol`` was fixed and is now using `scipy.stats.qmc.Sobol`. > > ``halton`` and ``sobol`` were added as ``init`` methods in > `scipy.optimize.differential_evolution.` > > ``differential_evolution`` now accepts an ``x0`` parameter to provide an > initial guess for the minimization. > > ``least_squares`` has a modest performance improvement when SciPy is built > with Pythran transpiler enabled. > > When ``linprog`` is used with ``method`` ``'highs'``, ``'highs-ipm'``, or > ``'highs-ds'``, the result object now reports the marginals (AKA shadow > prices, dual values) and residuals associated with each constraint. > > `scipy.signal` improvements > ===================== > > ``get_window`` supports ``general_cosine`` and ``general_hamming`` window > functions. > > `scipy.signal.medfilt2d` now releases the GIL where appropriate to enable > performance gains via multithreaded calculations. > > `scipy.sparse` improvements > ====================== > > Addition of ``dia_matrix`` sparse matrices is now faster. > > > `scipy.spatial` improvements > ====================== > > ``distance.cdist`` and ``distance.pdist`` performance has greatly improved for > certain weighted metrics. Namely: ``minkowski``, ``euclidean``, ``chebyshev``, > ``canberra``, and ``cityblock``. > > Modest performance improvements for many of the unweighted ``cdist`` and > ``pdist`` metrics noted above. > > The parameter ``seed`` was added to `scipy.spatial.vq.kmeans` and > `scipy.spatial.vq.kmeans2`. > > The parameters ``axis`` and ``keepdims`` where added to > `scipy.spatial.distance.jensenshannon`. > > The ``rotation`` methods ``from_rotvec`` and ``as_rotvec`` now accept a > ``degrees`` argument to specify usage of degrees instead of radians. > > `scipy.special` improvements > ====================== > > Wright's generalized Bessel function for positive arguments was added as > `scipy.special.wright_bessel.` > > An implementation of the inverse of the Log CDF of the Normal Distribution is > now available via `scipy.special.ndtri_exp`. > > `scipy.stats` improvements > ==================== > > Hypothesis Tests > ----------------------- > > The Mann-Whitney-Wilcoxon test, ``mannwhitneyu``, has been rewritten. It now > supports n-dimensional input, an exact test method when there are no ties, > and improved documentation. Please see "Other changes" for adjustments to > default behavior. > > The new function `scipy.stats.binomtest` replaces `scipy.stats.binom_test`. The > new function returns an object that calculates a confidence intervals of the > proportion parameter. Also, performance was improved from O(n) to O(log(n)) by > using binary search. > > The two-sample version of the Cramer-von Mises test is implemented in > `scipy.stats.cramervonmises_2samp`. > > The Alexander-Govern test is implemented in the new function > `scipy.stats.alexandergovern`. > > The new functions `scipy.stats.barnard_exact` and `scipy.stats. boschloo_exact` > respectively perform Barnard's exact test and Boschloo's exact test > for 2x2 contingency tables. > > The new function `scipy.stats.page_trend_test` performs Page's test for ordered > alternatives. > > The new function `scipy.stats.somersd` performs Somers' D test for ordinal > association between two variables. > > An option, ``permutations``, has been added in `scipy.stats.ttest_ind` to > perform permutation t-tests. A ``trim`` option was also added to perform > a trimmed (Yuen's) t-test. > > The ``alternative`` parameter was added to the ``skewtest``, ``kurtosistest``, > ``ranksums``, ``mood``, ``ansari``, ``linregress``, and ``spearmanr`` functions > to allow one-sided hypothesis testing. > > Sample statistics > ----------------------- > > The new function `scipy.stats.differential_entropy` estimates the differential > entropy of a continuous distribution from a sample. > > The ``boxcox`` and ``boxcox_normmax`` now allow the user to control the > optimizer used to minimize the negative log-likelihood function. > > A new function `scipy.stats.contingency.relative_risk` calculates the > relative risk, or risk ratio, of a 2x2 contingency table. The object > returned has a method to compute the confidence interval of the relative risk. > > Performance improvements in the ``skew`` and ``kurtosis`` functions achieved > by removal of repeated/redundant calculations. > > Substantial performance improvements in `scipy.stats.mstats.hdquantiles_sd`. > > The new function `scipy.stats.contingency.association` computes several > measures of association for a contingency table: Pearsons contingency > coefficient, Cramer's V, and Tschuprow's T. > > The parameter ``nan_policy`` was added to `scipy.stats.zmap` to provide options > for handling the occurrence of ``nan`` in the input data. > > The parameter ``ddof`` was added to `scipy.stats.variation` and > `scipy.stats.mstats.variation`. > > The parameter ``weights`` was added to `scipy.stats.gmean`. > > Statistical Distributions > ------------------------------- > > We now vendor and leverage the Boost C++ library to address a number of > previously reported issues in ``stats``. Notably, ``beta``, ``binom``, > ``nbinom`` now have Boost backends, and it is straightforward to leverage > the backend for additional functions. > > The skew Cauchy probability distribution has been implemented as > `scipy.stats.skewcauchy`. > > The Zipfian probability distribution has been implemented as > `scipy.stats.zipfian`. > > The new distributions ``nchypergeom_fisher`` and ``nchypergeom_wallenius`` > implement the Fisher and Wallenius versions of the noncentral hypergeometric > distribution, respectively. > > The generalized hyperbolic distribution was added in > `scipy.stats.genhyperbolic`. > > The studentized range distribution was added in `scipy.stats.studentized_range`. > > `scipy.stats.argus` now has improved handling for small parameter values. > > Better argument handling/preparation has resulted in performance improvements > for many distributions. > > The ``cosine`` distribution has added ufuncs for ``ppf``, ``cdf``, ``sf``, and > ``isf`` methods including numerical precision improvements at the edges of the > support of the distribution. > > An option to fit the distribution to data by the method of moments has been > added to the ``fit`` method of the univariate continuous distributions. > > Other > --------- > `scipy.stats.bootstrap` has been added to allow estimation of the confidence > interval and standard error of a statistic. > > The new function `scipy.stats.contingency.crosstab` computes a contingency > table (i.e. a table of counts of unique entries) for the given data. > > `scipy.stats.NumericalInverseHermite` enables fast random variate sampling > and percentile point function evaluation of an arbitrary univariate statistical > distribution. > > New `scipy.stats.qmc` module > ----------------------------------------- > > This new module provides Quasi-Monte Carlo (QMC) generators and associated > helper functions. > > It provides a generic class `scipy.stats.qmc.QMCEngine` which defines a QMC > engine/sampler. An engine is state aware: it can be continued, advanced and > reset. 3 base samplers are available: > > - `scipy.stats.qmc.Sobol` the well known Sobol low discrepancy sequence. > Several warnings have been added to guide the user into properly using this > sampler. The sequence is scrambled by default. > - `scipy.stats.qmc.Halton`: Halton low discrepancy sequence. The sequence is > scrambled by default. > - `scipy.stats.qmc.LatinHypercube`: plain LHS design. > > And 2 special samplers are available: > > - `scipy.stats.qmc.MultinomialQMC`: sampling from a multinomial distribution > using any of the base `scipy.stats.qmc.QMCEngine`. > - `scipy.stats.qmc.MultivariateNormalQMC`: sampling from a multivariate Normal > using any of the base `scipy.stats.qmc.QMCEngine`. > > The module also provide the following helpers: > > - `scipy.stats.qmc.discrepancy`: assess the quality of a set of points in terms > of space coverage. > - `scipy.stats.qmc.update_discrepancy`: can be used in an optimization loop to > construct a good set of points. > - `scipy.stats.qmc.scale`: easily scale a set of points from (to) the unit > interval to (from) a given range. > > > *********************** > Deprecated features > *********************** > > `scipy.linalg` deprecations > ==================== > > - `scipy.linalg.pinv2` is deprecated and its functionality is completely > subsumed into `scipy.linalg.pinv` > - Both ``rcond``, ``cond`` keywords of `scipy.linalg.pinv` and > `scipy.linalg.pinvh` were not working and now are deprecated. They are now > replaced with functioning ``atol`` and ``rtol`` keywords with clear usage. > > `scipy.spatial` deprecations > ===================== > > - `scipy.spatial.distance` metrics expect 1d input vectors but will call > ``np.squeeze`` on their inputs to accept any extra length-1 dimensions. That > behaviour is now deprecated. > > ***************** > Other changes > ***************** > > We now accept and leverage performance improvements from the ahead-of-time > Python-to-C++ transpiler, Pythran, which can be optionally disabled (via > ``export SCIPY_USE_PYTHRAN=0``) but is enabled by default at build time. > > There are two changes to the default behavior of `scipy.stats.mannwhitenyu`: > > - For years, use of the default ``alternative=None`` was deprecated; explicit > ``alternative`` specification was required. Use of the new default value of > ``alternative``, "two-sided", is now permitted. > - Previously, all p-values were based on an asymptotic approximation. Now, for > small samples without ties, the p-values returned are exact by default. > > Support has been added for PEP 621 (project metadata in ``pyproject.toml``) > > We now support a Gitpod environment to reduce the barrier to entry for SciPy > development; for more details see :ref:`quickstart-gitpod`. > > > ********* > Authors > ********* > > * @endolith > * Jelle Aalbers + > * Adam + > * Tania Allard + > * Sven Baars + > * Max Balandat + > * baumgarc + > * Christoph Baumgarten > * Peter Bell > * Lilian Besson > * Robinson Besson + > * Max Bolingbroke > * Blair Bonnett + > * Jord?o Bragantini > * Harm Buisman + > * Evgeni Burovski > * Matthias Bussonnier > * Dominic C > * CJ Carey > * Ram?n Casero + > * Chachay + > * charlotte12l + > * Benjamin Curtice Corbett + > * Falcon Dai + > * Ian Dall + > * Terry Davis > * droussea2001 + > * DWesl + > * dwight200 + > * Thomas J. Fan + > * Joseph Fox-Rabinovitz > * Max Frei + > * Laura Gutierrez Funderburk + > * gbonomib + > * Matthias Geier + > * Pradipta Ghosh + > * Ralf Gommers > * Evan H + > * h-vetinari > * Matt Haberland > * Anselm Hahn + > * Alex Henrie > * Piet Hessenius + > * Trever Hines + > * Elisha Hollander + > * Stephan Hoyer > * Tom Hu + > * Kei Ishikawa + > * Julien Jerphanion > * Robert Kern > * Shashank KS + > * Peter Mahler Larsen > * Eric Larson > * Cheng H. Lee + > * Gregory R. Lee > * Jean-Benoist Leger + > * lgfunderburk + > * liam-o-marsh + > * Xingyu Liu + > * Alex Loftus + > * Christian Lorentzen + > * Cong Ma > * Marc + > * MarkPundurs + > * Markus L?ning + > * Liam Marsh + > * Nicholas McKibben > * melissawm + > * Jamie Morton > * Andrew Nelson > * Nikola Forr? > * Tor Nordam + > * Olivier Gauth? + > * Rohit Pandey + > * Avanindra Kumar Pandeya + > * Tirth Patel > * paugier + > * Alex H. Wagner, PhD + > * Jeff Plourde + > * Ilhan Polat > * pranavrajpal + > * Vladyslav Rachek > * Bharat Raghunathan > * Recursing + > * Tyler Reddy > * Lucas Roberts > * Gregor Robinson + > * Pamphile Roy + > * Atsushi Sakai > * Benjamin Santos > * Martin K. Scherer + > * Thomas Schmelzer + > * Daniel Scott + > * Sebastian Wallk?tter + > * serge-sans-paille + > * Namami Shanker + > * Masashi Shibata + > * Alexandre de Siqueira + > * Albert Steppi + > * Adam J. Stewart + > * Kai Striega > * Diana Sukhoverkhova > * S?ren Fuglede J?rgensen > * Mike Taves > * Dan Temkin + > * Nicolas Tessore + > * tsubota20 + > * Robert Uhl > * christos val + > * Bas van Beek + > * Ashutosh Varma + > * Jose Vazquez + > * Sebastiano Vigna > * Aditya Vijaykumar > * VNMabus > * Arthur Volant + > * Samuel Wallan > * Stefan van der Walt > * Warren Weckesser > * Anreas Weh > * Josh Wilson > * Rory Yorke > * Egor Zemlyanoy > * Marc Zoeller + > * zoj613 + > * ?? + > > A total of 126 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. > > ************************** > Issues closed for 1.7.0 > ************************** > > * `#636 >`__: Statistics Review: mannwhitneyu (Trac #109) > * `#1346 >`__: signal.medfilt2d should fall back on signal.medfilt for types... > * `#2118 >`__: Mann-Whitney statistic returns incorrect results (Trac #1593) > * `#2158 >`__: special.chndtrix (ncx2.ppf) gives wrong results (Trac #1633) > * `#3284 >`__: build_sphinx weirdness > * `#3352 >`__: beta distribution sf > * `#4067 >`__: Mannwhitneyu with arrays full of nan still reports significance > * `#4080 >`__: entropy in Scipy > * `#4641 >`__: mstats.mannwhitneyu and stats.mannwhitneyu return inconsistent... > * `#5122 >`__: scipy.stats.binom.ppf Incorrect for p=0 > * `#5180 >`__: Rbf interpolation - use only K nearest neighbors > * `#5258 >`__: affine_transform complains about output_shape when output array... > * `#5562 >`__: Wishart degrees of freedom should be $v > p-1$ instead of $v... > * `#5933 >`__: mstats_basic.py - mannwhitneyu [scipy/scipy/stats/mstats_basic.py] > * `#6409 >`__: _unequal_var_ttest_denom causes ZeroDivisionError in early samples > * `#6682 >`__: negative binomial survival function is imprecise > * `#6897 >`__: scipy.stats.mannwhitneyu of empty sets gives p=0.0 and does not... > * `#7303 >`__: stats.describe with nan_policy=omit returns matrix-wide minmax... > * `#7406 >`__: scipy.stats.binom.ppf returns nan for q between 0 and 1 if n... > * `#7437 >`__: ENH: add skewed Cauchy distribution to stats > * `#7542 >`__: DOC: stats tutorials: Questions on arcsine and Student t formulae > * `#7593 >`__: Meaning of \`tol\` argument in \`scipy.optimize.minimize\` is... > * `#8565 >`__: Error in SmoothSphereBivariateSpline(): "ValueError: Error code... > * `#8665 >`__: \`scipy.ncx2.sf\` should be monotone decreasing > * `#8836 >`__: scipy.optimize.linprog(method='simplex') needs to return duals > * `#9184 >`__: Mann-Whitney implementation wrong? > * `#9450 >`__: allow seeding of init methods in vq.kmeans2 > * `#9704 >`__: RectSphereBivariateSpline fails for negative longitude > * `#9836 >`__: scipy.stats.rice gives incorrect results when s is very low compared... > * `#9904 >`__: Request/Proposal: Greatly improve scipy.interpolate.Rbf > * `#9981 >`__: stats.kruskal : add a warning for an input with 2 or more columns > * `#10358 >`__: DOC: linprog and linear_sum_assignment tutorials needed > * `#10908 >`__: Nakami fitting doesn't converge (scipy.stats) > * `#10933 >`__: Add scaled inverse chi2 distribution > * `#11014 >`__: Barnard's Test for More Powerful Hypothesis Testing of 2x2 Contingency... > * `#11050 >`__: Feature request: Nelder-Mead with bounds > * `#11086 >`__: scipy.stats.skew doesn't work correctly for float point numbers > * `#11113 >`__: inconsistent result from ttest_ind and mannwhitneyu when used... > * `#11134 >`__: Wrong confidence interval for binomial distribution with p=0 > * `#11325 >`__: Add axis parameter for scipy.spatial.distance.jensenshannon > * `#11474 >`__: scipy.stats.skellam.cdf(0) returns 0 for large mu1 = mu2 > * `#11523 >`__: scipy.stats.zipf doesn't implement zipf distribution > * `#11848 >`__: How to get Lagrange / lambda multipliers out of 'linprog' optimize... > * `#11909 >`__: Enable bounds for lambda in boxcox > * `#12118 >`__: Docstring missing defaults > * `#12132 >`__: Slow tests to be trimmed or moved to test('full') > * `#12230 >`__: Dendrogram: enable leaves labelling with 'labels' when using... > * `#12282 >`__: scipy.stats.chisquare test does not check that observed and expected... > * `#12298 >`__: BUG: fmin_powell missing squeeze in 1.5.0rc > * `#12403 >`__: Add nan_policy to stats.zmap > * `#12518 >`__: Null hypothesis of Kolmogorov Smirnov test is not correctly described > * `#12534 >`__: Feature request: scipy.linalg.norm to deal with 0-size array > * `#12622 >`__: scipy.interpolate.interpn docstring example > * `#12635 >`__: scipy.stats.beta.ppf gives unexpexted results > * `#12669 >`__: Median-averaging of complex CSDs > * `#12731 >`__: stats.ncx2.cdf fails for nc >> x >> 1 > * `#12778 >`__: Confusing documentation of scipy.stats.weightedtau > * `#12794 >`__: [Bug] The result of stats.beta.isf is inconsistent with stats.beta.sf > * `#12837 >`__: stats.mannwhitneyu could support arrays > * `#12868 >`__: Vector-valued interpolation in \`interp2d\` > * `#12922 >`__: Minimize with trust-constr method leads to TypeError if option... > * `#12929 >`__: The use of starred expressions to create data detracts from understanding... > * `#12965 >`__: domain of argument of scipy.interpolate.RectSphereBivariateSpline(u,... > * `#13025 >`__: Generalized Hyperbolic Distribution > * `#13090 >`__: Broken link in doc for signal.max_len_seq > * `#13101 >`__: MAINT: Upgrade python version in docker file > * `#13158 >`__: \`signal.get_window()\` has a missing doc link and cannot get... > * `#13173 >`__: Uninformative error message from bisplev function > * `#13234 >`__: BUG: stats: Wrong shape of burr.moment() and fisk.moment() when... > * `#13242 >`__: Does kmeans "drop" clusters? > * `#13243 >`__: tgsen uses an output argument for computing a default argument > * `#13245 >`__: Kurtosis returning 1 for array of same elements > * `#13257 >`__: GitHub Actions test failures for MacOS > * `#13272 >`__: scipy.stats.yeojohnson_llf doc mistake > * `#13280 >`__: Wrong results with hypergeom cdf > * `#13285 >`__: description correction in scipy.stats.t > * `#13287 >`__: Generate binomial CDF with mu instead of prob > * `#13294 >`__: BUG: stats: wrong bounds returned by 'support' method for distributions... > * `#13299 >`__: Typing for scipy.spatial > * `#13300 >`__: Add a single individual to a latinhypercube initial population... > * `#13311 >`__: MAINT: pavement.py PYVER is outdated > * `#13339 >`__: savemat discards dimension information if any dimension is zero > * `#13341 >`__: add scipy.stats.variation with an ddof parameter > * `#13353 >`__: Documentation: in scipy.stats.johnsonsu, parameter \`a\` can... > * `#13405 >`__: TST: add a few tests for sparse BSR ctor > * `#13410 >`__: BUG: skew for empty array raises > * `#13417 >`__: 10,000 times speedup for generating random numbers from the cosine... > * `#13440 >`__: python runtest.py -t path-to-test.py failed > * `#13454 >`__: Scipy cosine distance can be greater than 2 > * `#13459 >`__: Broken link in cramervonmises documentation > * `#13494 >`__: One-word typo in the documentation of optimize.linprog_simplex > * `#13501 >`__: minimize using Powell methods with Bounds leads to "TypeError:... > * `#13509 >`__: signal.medfilt2d vs ndimage.median_filter > * `#13511 >`__: DOC: error in description of "direc" parameter of "fmin_powell" > * `#13526 >`__: TST: stats: intermittent \`test_ttest_ind_randperm_alternative2... > * `#13536 >`__: \`_within_tolerance\` seems an unnecessary repetition of \`numpy.isclose\` > * `#13540 >`__: missing python 3.8 manylinux wheels on scipy-wheels-nightly > * `#13559 >`__: shape error in linprog with revised simplex > * `#13587 >`__: binned_statistic unreliable with single precision > * `#13589 >`__: Better argument preparation for distributions in stats package. > * `#13602 >`__: The crystallball distribution entropy is sometimes minus infinity > * `#13606 >`__: MAINT: mypy: some typing errors while running mypy + adding mypy... > * `#13608 >`__: Why does stats.binned_statistic_2d convert its values argument... > * `#13609 >`__: BUG: SciPy pip install -e gets unusable version spec > * `#13610 >`__: Highs solver did not provide a solution nor did it report a failure > * `#13614 >`__: BUG: invgauss.cdf should return the correct value when \`mu\`... > * `#13628 >`__: 1-letter typo in the definition of scipy.special.spence function... > * `#13634 >`__: mmwrite fails on dense, skew-symmetric array > * `#13646 >`__: Sparse matrix argmax() integer overflow on Windows 10 > * `#13647 >`__: \`scipy.stats.qmc.LatinHypercube\` cannot sample single sample... > * `#13651 >`__: Documentation wrong in scipy.linalg.eigvalsh > * `#13664 >`__: BUG: gamma distribution's inverse survival function overflows... > * `#13693 >`__: BUG: sokalmichener appears to incorrectly apply weights > * `#13697 >`__: BUG: stats: Spurious warning generated by arcsine.pdf at the... > * `#13704 >`__: Make it possible to pass a rank cut-off value relatively to the... > * `#13707 >`__: Kullback Leibler Divergence broadcasting no longer works > * `#13740 >`__: Scipy.optimize x0 out of bounds when it is within bounds. > * `#13744 >`__: scipy.interpolate.interp1d has inconsistent behavior for non-unique... > * `#13754 >`__: optimize.minimize 'trust' methods and finite difference Hessian... > * `#13762 >`__: MAINT, TST: aarch64 stats test failures showing up in wheels... > * `#13769 >`__: probplot draws fit line even when fit=False > * `#13791 >`__: BUG: stats: wrapcauchy.cdf does not broadcast the shape parameter... > * `#13793 >`__: CI: CircleCI doc build failure > * `#13840 >`__: manylinux1 builds are failing because of C99 usage in \`special/_cosine.c\` > * `#13850 >`__: CI: Homebrew is failing due to bintray > * `#13875 >`__: BUG: chi2_contingency with Yates correction > * `#13878 >`__: BUG: \`signal.get_window\` argument handling issue > * `#13880 >`__: Remove all usages of numpy.compat > * `#13896 >`__: Boschloo's Test for More Powerful Hypothesis Testing of 2x2 Contingency... > * `#13923 >`__: Inverse of Log CDF of Normal Distribution > * `#13933 >`__: \`signal.get_window\` does not support \`general_cosine\` and... > * `#13950 >`__: DOC: scipy.spatial.KDTree.query > * `#13969 >`__: N=4 must not exceed M=3 > * `#13970 >`__: Pearson's original paper on chi-square test could be referenced. > * `#13984 >`__: Faster addition of sparse diagonal matrices > * `#13988 >`__: An error occurred when using scipy.io.wavfile of scipy 1.6 version... > * `#13997 >`__: BUG: sparse: Incorrect result from \`dia_matrix.diagonal()\` > * `#14005 >`__: MAINT: optimize: \`curve_fit\` input error msg can be improved. > * `#14038 >`__: MAINT: add type annotations for _sobol.pyx > * `#14048 >`__: DOC: missing git submodule information > * `#14055 >`__: linalg.solve: Unclear error when using assume_a='her' with real... > * `#14093 >`__: DOC: Inconsistency in the definition of default values in the... > * `#14158 >`__: TST, BUG: test_rbfinterp.py -- test_interpolation_misfit_1d fails... > * `#14170 >`__: TST: signal submodule test_filtfilt_gust failing on 32-bit amd64... > * `#14194 >`__: MAINT: download-wheels.py missing import > * `#14199 >`__: Generated sources for biasedurn extension are broken in 1.7.0rc1 > > > ************************** > Pull requests for 1.7.0 > ************************** > > * `#4824 >`__: Permutation Ttest (new PR) > * `#4933 >`__: ENH: Update the Mann-Whitney-Wilcoxon test > * `#7702 >`__: ENH: stats: Add Skewed Cauchy Distribution > * `#8306 >`__: Optional Pythran support for scipy.signal.max_len_seq_inner > * `#10170 >`__: MAINT: stats: Implement cdf and ppf as ufuncs for the cosine... > * `#10454 >`__: ENH: Extend find_peaks_cwt to take numbers and iterables for... > * `#10844 >`__: ENH: add stats.qmc module with quasi Monte Carlo functionality > * `#11313 >`__: ENH: add Wright's generalized Bessel function > * `#11352 >`__: ENH: stats: Add crosstab function. > * `#11477 >`__: FIX: bounded parameter in cdfchn.f gives bad results > * `#11695 >`__: ENH: stats: add method of moments to \`rv_continuous.fit\` > * `#11911 >`__: ENH: Added bounds to boxcox and boxcox_normmax > * `#12438 >`__: BUG: use ellipkm1 in elliptical filter design to prevent numerical... > * `#12531 >`__: ENH: stats: add Page's L test > * `#12603 >`__: ENH: stats: Add \`binomtest\` to replace \`binom_test\`. > * `#12653 >`__: ENH: stats: add Somers' D test > * `#12676 >`__: BUG: update median averaging in signal.csd > * `#12760 >`__: BUG: special: erfinv(x<<1) loses precision > * `#12801 >`__: ENH: Add single-sided p-values to remaining spearmanr and linregress > * `#12873 >`__: ENH: Stats: add Alexander Govern Test > * `#13008 >`__: ENH: Add 'alternative' to functions using normal CDF for p-value > * `#13040 >`__: BUG: Allow RectSphereBivariateSpline to accept negative longitude > * `#13048 >`__: ENH: stats: Add a function that computes the relative risk. > * `#13067 >`__: ENH: Add weights parameter to stats.gmean > * `#13084 >`__: ENH: fast Hankel transform > * `#13104 >`__: MAINT: upgrade python version (drop python 3.6) for docker dev... > * `#13153 >`__: ENH: added association measurements Pearsons Contingency Coefficient,... > * `#13166 >`__: ENH: stats: Add nan_policy to zmap. > * `#13175 >`__: MAINT: tests for tall cost matrices in \`linear_sum_assignment\` > * `#13177 >`__: BUG: raise NotImplementedError in fourier_ellipsoid when ndim... > * `#13184 >`__: BUG: stats: Fix min and max calculation of mstats.describe with... > * `#13188 >`__: DOC: stats: make null and alternative hypotheses of kstest more... > * `#13193 >`__: MAINT: stats: chisquare check sum of observed/expected frequencies > * `#13197 >`__: ENH/MAINT: HiGHS upstream enhancements and bug fixes > * `#13198 >`__: ENH: allow inference of output_shape from out array in affine_transform > * `#13204 >`__: ENH: stats: add Zipfian (different from Zipf/zeta) distribution > * `#13208 >`__: REL: set version to 1.7.0.dev0 > * `#13216 >`__: TST: stats: break up and mark slow tests > * `#13224 >`__: Update docs for the weighted ? > * `#13230 >`__: ENH: linalg: Add LAPACK wrapper for tgexc. > * `#13232 >`__: MAINT: stats: raise error when input to kruskal has >1 dim > * `#13233 >`__: DOC: stats: fix MGF of arcsine and entropy of t in tutorial > * `#13236 >`__: MAINT: reorganize shared linear assignment tests > * `#13237 >`__: BENCH: Refactor stats.Distribution to easily add new distributions > * `#13238 >`__: BUG: stats: fix wrong shape output of burr and fisk distributions > * `#13240 >`__: MAINT: add tests of trivial cost matrices for linear sum assignment > * `#13252 >`__: DOC: optimize: add \`optimize.linear_sum_assignment\` tutorial. > * `#13254 >`__: BUG: Fix precision issues for constant input in skew and kurtosis > * `#13262 >`__: BUG: scipy.medfilt and .medfilt2d fixes > * `#13263 >`__: ENH: add Cramer-von Mises test for two samples > * `#13264 >`__: fix a minor typo in \`stats.anderson\` doc > * `#13268 >`__: ENH: stats: Add implementation of _entropy for the t distr. > * `#13273 >`__: DOC: stats: fix typo in Yeo-Johnson LL function documentation > * `#13275 >`__: MAINT: stats: Correct a comment in the _fitstart method of gamma. > * `#13283 >`__: BUG: stats: fix the cdf method of rv_discrete class > * `#13286 >`__: DOC: stats: clairify rv_continuous/discrete.stats example > * `#13288 >`__: DOC: stats: discrete distribution shape parameter restrictions > * `#13289 >`__: MAINT: fix a build warning in sigtoolsmodule.c > * `#13290 >`__: DOC: Expand the discussion of the nan_policy API. > * `#13291 >`__: MAINT: signal, stats: Use keepdims where appropriate. > * `#13292 >`__: DOC: stats: note another common parameterization of nbinom > * `#13293 >`__: DOC: Change broken link for default values to archived link > * `#13295 >`__: BUG: stats: fix the support method to return correct bounds > * `#13296 >`__: DOC: stats: Fix latex markup in the kstwo docstring. > * `#13297 >`__: TST: mark kde.logpdf overflow test as xslow > * `#13298 >`__: Generalized Hyperbolic Distribution > * `#13301 >`__: DOC: cluster: Add cluster number note to the docstring of cluster.vq.kmeans > * `#13302 >`__: BUG: Fix ndimage.morphology.distance_transform\_\* argument handling > * `#13303 >`__: CI: prevent Codecov giving false CI failures and wrong PR annotations > * `#13313 >`__: ENH: static typing for qhull > * `#13316 >`__: Pythran implementation of scipy.signal._spectral > * `#13317 >`__: DOC: forward port 1.6.0 relnotes > * `#13319 >`__: ENH: stats: add fast numerical inversion of distribution CDF > * `#13320 >`__: ENH: x0 for differential_evolution > * `#13324 >`__: DOC correct linprog highs versionadded to 1.6 > * `#13326 >`__: MAINT: update numpydoc to v1.1.0 > * `#13327 >`__: DOC: interpolate: improved docstring examples of \`interpolate.interpn()\`... > * `#13328 >`__: ENH: Boost stats distributions > * `#13330 >`__: ENH: stats: add noncentral hypergeometric distributions (Fisher's... > * `#13331 >`__: MAINT/ENH: resolve mypy warnings/errors > * `#13332 >`__: DOC: interpolate: improved docstring of \`interpolate.interp2d\`... > * `#13333 >`__: ENH: stats: Some more _sf and _isf implementations. > * `#13334 >`__: MAINT: stats: Clean up a few defunct comments in _continuous_distns.py > * `#13336 >`__: Pythran version of scipy.optimize._group_columns > * `#13337 >`__: DOC|ENH: type hinting in scipy.integrate.simpson > * `#13346 >`__: ENH: stats: add 'ddof' parameter to the 'variation' function > * `#13355 >`__: ENH: stats: implement _logpdf, _sf and _isf for loggamma. > * `#13360 >`__: ENH|DOC: fix docstring and input validation in interpolate.RectSphereBivariateSpline > * `#13366 >`__: BUG: stats: Don't raise ZeroDivisionError in _unequal_var_ttest_denom > * `#13370 >`__: ENH: fix ARGUS distribution for small parameters in stats > * `#13371 >`__: ENH: stats: add \`bootstrap\` for estimating confidence interval... > * `#13373 >`__: BUG: io/matlab: preserve dimensions of empty >=2D arrays > * `#13374 >`__: ENH: stats: add skewed Cauchy distribution > * `#13379 >`__: BUG: sparse: fix verbosity in sparse lsqr > * `#13383 >`__: TST: stats: mark many dimension permutation t-test slow > * `#13384 >`__: MAINT: Make keywords array static > * `#13388 >`__: PERF: Avoid duplicate mean calculations in skew and kurtosis > * `#13389 >`__: DOC: Fix deprecated directive syntax > * `#13390 >`__: DOC: Correct line length for Parameter Section underline > * `#13393 >`__: MAINT: stats: allow wishart dim - 1 < df < dim > * `#13395 >`__: DOC: fix typo in setup.py warning message > * `#13396 >`__: BUG: Fix MLE for Nakagami \`nakagami_gen.fit\` > * `#13397 >`__: MAINT:linalg: Fix tgsen family wrapper and ordqz > * `#13406 >`__: TST: add error handling tests for sparse BSR ctor > * `#13413 >`__: DOC: ultra-quickstart guide > * `#13418 >`__: BUG: Fix moment returning inconsistent types and shapes > * `#13423 >`__: DOC: Update example for leaf_label_func/dendrogram > * `#13431 >`__: ENH: stats: override _rvs for nhypergeom > * `#13432 >`__: Add indicator in NDInterpolator docstring that N must be > 1 > * `#13434 >`__: DOC: stats: note relationship between scaled-inv-chi2 and invgamma > * `#13436 >`__: ENH: interpolate: add input validation to check input x-y is... > * `#13441 >`__: ENH: add functionality \`barnard_exact\` test to scipy.stats. > * `#13443 >`__: MAINT: stats: Updates for skewcauchy > * `#13444 >`__: DOC: clarify range of \`a\` parameter fpr johnsonsu/johnsonsb > * `#13445 >`__: DOC: fix runtests guidelines. > * `#13446 >`__: MAINT: stats: Add _fitstart method to wrapcauchy. > * `#13447 >`__: DEV: Update development Docker image > * `#13448 >`__: ENH: Add annotations for \`scipy.spatial.distance\` > * `#13451 >`__: DOC: minor formatting. > * `#13458 >`__: DOC: indent see also. > * `#13460 >`__: DOC: stats: Fix link to Cramer-von Mises wikipedia article. > * `#13461 >`__: DOC: reorganize scipy.stats overview docs page > * `#13463 >`__: DOC: misc formatting fixes > * `#13466 >`__: DOC: Typo in see also s/SmoothUni/SmoothBi/g > * `#13467 >`__: DOC: optimize: add description about \`tol\` argument for \`minimize\`. > * `#13469 >`__: MAINT: Refactor optimization methods to use scipy.stats.qmc > * `#13477 >`__: CI: pin numpy to 1.19.5 for the three macOS CI jobs > * `#13478 >`__: DOC: fix typos where double :: for Sphinx directives were missing > * `#13481 >`__: CI: pin numpy to 1.19.5 in the 4 parallel Windows builds on Azure > * `#13482 >`__: CI: use numpy 1.20.0 again in macOS CI > * `#13483 >`__: DOC: Multiple documentation syntax fixes. > * `#13484 >`__: Move some pythran config from CI to setup > * `#13487 >`__: DOC: add a tutorial about scipy.stats.qmc > * `#13492 >`__: ENH: GH actions should not run on forks > * `#13493 >`__: DEV: Enable gitpod for SciPy > * `#13495 >`__: DOC One-word typo in the documentation of optimize.linprog_simplex > * `#13499 >`__: DOC: describe LSAP implementation > * `#13502 >`__: BUG: Bounds created with lists weren't working for Powell > * `#13507 >`__: MAINT, TST: stats: centralize invalid parameters list for all... > * `#13510 >`__: DOC: stats: fix small doc errors in 'multivariate_hypergeom' > * `#13513 >`__: DOC: Added math notation in examples in ltisys.py > * `#13514 >`__: ENH: simplify low_0_bit function for Sobol > * `#13515 >`__: ENH: optimize: add bound constraint support for nelder-mead solver > * `#13516 >`__: DOC: reduce LaTeX usage for johnsonb docstring > * `#13519 >`__: BLD: remove build_sphinx support from setup.py > * `#13527 >`__: TST: stats: xfail ttest_ind_randperm_alternative2 on 32 bit > * `#13530 >`__: DOC: correct comparisons between median filter functions > * `#13532 >`__: ENH: release the GIL inside medfilt2d > * `#13538 >`__: DOC: optimize: fix minor doc error in 'fmin_powell' (#13511) > * `#13546 >`__: DOC: fix list of "mode" options for ndimage > * `#13549 >`__: ENH: stats: add 'alternative' keyword to some normality tests. > * `#13551 >`__: MAINT: add git to docker env > * `#13552 >`__: MAINT: stats: remove float_power shim > * `#13553 >`__: DOC: use support rather than a/b in stats tutorial > * `#13560 >`__: MAINT: optimize: improve linprog error message for sparse input... > * `#13562 >`__: MAINT: optimize: using np.isclose instead of _within_tolerance. > * `#13566 >`__: ENH: Speed up hdquantiles_sd() > * `#13569 >`__: BENCH: optimize: benchmark only HiGHS methods; add bigger linprog... > * `#13574 >`__: DOC: In description of cluster.hierarchy.dendrogram 'level' parameter,... > * `#13576 >`__: ENH: improve discrepancy performance > * `#13579 >`__: TST: Add pybind11 to tox environments > * `#13583 >`__: BUG: Fix Dockerfile apt-get installs > * `#13588 >`__: MAINT: forward port 1.6.1 relnotes. > * `#13593 >`__: BUG: stats: preserve sample dtype for bin edges > * `#13595 >`__: ENH: interpolate: add RBFInterpolator > * `#13596 >`__: DOC: Fix indentation in new_stats_distribution.rst.inc > * `#13601 >`__: Add dpss for get_window function > * `#13604 >`__: DOC: Correct dual annealing visiting param range. > * `#13605 >`__: Add Codecov badge to README > * `#13607 >`__: MAINT: stats: fix crystalball entropy > * `#13611 >`__: Better argument preparation for distributions in stats package. > * `#13612 >`__: Add docker run command for Windows cmd > * `#13613 >`__: MAINT, CI: mypy: fix typing errors + add mypy to CI > * `#13616 >`__: FIX: Return correct output for invgauss.cdf when mu is very small > * `#13617 >`__: MAINT: accept numbers and iterables for width in find_peaks_cwt > * `#13620 >`__: CI: disable the mypy CI job (partial revert of gh-13613) > * `#13621 >`__: DOC: signal: use array_like for input types > * `#13622 >`__: MAINT: clean up some unused files, make \`mypy scipy\` pass > * `#13623 >`__: CI: enable Mypy CI job again > * `#13624 >`__: TST: test more values for \`visiting_param\` input to \`dual_annealing\` > * `#13625 >`__: Rename integrate.simps to integrate.simpsons in documentation... > * `#13631 >`__: ENH: add a \`stats.differential_entropy\` function > * `#13633 >`__: BUG: stats.binned_statistic_2d user function expecting arrays > * `#13641 >`__: ENH: Added degrees parameter to rotvec > * `#13645 >`__: MAINT: mypy: don't install numpy-stubs > * `#13649 >`__: BUG: sparse: csc_matrix.argmax() integer overflow > * `#13650 >`__: ENH: stats: add 'alternative' parameter to ansari > * `#13652 >`__: DOC: fix eigvalsh documentation (#13651) > * `#13654 >`__: BUG: Fix LatinHypercubes > * `#13656 >`__: DOC: Fix PCHIP references > * `#13657 >`__: TST: remove IPython warning in debug session > * `#13658 >`__: Remove spurious quotes in docstring > * `#13661 >`__: ENH: stats: improve efficiency of / fix bug in exact permutation... > * `#13667 >`__: MAINT: Make latest Docker image default > * `#13668 >`__: MAINT: add .theia/ to .gitignore > * `#13669 >`__: BLD: change SCIPY_USE_PYTHRAN default to \`1\` > * `#13676 >`__: ENH Small improvements for LSQR with damp > * `#13678 >`__: MAINT: add Pythran-generated files to .gitignore > * `#13679 >`__: MAINT: move the \`conda develop .\` in the Gitpod config > * `#13680 >`__: DOC: Add cKDTree note comparing it with KDTree > * `#13681 >`__: DOC: build doc updates on Pythran, compiled code, and cleanups > * `#13683 >`__: BUG: mmwrite correctly serializes non skew-symmetric arrays > * `#13684 >`__: FIX: fix numerical overflow in gamma.isf method > * `#13685 >`__: BUG: fix cosine distance range to 0-2 > * `#13694 >`__: MAINT: fix warning emitted when NumPy version is incorrect > * `#13696 >`__: ENH: support trimming in ttest_ind > * `#13698 >`__: BUG: stats: Fix spurious warnings generated by arcsine.pdf > * `#13701 >`__: DEV: scipy.interpolate b-splines (periodic case) > * `#13702 >`__: DEP: Clean up spent deprecations in spatial.distance > * `#13703 >`__: MAINT: fix issues found by static code analysis > * `#13706 >`__: ENH: stats: Implement sf and isf for the laplace distribution. > * `#13711 >`__: MAINT: stats: fix broadcasting for scipy.stats.entropy > * `#13712 >`__: BUG: stats: Override _fitstart for the invweibull distribution. > * `#13713 >`__: DOC: update toolchain.rst to reflect windows universal C runtime > * `#13714 >`__: MAINT: stats: Remove an unused list from test_continuous_basic.py. > * `#13715 >`__: MAINT: stats: No need to suppress frechet deprecation warnings. > * `#13716 >`__: MAINT: use super() as described by PEP 3135 > * `#13718 >`__: MAINT: new-style class, removing inheritance to object > * `#13721 >`__: MAINT: add a type-ignore for mpmath (#13721) > * `#13723 >`__: MAINT: mypy: ignore mpmath imports in mypy.ini > * `#13724 >`__: DOC: pydata sphinx theme > * `#13725 >`__: BENCH: add benchmark for Kendalltau > * `#13727 >`__: CI: simplify Pythran configuration setup for Azure > * `#13731 >`__: MAINT: stats: Some flake8-driven clean up. > * `#13732 >`__: ENH: stats: Studentized Range Distribution > * `#13735 >`__: DOC: correct Voronoi docstring > * `#13738 >`__: DOC: add example to wright_bessel > * `#13739 >`__: ENH: stats: Implement _sf and _isf for the chi distribution. > * `#13741 >`__: MAINT: prevent overwriting of x in minimize > * `#13747 >`__: DOC: Add note for interp1d for non-unique x-values > * `#13749 >`__: MAINT: forward port 1.6.2 relnotes > * `#13759 >`__: MAINT: simpson small performance speedups > * `#13765 >`__: FIX: npymath missing causing npy_log1p to be unknown > * `#13768 >`__: BENCH: Add missing pythran dependency > * `#13770 >`__: ENH: stats.contingency: Add the sparse option to crosstab. > * `#13774 >`__: DEP: Deprecate squeezing input vectors in spatial.distance > * `#13775 >`__: Enable trust region methods to use a finite difference Hessian... > * `#13777 >`__: DOC: Fix Ubuntu/Debian installation instructions > * `#13778 >`__: DOC: remove references to RandomState > * `#13782 >`__: MAINT: LBFGSB err msg on MAXLS changed closes #11718 > * `#13785 >`__: BENCH: Add benchmark for cdist/pdist with weights > * `#13786 >`__: MAINT: Prepare cdist/pdist for C++ rework > * `#13787 >`__: MAINT: stats: move entropy and differential_entropy functions... > * `#13790 >`__: DOC: Add some dependencies for Dockerfile doc of scipy development. > * `#13792 >`__: BUG: stats: Fix broadcasting in wrapcauchy.cdf > * `#13795 >`__: MAINT: stats: add hypotests to __all__ in init.py, not stats.py > * `#13797 >`__: MAINT: stats: probplot: don't plot least-squares fit line unless... > * `#13798 >`__: MAINT: fix incorrect code comment in \`hierarchy.to_tree\` > * `#13802 >`__: DEV: add environment.yml file for development with conda/mamba > * `#13803 >`__: DOC: fix doc build warning about arxiv role already being registered > * `#13804 >`__: DOC+MAINT: optimize: lb and ub in the Bounds constructor are... > * `#13807 >`__: MAINT: Dont use parallel Sphinx > * `#13808 >`__: MAINT: cluster.to_tree: more idiomatic looping over rows of matrix... > * `#13810 >`__: MAINT: add a CODEOWNERS file > * `#13811 >`__: MAINT: Add ci skip to azp > * `#13814 >`__: ENH/DOC: pydata sphinx theme polishing > * `#13817 >`__: DOC: Misc parameter typo and casing in scipy/linalg/_decomp_ldl.py > * `#13818 >`__: MAINT: stats: keep \`entropy\` importable from \`scipy.stats.distributions\` > * `#13820 >`__: BUG: update _kendall_p_exact ValueError to f-string > * `#13831 >`__: FIX:DEP: Allow better tolerance control for pinv and pinvh and... > * `#13832 >`__: BUG: stats: Fix rvs for levy_stable when alpha=1 > * `#13833 >`__: MAINT: Add inline type hintings for stats.qmc > * `#13836 >`__: MAINT: Fix a couple compiler warnings. > * `#13838 >`__: TST: relax test tolerances for BinomTest > * `#13841 >`__: BLD: add \`-std=c99\` flag to scipy.special extensions using... > * `#13845 >`__: ENH: stats: add \`method\` parameter to \`differential_entropy\`... > * `#13847 >`__: TST: skip on optimize failure on macOS, mark one as xfail > * `#13848 >`__: DOC: optimize: move Nelder Mead doc from Unconstrained minimization... > * `#13849 >`__: DOC: Roadmap update > * `#13852 >`__: CI: fix temporary wrong brew version from GitHub > * `#13854 >`__: ENH: Update Scipy Gitpod > * `#13859 >`__: TST: fix ultra-slow ttest permutations test > * `#13860 >`__: MAINT: clean up LSAP error checking > * `#13863 >`__: DOC: remove seed in examples > * `#13865 >`__: DOC: optimize: The bounds param of differential_evolution is... > * `#13866 >`__: MAINT: special: Remove an unused variable from _poly_approx in... > * `#13867 >`__: DOC: stats: Explain meaning of alternatives for fisher_exact. > * `#13868 >`__: CI: fix the failing job on linux. > * `#13870 >`__: MAINT: move LSAP rectangular matrix handling into solver code > * `#13871 >`__: DOC: Add Gitpod documentation > * `#13876 >`__: Workflow : Add nightly release of NumPy in linux workflows > * `#13877 >`__: DOC: Conform to numpydoc + uniformity. > * `#13879 >`__: BUG: signal: fix get_window argument handling and add tests. > * `#13881 >`__: CI: remove .travis.yml, remove codecov from CircleCI > * `#13882 >`__: BLD: ensure incrementing dev version strings > * `#13886 >`__: TST: optimize: skip test_network_flow_limited_capacity w/ UMFPACK... > * `#13888 >`__: MAINT: Fix issues involving elif conditions > * `#13891 >`__: Rename InivariateSpline to UnivariateSpline > * `#13893 >`__: ENH: linprog HiGHS marginals/sensitivy analysis > * `#13894 >`__: DOC: Add blank line before \`Return\` section. > * `#13897 >`__: DOC: BLD: fix doc build version check, and improve build time > * `#13903 >`__: MAINT: Gitpod fixes > * `#13907 >`__: ENH: Rewrite minkowski metric in C++ with pybind11 > * `#13909 >`__: Revert "Workflow : Add nightly release of NumPy in linux workflows" > * `#13910 >`__: DOC: update Readme > * `#13911 >`__: MAINT: use dict built-in rather than OrderedDict > * `#13920 >`__: BUG: Reactivate conda environment in init > * `#13925 >`__: BUG: stats: magnitude of Yates' correction <= abs(observed-expected)... > * `#13926 >`__: DOC: correct return type in disjoint_set.subsets docstring > * `#13927 >`__: DOC/MAINT: Add copyright notice to qmc.primes_from_2_to > * `#13928 >`__: BUG: DOC: signal: fix need argument config and add missing doc... > * `#13929 >`__: REL: add PEP 621 (project metadata in pyproject.toml) support > * `#13931 >`__: MAINT: special: get rid of _logit.c.src > * `#13934 >`__: ENH: signal: make \`get_window\` supports \`general_cosine\`... > * `#13940 >`__: MAINT: QMCEngine d input validation > * `#13941 >`__: MAINT: forward port 1.6.3 relnotes > * `#13944 >`__: BUG: spatial: fix weight handling of \`distance.sokalmichener\`. > * `#13947 >`__: MAINT: Remove duplicate calculations in sokalmichener > * `#13949 >`__: DOC: minor grammar fixes in minimize and KDTree.query > * `#13951 >`__: ENH: Add Boschloo exact test to stats > * `#13956 >`__: ENH: spatial: add \`axis\` and \`keepdims\` optional argument... > * `#13963 >`__: MAINT: stats: Fix unused imports and a few other issues related... > * `#13971 >`__: DOC: Add Karl Pearson's reference to chi-square test > * `#13972 >`__: ENH: cluster: add an optional argument \`seed\` for \`kmeans\`... > * `#13973 >`__: BLD: fix build warnings for causal/anticausal pointers in ndimage > * `#13975 >`__: ENH: set empty array norm to zero. > * `#13977 >`__: MAINT: signal: replace distutils templating with tempita > * `#13978 >`__: MAINT: improve validations and keyword only arguments for some... > * `#13979 >`__: ENH: Add Inverse of Log CDF of Normal Distribution > * `#13983 >`__: Fixing \`ndimage.watershed_ift\` tutorial's documentation > * `#13987 >`__: DOC: Adding examples to docstrings in morphology: white_tophat,... > * `#13989 >`__: DOC: interpolate: improve examples of \`RegularGridInterpolator\`... > * `#13990 >`__: MAINT, DOC: optimize: Make the input validation explanation clear... > * `#13992 >`__: Workflow : Add nightly release of NumPy in linux workflows > * `#13995 >`__: Doc: Continuous integration information > * `#14000 >`__: BUG: sparse: Fix DIA.diagonal bug and add a regression test > * `#14004 >`__: ENH: Fast addition dia matrix > * `#14006 >`__: MAINT: optimize: add validation to check func parameter number... > * `#14008 >`__: BUG: Raise exception for inconsistent WAV header > * `#14009 >`__: DEP: Remove usage of numpy.compat > * `#14010 >`__: MAINT: add support for wheel DL proxy > * `#14012 >`__: DOC: Broaden Exact Test Reference > * `#14015 >`__: MAINT: remove brew update > * `#14017 >`__: BENCH: Add more formats for sparse arithmetic > * `#14018 >`__: BENCH: add benchmark for f_oneway > * `#14020 >`__: MAINT: modify np.int \_ to np.int32 to make it the same for 32/64... > * `#14023 >`__: MAINT: Fix clang build and remove some unicode characters > * `#14025 >`__: BUG: sparse: fix DIA.setdiag issue > * `#14026 >`__: TST: optimize: xfail part of test_powell > * `#14029 >`__: CI: github macos fix > * `#14030 >`__: MAINT: use 'yield from ' (PEP 380) > * `#14031 >`__: MAINT: new-style class, removing inheritance to object > * `#14032 >`__: MAINT: CXXFLAGS for Pythran > * `#14033 >`__: ENH: Port sqeuclidean and braycurtis to _distance_pybind > * `#14034 >`__: MAINT: Clean-up 'next = __next__' > * `#14045 >`__: MAINT: bump PYVER pavement.py > * `#14047 >`__: DEV: initialize boost submodule in Gitpod Dockerfile > * `#14051 >`__: BLD: if boost submodule content is missing, error out early > * `#14052 >`__: DOC: missing submodule init information > * `#14057 >`__: DOC: special: Add Examples to \`psi\` docstring > * `#14058 >`__: BUG: fixed a dtype bug in linalg.solve. > * `#14060 >`__: Doc: Fix typo in documentation of spence function. > * `#14061 >`__: MAINT:stats: Type annotations for _sobol.pyx > * `#14062 >`__: DOC: A few small fixes in quickstart_gitpod.rst > * `#14063 >`__: DOC: signal: add Add Examples to \`cont2discrete\` docstring > * `#14064 >`__: DOC: optimize: Add Examples to fmin_bfgs docstring > * `#14065 >`__: Add example for scipy stats.trim1 under docstring > * `#14066 >`__: DOC add example to scipy.special.hermite > * `#14067 >`__: DOC add alpha docstring description, add example to docstring > * `#14070 >`__: DOC add parameters, return, and example to docstring > * `#14072 >`__: MAINT/TST: Fix tests failing with the nightly build of numpy. > * `#14075 >`__: DOC Improve the code snippet in signal.hilbert docstring. > * `#14076 >`__: DOC: Document Jensen-Shannon distance being accepted by cdist/pdist > * `#14079 >`__: BLD: Avoid importing scipy.stats during cythonize stage > * `#14082 >`__: MAINT: Remove old, commented extract_diagonal > * `#14083 >`__: MAINT: sparse: Remove defunct function extract_diagonal > * `#14085 >`__: ENH: Implement canberra distance in _distance_pybind > * `#14086 >`__: MAINT: Clear scipy namespace of entries better imported from... > * `#14088 >`__: Install Pythran from sources for python 3.10 > * `#14092 >`__: BUG: Fixes issue with clang. > * `#14094 >`__: DOC: Correct the inconsistence definition of Default in class... > * `#14105 >`__: TST: stats: mannwhitneyu: check that mstats and stats mannwhitneyu... > * `#14106 >`__: DOC: stats.mstats: mannwhitneyu: the returned statistic is the... > * `#14107 >`__: ENH: stats: bootstrap: add \`vectorized\` parameter; automatically... > * `#14109 >`__: BUG: fix two issues in the fblas signature files > * `#14110 >`__: DOC: mailmap update > * `#14113 >`__: ENH: stats: bootstrap: add \`paired\` parameter > * `#14116 >`__: MAINT: fix deprecated Python C API usage in odr > * `#14118 >`__: DOC: 1.7.0 release notes > * `#14125 >`__: DOC: fix typo > * `#14126 >`__: ENH: stats: bootstrap: add \`batch\` parameter to control batch... > * `#14127 >`__: CI: upgrade pip in benchmarks CI run > * `#14130 >`__: BUG: Fix trust-constr report TypeError if verbose is set to 2... > * `#14133 >`__: MAINT: interpolate: raise NotImplementedError not ValueError > * `#14139 >`__: FIX/DOC: lsqr doctests print failure > * `#14145 >`__: MAINT: 1.7.x version pins ("backport") > * `#14146 >`__: MAINT: commit count if no tag > * `#14164 >`__: TST, BUG: fix rbf matrix value > * `#14166 >`__: CI, MAINT: restrictions on pre-release CI > * `#14171 >`__: TST: signal: Bump tolerances for a test of Gustafsson's... > * `#14175 >`__: TST: stats: Loosen tolerance in some binomtest tests. > * `#14182 >`__: MAINT: stats: Update ppcc_plot and ppcc_max docstring. > * `#14195 >`__: MAINT: download-wheels missing import > * `#14230 >`__: REL: stop shipping generated Cython sources in sdist > > Checksums > ========= > > MD5 > ~~~ > > 276042cf01da2970b83883375b036eef scipy-1.7.0-cp37-cp37m-macosx_10_9_x86_64.whl > 8149ae5442d3ca11d477893b9797b565 scipy-1.7.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 32d249d21ec09fe351b471cd578a54bd scipy-1.7.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl > 6f9b11e29d59e276729ec706c38961e2 scipy-1.7.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl > c4b23f53f47888744713a25000ed73fd scipy-1.7.0-cp37-cp37m-win32.whl > 767b17455eba48cbe3949a4a8609d9e7 scipy-1.7.0-cp37-cp37m-win_amd64.whl > ac0f5c087893240b13a78dbc80e002e1 scipy-1.7.0-cp38-cp38-macosx_10_9_x86_64.whl > e2e369078c6b7ca29c952cb9971bc154 scipy-1.7.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 2f4d2c55937133983031428405ef50e5 scipy-1.7.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl > 092c9b3117c2acc378be46fac846b088 scipy-1.7.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 08a560d8f936ea64d65471382d829b43 scipy-1.7.0-cp38-cp38-win32.whl > 330c71d5ae61a6f1a96573ee5e2dc536 scipy-1.7.0-cp38-cp38-win_amd64.whl > 535e0df93c3005acb69cf32eed57e5d7 scipy-1.7.0-cp39-cp39-macosx_10_9_x86_64.whl > 003d015e6c75d683f8e27e80d731f782 scipy-1.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 9306001377da7b018ac0215eed2ba022 scipy-1.7.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl > ed943492a5f97a086c96b6d158028ba4 scipy-1.7.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 89499df789ff766d6140ab50b8a56745 scipy-1.7.0-cp39-cp39-win32.whl > daf4ab11d37576bd792ece587e8f7ae6 scipy-1.7.0-cp39-cp39-win_amd64.whl > 8776cb3e803f07c74ddf1045eb177904 scipy-1.7.0.tar.gz > a0690bb8aa427fc0a3a59946b532763c scipy-1.7.0.tar.xz > f1f1970a34948e59b37e9706a3dfca0e scipy-1.7.0.zip > > SHA256 > ~~~~~~ > > 821e75f5c16cd7b0ab0ffe7eb9917e5af7b48c25306b4777287de8d792a5f7f3 scipy-1.7.0-cp37-cp37m-macosx_10_9_x86_64.whl > 3e7df79b42c3015058a5554bfeab6fd4c9906c46560c9ddebb5c652840f3e182 scipy-1.7.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 0572256c10ddd058e3d315c555538671ddb2737f27eb56189bfbc3483391403f scipy-1.7.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl > b77ee5e3a9507622e7f98b16122242a3903397f98d1fe3bc269d904a9025e2bc scipy-1.7.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 53116abd5060a5b4a58489cf689bee259b779e6b7ecd4ce366e7147aa7c9626e scipy-1.7.0-cp37-cp37m-win32.whl > e7b733d4d98e604109715e11f2ab9340eb45d53f803634ed730039070fc3bc11 scipy-1.7.0-cp37-cp37m-win_amd64.whl > 4ef3d4df8af40cb6f4d4eaf7b02780109ebabeec334cda26a7899ec9d8de9176 scipy-1.7.0-cp38-cp38-macosx_10_9_x86_64.whl > bd4399d4388ca0239a4825e312b3e61b60f743dd6daf49e5870837716502a92a scipy-1.7.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 80df8af7039bce92fb4cd1ceb056258631b11b3c627384e2d29bb48d44c0cae7 scipy-1.7.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl > 6130e22bf6ee506f7cddde7e0515296d97eb6c6c94f7ef5103c2b77aec5833a7 scipy-1.7.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 97ca4552ace1c313707058e774609af59644321e278c3a539322fab2fb09b943 scipy-1.7.0-cp38-cp38-win32.whl > c5d012cb82cc1dcfa72609abaabb4a4ed8113e3e8ac43464508a418c146be57d scipy-1.7.0-cp38-cp38-win_amd64.whl > 5eb8f054eebb351af7490bbb57465ba9662c4e16e1786655c6c7ed530eb9a74e scipy-1.7.0-cp39-cp39-macosx_10_9_x86_64.whl > 7f4b89c223bd09460b52b669e2e642cab73c28855b540e6ed029692546a86f8d scipy-1.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 2e685fdbfa5b989af4338b29c408b9157ea6addec15d661104c437980c292be5 scipy-1.7.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl > 3595c8b64970c9e5a3f137fa1a9eb64da417e78fb7991d0b098b18a00b776d88 scipy-1.7.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 5a983d3cebc27294897951a494cebd78af2eae37facf75d9e4ad4f1f62229860 scipy-1.7.0-cp39-cp39-win32.whl > aef6e922aea6f2e6bbb539b413c85210a9ee32757535b84204ebd22723e69704 scipy-1.7.0-cp39-cp39-win_amd64.whl > 998c5e6ea649489302de2c0bc026ed34284f531df89d2bdc8df3a0d44d165739 scipy-1.7.0.tar.gz > 0564d1091b8db03418356f0839cc4bf73b9bf7cd1089586eb690208e1f44bb8d scipy-1.7.0.tar.xz > 3a0ec7390c491140551f6493611a30605144a4d47c0410e81f49921ada026993 scipy-1.7.0.zip > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralf.gommers at gmail.com Mon Jun 21 03:20:05 2021 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Mon, 21 Jun 2021 09:20:05 +0200 Subject: [SciPy-User] [Numpy-discussion] ANN: SciPy 1.7.0 In-Reply-To: <0CE4BE69-971D-401E-AF82-B34F6BF3E6A5@fastmail.com> References: <0CE4BE69-971D-401E-AF82-B34F6BF3E6A5@fastmail.com> Message-ID: On Mon, Jun 21, 2021 at 4:24 AM Juan Nunez-Iglesias wrote: > It appears that previous doc links have been broken without redirects? > e.g.: > > > https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.distance_transform_edt.html#scipy.ndimage.distance_transform_edt > > is 404. The new link is at: > > > https://docs.scipy.org/doc/scipy/reference/reference/generated/scipy.ndimage.distance_transform_edt.html#scipy.ndimage.distance_transform_edt > > Note the extra ?reference? in the URL. Was this a conscious choice or an > unforeseen side effect of moving to the PyData theme? There?s a *lot* of > links to the docs out there. > Argh, definitely a bug. The bug will be in the uploader, because https://scipy.github.io/devdocs/reference/generated/scipy.linalg.solve.html#scipy.linalg.solve looks fine. Will try to resolve that later today. Cheers, Ralf > Juan. > > On 21 Jun 2021, at 5:44 am, Tyler Reddy wrote: > > Hi all, > > On behalf of the SciPy development team I'm pleased to announce > the release of SciPy 1.7.0. > > Sources and binary wheels can be found at: > https://pypi.org/project/scipy/ > and at: > https://github.com/scipy/scipy/releases/tag/v1.7.0 > > One of a few ways to install this release with pip: > > pip install scipy==1.7.0 > > ===================== > SciPy 1.7.0 Release Notes > ===================== > > SciPy 1.7.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.7.x branch, and on adding new features on the master branch. > > This release requires Python 3.7+ and NumPy 1.16.5 or greater. > > For running on PyPy, PyPy3 6.0+ is required. > > > **************************** > Highlights of this release > **************************** > > - A new submodule for quasi-Monte Carlo, `scipy.stats.qmc`, was added > - The documentation design was updated to use the same PyData-Sphinx > theme as > NumPy and other ecosystem libraries. > - We now vendor and leverage the Boost C++ library to enable numerous > improvements for long-standing weaknesses in `scipy.stats` > - `scipy.stats` has six new distributions, eight new (or overhauled) > hypothesis tests, a new function for bootstrapping, a class that enables > fast random variate sampling and percentile point function evaluation, > and many other enhancements. > - ``cdist`` and ``pdist`` distance calculations are faster for several > metrics, > especially weighted cases, thanks to a rewrite to a new C++ backend > framework > - A new class for radial basis function interpolation, `RBFInterpolator`, > was > added to address issues with the `Rbf` class. > > We gratefully acknowledge the Chan-Zuckerberg Initiative Essential Open > Source > Software for Science program for supporting many of the improvements to > `scipy.stats`. > > *************** > New features > *************** > > `scipy.cluster` improvements > ====================== > > An optional argument, ``seed``, has been added to ``kmeans`` and > ``kmeans2`` to > set the random generator and random state. > > `scipy.interpolate` improvements > ========================= > > Improved input validation and error messages for ``fitpack.bispev`` and > ``fitpack.parder`` for scenarios that previously caused substantial > confusion > for users. > > The class `RBFInterpolator` was added to supersede the `Rbf` class. The new > class has usage that more closely follows other interpolator classes, > corrects > sign errors that caused unexpected smoothing behavior, includes polynomial > terms in the interpolant (which are necessary for some RBF choices), and > supports interpolation using only the k-nearest neighbors for memory > efficiency. > > `scipy.linalg` improvements > ===================== > > An LAPACK wrapper was added for access to the ``tgexc`` subroutine. > > `scipy.ndimage` improvements > ======================= > > `scipy.ndimage.affine_transform` is now able to infer the ``output_shape`` > from > the ``out`` array. > > `scipy.optimize` improvements > ======================= > > The optional parameter ``bounds`` was added to > ``_minimize_neldermead`` to support bounds constraints > for the Nelder-Mead solver. > > ``trustregion`` methods ``trust-krylov``, ``dogleg`` and ``trust-ncg`` can > now > estimate ``hess`` by finite difference using one of > ``["2-point", "3-point", "cs"]``. > > ``halton`` was added as a ``sampling_method`` in `scipy.optimize.shgo`. > ``sobol`` was fixed and is now using `scipy.stats.qmc.Sobol`. > > ``halton`` and ``sobol`` were added as ``init`` methods in > `scipy.optimize.differential_evolution.` > > ``differential_evolution`` now accepts an ``x0`` parameter to provide an > initial guess for the minimization. > > ``least_squares`` has a modest performance improvement when SciPy is built > with Pythran transpiler enabled. > > When ``linprog`` is used with ``method`` ``'highs'``, ``'highs-ipm'``, or > ``'highs-ds'``, the result object now reports the marginals (AKA shadow > prices, dual values) and residuals associated with each constraint. > > `scipy.signal` improvements > ===================== > > ``get_window`` supports ``general_cosine`` and ``general_hamming`` window > functions. > > `scipy.signal.medfilt2d` now releases the GIL where appropriate to enable > performance gains via multithreaded calculations. > > `scipy.sparse` improvements > ====================== > > Addition of ``dia_matrix`` sparse matrices is now faster. > > > `scipy.spatial` improvements > ====================== > > ``distance.cdist`` and ``distance.pdist`` performance has greatly improved > for > certain weighted metrics. Namely: ``minkowski``, ``euclidean``, > ``chebyshev``, > ``canberra``, and ``cityblock``. > > Modest performance improvements for many of the unweighted ``cdist`` and > ``pdist`` metrics noted above. > > The parameter ``seed`` was added to `scipy.spatial.vq.kmeans` and > `scipy.spatial.vq.kmeans2`. > > The parameters ``axis`` and ``keepdims`` where added to > `scipy.spatial.distance.jensenshannon`. > > The ``rotation`` methods ``from_rotvec`` and ``as_rotvec`` now accept a > ``degrees`` argument to specify usage of degrees instead of radians. > > `scipy.special` improvements > ====================== > > Wright's generalized Bessel function for positive arguments was added as > `scipy.special.wright_bessel.` > > An implementation of the inverse of the Log CDF of the Normal Distribution > is > now available via `scipy.special.ndtri_exp`. > > `scipy.stats` improvements > ==================== > > Hypothesis Tests > ----------------------- > > The Mann-Whitney-Wilcoxon test, ``mannwhitneyu``, has been rewritten. It > now > supports n-dimensional input, an exact test method when there are no ties, > and improved documentation. Please see "Other changes" for adjustments to > default behavior. > > The new function `scipy.stats.binomtest` replaces > `scipy.stats.binom_test`. The > new function returns an object that calculates a confidence intervals of > the > proportion parameter. Also, performance was improved from O(n) to > O(log(n)) by > using binary search. > > The two-sample version of the Cramer-von Mises test is implemented in > `scipy.stats.cramervonmises_2samp`. > > The Alexander-Govern test is implemented in the new function > `scipy.stats.alexandergovern`. > > The new functions `scipy.stats.barnard_exact` and `scipy.stats. > boschloo_exact` > respectively perform Barnard's exact test and Boschloo's exact test > for 2x2 contingency tables. > > The new function `scipy.stats.page_trend_test` performs Page's test for > ordered > alternatives. > > The new function `scipy.stats.somersd` performs Somers' D test for ordinal > association between two variables. > > An option, ``permutations``, has been added in `scipy.stats.ttest_ind` to > perform permutation t-tests. A ``trim`` option was also added to perform > a trimmed (Yuen's) t-test. > > The ``alternative`` parameter was added to the ``skewtest``, > ``kurtosistest``, > ``ranksums``, ``mood``, ``ansari``, ``linregress``, and ``spearmanr`` > functions > to allow one-sided hypothesis testing. > > Sample statistics > ----------------------- > > The new function `scipy.stats.differential_entropy` estimates the > differential > entropy of a continuous distribution from a sample. > > The ``boxcox`` and ``boxcox_normmax`` now allow the user to control the > optimizer used to minimize the negative log-likelihood function. > > A new function `scipy.stats.contingency.relative_risk` calculates the > relative risk, or risk ratio, of a 2x2 contingency table. The object > returned has a method to compute the confidence interval of the relative > risk. > > Performance improvements in the ``skew`` and ``kurtosis`` functions > achieved > by removal of repeated/redundant calculations. > > Substantial performance improvements in > `scipy.stats.mstats.hdquantiles_sd`. > > The new function `scipy.stats.contingency.association` computes several > measures of association for a contingency table: Pearsons contingency > coefficient, Cramer's V, and Tschuprow's T. > > The parameter ``nan_policy`` was added to `scipy.stats.zmap` to provide > options > for handling the occurrence of ``nan`` in the input data. > > The parameter ``ddof`` was added to `scipy.stats.variation` and > `scipy.stats.mstats.variation`. > > The parameter ``weights`` was added to `scipy.stats.gmean`. > > Statistical Distributions > ------------------------------- > > We now vendor and leverage the Boost C++ library to address a number of > previously reported issues in ``stats``. Notably, ``beta``, ``binom``, > ``nbinom`` now have Boost backends, and it is straightforward to leverage > the backend for additional functions. > > The skew Cauchy probability distribution has been implemented as > `scipy.stats.skewcauchy`. > > The Zipfian probability distribution has been implemented as > `scipy.stats.zipfian`. > > The new distributions ``nchypergeom_fisher`` and ``nchypergeom_wallenius`` > implement the Fisher and Wallenius versions of the noncentral > hypergeometric > distribution, respectively. > > The generalized hyperbolic distribution was added in > `scipy.stats.genhyperbolic`. > > The studentized range distribution was added in > `scipy.stats.studentized_range`. > > `scipy.stats.argus` now has improved handling for small parameter values. > > Better argument handling/preparation has resulted in performance > improvements > for many distributions. > > The ``cosine`` distribution has added ufuncs for ``ppf``, ``cdf``, ``sf``, > and > ``isf`` methods including numerical precision improvements at the edges of > the > support of the distribution. > > An option to fit the distribution to data by the method of moments has been > added to the ``fit`` method of the univariate continuous distributions. > > Other > --------- > `scipy.stats.bootstrap` has been added to allow estimation of the > confidence > interval and standard error of a statistic. > > The new function `scipy.stats.contingency.crosstab` computes a contingency > table (i.e. a table of counts of unique entries) for the given data. > > `scipy.stats.NumericalInverseHermite` enables fast random variate sampling > and percentile point function evaluation of an arbitrary univariate > statistical > distribution. > > New `scipy.stats.qmc` module > ----------------------------------------- > > This new module provides Quasi-Monte Carlo (QMC) generators and associated > helper functions. > > It provides a generic class `scipy.stats.qmc.QMCEngine` which defines a QMC > engine/sampler. An engine is state aware: it can be continued, advanced and > reset. 3 base samplers are available: > > - `scipy.stats.qmc.Sobol` the well known Sobol low discrepancy sequence. > Several warnings have been added to guide the user into properly using > this > sampler. The sequence is scrambled by default. > - `scipy.stats.qmc.Halton`: Halton low discrepancy sequence. The sequence > is > scrambled by default. > - `scipy.stats.qmc.LatinHypercube`: plain LHS design. > > And 2 special samplers are available: > > - `scipy.stats.qmc.MultinomialQMC`: sampling from a multinomial > distribution > using any of the base `scipy.stats.qmc.QMCEngine`. > - `scipy.stats.qmc.MultivariateNormalQMC`: sampling from a multivariate > Normal > using any of the base `scipy.stats.qmc.QMCEngine`. > > The module also provide the following helpers: > > - `scipy.stats.qmc.discrepancy`: assess the quality of a set of points in > terms > of space coverage. > - `scipy.stats.qmc.update_discrepancy`: can be used in an optimization > loop to > construct a good set of points. > - `scipy.stats.qmc.scale`: easily scale a set of points from (to) the unit > interval to (from) a given range. > > > *********************** > Deprecated features > *********************** > > `scipy.linalg` deprecations > ==================== > > - `scipy.linalg.pinv2` is deprecated and its functionality is completely > subsumed into `scipy.linalg.pinv` > - Both ``rcond``, ``cond`` keywords of `scipy.linalg.pinv` and > `scipy.linalg.pinvh` were not working and now are deprecated. They are > now > replaced with functioning ``atol`` and ``rtol`` keywords with clear > usage. > > `scipy.spatial` deprecations > ===================== > > - `scipy.spatial.distance` metrics expect 1d input vectors but will call > ``np.squeeze`` on their inputs to accept any extra length-1 dimensions. > That > behaviour is now deprecated. > > ***************** > Other changes > ***************** > > We now accept and leverage performance improvements from the ahead-of-time > Python-to-C++ transpiler, Pythran, which can be optionally disabled (via > ``export SCIPY_USE_PYTHRAN=0``) but is enabled by default at build time. > > There are two changes to the default behavior of > `scipy.stats.mannwhitenyu`: > > - For years, use of the default ``alternative=None`` was deprecated; > explicit > ``alternative`` specification was required. Use of the new default value > of > ``alternative``, "two-sided", is now permitted. > - Previously, all p-values were based on an asymptotic approximation. > Now, for > small samples without ties, the p-values returned are exact by default. > > Support has been added for PEP 621 (project metadata in ``pyproject.toml``) > > We now support a Gitpod environment to reduce the barrier to entry for > SciPy > development; for more details see :ref:`quickstart-gitpod`. > > > ********* > Authors > ********* > > * @endolith > * Jelle Aalbers + > * Adam + > * Tania Allard + > * Sven Baars + > * Max Balandat + > * baumgarc + > * Christoph Baumgarten > * Peter Bell > * Lilian Besson > * Robinson Besson + > * Max Bolingbroke > * Blair Bonnett + > * Jord?o Bragantini > * Harm Buisman + > * Evgeni Burovski > * Matthias Bussonnier > * Dominic C > * CJ Carey > * Ram?n Casero + > * Chachay + > * charlotte12l + > * Benjamin Curtice Corbett + > * Falcon Dai + > * Ian Dall + > * Terry Davis > * droussea2001 + > * DWesl + > * dwight200 + > * Thomas J. Fan + > * Joseph Fox-Rabinovitz > * Max Frei + > * Laura Gutierrez Funderburk + > * gbonomib + > * Matthias Geier + > * Pradipta Ghosh + > * Ralf Gommers > * Evan H + > * h-vetinari > * Matt Haberland > * Anselm Hahn + > * Alex Henrie > * Piet Hessenius + > * Trever Hines + > * Elisha Hollander + > * Stephan Hoyer > * Tom Hu + > * Kei Ishikawa + > * Julien Jerphanion > * Robert Kern > * Shashank KS + > * Peter Mahler Larsen > * Eric Larson > * Cheng H. Lee + > * Gregory R. Lee > * Jean-Benoist Leger + > * lgfunderburk + > * liam-o-marsh + > * Xingyu Liu + > * Alex Loftus + > * Christian Lorentzen + > * Cong Ma > * Marc + > * MarkPundurs + > * Markus L?ning + > * Liam Marsh + > * Nicholas McKibben > * melissawm + > * Jamie Morton > * Andrew Nelson > * Nikola Forr? > * Tor Nordam + > * Olivier Gauth? + > * Rohit Pandey + > * Avanindra Kumar Pandeya + > * Tirth Patel > * paugier + > * Alex H. Wagner, PhD + > * Jeff Plourde + > * Ilhan Polat > * pranavrajpal + > * Vladyslav Rachek > * Bharat Raghunathan > * Recursing + > * Tyler Reddy > * Lucas Roberts > * Gregor Robinson + > * Pamphile Roy + > * Atsushi Sakai > * Benjamin Santos > * Martin K. Scherer + > * Thomas Schmelzer + > * Daniel Scott + > * Sebastian Wallk?tter + > * serge-sans-paille + > * Namami Shanker + > * Masashi Shibata + > * Alexandre de Siqueira + > * Albert Steppi + > * Adam J. Stewart + > * Kai Striega > * Diana Sukhoverkhova > * S?ren Fuglede J?rgensen > * Mike Taves > * Dan Temkin + > * Nicolas Tessore + > * tsubota20 + > * Robert Uhl > * christos val + > * Bas van Beek + > * Ashutosh Varma + > * Jose Vazquez + > * Sebastiano Vigna > * Aditya Vijaykumar > * VNMabus > * Arthur Volant + > * Samuel Wallan > * Stefan van der Walt > * Warren Weckesser > * Anreas Weh > * Josh Wilson > * Rory Yorke > * Egor Zemlyanoy > * Marc Zoeller + > * zoj613 + > * ?? + > > A total of 126 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. > > ************************** > Issues closed for 1.7.0 > ************************** > > * `#636 `__: Statistics > Review: mannwhitneyu (Trac #109) > * `#1346 `__: > signal.medfilt2d should fall back on signal.medfilt for types... > * `#2118 `__: Mann-Whitney > statistic returns incorrect results (Trac #1593) > * `#2158 `__: > special.chndtrix (ncx2.ppf) gives wrong results (Trac #1633) > * `#3284 `__: build_sphinx > weirdness > * `#3352 `__: beta > distribution sf > * `#4067 `__: Mannwhitneyu > with arrays full of nan still reports significance > * `#4080 `__: entropy in Scipy > * `#4641 `__: > mstats.mannwhitneyu and stats.mannwhitneyu return inconsistent... > * `#5122 `__: > scipy.stats.binom.ppf Incorrect for p=0 > * `#5180 `__: Rbf > interpolation - use only K nearest neighbors > * `#5258 `__: > affine_transform complains about output_shape when output array... > * `#5562 `__: Wishart degrees > of freedom should be $v > p-1$ instead of $v... > * `#5933 `__: mstats_basic.py > - mannwhitneyu [scipy/scipy/stats/mstats_basic.py] > * `#6409 `__: > _unequal_var_ttest_denom causes ZeroDivisionError in early samples > * `#6682 `__: negative > binomial survival function is imprecise > * `#6897 `__: > scipy.stats.mannwhitneyu of empty sets gives p=0.0 and does not... > * `#7303 `__: stats.describe > with nan_policy=omit returns matrix-wide minmax... > * `#7406 `__: > scipy.stats.binom.ppf returns nan for q between 0 and 1 if n... > * `#7437 `__: ENH: add skewed > Cauchy distribution to stats > * `#7542 `__: DOC: stats > tutorials: Questions on arcsine and Student t formulae > * `#7593 `__: Meaning of > \`tol\` argument in \`scipy.optimize.minimize\` is... > * `#8565 `__: Error in > SmoothSphereBivariateSpline(): "ValueError: Error code... > * `#8665 `__: > \`scipy.ncx2.sf\` should be monotone decreasing > * `#8836 `__: > scipy.optimize.linprog(method='simplex') needs to return duals > * `#9184 `__: Mann-Whitney > implementation wrong? > * `#9450 `__: allow seeding > of init methods in vq.kmeans2 > * `#9704 `__: > RectSphereBivariateSpline fails for negative longitude > * `#9836 `__: > scipy.stats.rice gives incorrect results when s is very low compared... > * `#9904 `__: > Request/Proposal: Greatly improve scipy.interpolate.Rbf > * `#9981 `__: stats.kruskal : > add a warning for an input with 2 or more columns > * `#10358 `__: DOC: linprog > and linear_sum_assignment tutorials needed > * `#10908 `__: Nakami > fitting doesn't converge (scipy.stats) > * `#10933 `__: Add scaled > inverse chi2 distribution > * `#11014 `__: Barnard's > Test for More Powerful Hypothesis Testing of 2x2 Contingency... > * `#11050 `__: Feature > request: Nelder-Mead with bounds > * `#11086 `__: > scipy.stats.skew doesn't work correctly for float point numbers > * `#11113 `__: inconsistent > result from ttest_ind and mannwhitneyu when used... > * `#11134 `__: Wrong > confidence interval for binomial distribution with p=0 > * `#11325 `__: Add axis > parameter for scipy.spatial.distance.jensenshannon > * `#11474 `__: > scipy.stats.skellam.cdf(0) returns 0 for large mu1 = mu2 > * `#11523 `__: > scipy.stats.zipf doesn't implement zipf distribution > * `#11848 `__: How to get > Lagrange / lambda multipliers out of 'linprog' optimize... > * `#11909 `__: Enable bounds > for lambda in boxcox > * `#12118 `__: Docstring > missing defaults > * `#12132 `__: Slow tests to > be trimmed or moved to test('full') > * `#12230 `__: Dendrogram: > enable leaves labelling with 'labels' when using... > * `#12282 `__: > scipy.stats.chisquare test does not check that observed and expected... > * `#12298 `__: BUG: > fmin_powell missing squeeze in 1.5.0rc > * `#12403 `__: Add > nan_policy to stats.zmap > * `#12518 `__: Null > hypothesis of Kolmogorov Smirnov test is not correctly described > * `#12534 `__: Feature > request: scipy.linalg.norm to deal with 0-size array > * `#12622 `__: > scipy.interpolate.interpn docstring example > * `#12635 `__: > scipy.stats.beta.ppf gives unexpexted results > * `#12669 `__: > Median-averaging of complex CSDs > * `#12731 `__: > stats.ncx2.cdf fails for nc >> x >> 1 > * `#12778 `__: Confusing > documentation of scipy.stats.weightedtau > * `#12794 `__: [Bug] The > result of stats.beta.isf is inconsistent with stats.beta.sf > * `#12837 `__: > stats.mannwhitneyu could support arrays > * `#12868 `__: Vector-valued > interpolation in \`interp2d\` > * `#12922 `__: Minimize with > trust-constr method leads to TypeError if option... > * `#12929 `__: The use of > starred expressions to create data detracts from understanding... > * `#12965 `__: domain of > argument of scipy.interpolate.RectSphereBivariateSpline(u,... > * `#13025 `__: Generalized > Hyperbolic Distribution > * `#13090 `__: Broken link > in doc for signal.max_len_seq > * `#13101 `__: MAINT: > Upgrade python version in docker file > * `#13158 `__: > \`signal.get_window()\` has a missing doc link and cannot get... > * `#13173 `__: Uninformative > error message from bisplev function > * `#13234 `__: BUG: stats: > Wrong shape of burr.moment() and fisk.moment() when... > * `#13242 `__: Does kmeans > "drop" clusters? > * `#13243 `__: tgsen uses an > output argument for computing a default argument > * `#13245 `__: Kurtosis > returning 1 for array of same elements > * `#13257 `__: GitHub > Actions test failures for MacOS > * `#13272 `__: > scipy.stats.yeojohnson_llf doc mistake > * `#13280 `__: Wrong results > with hypergeom cdf > * `#13285 `__: description > correction in scipy.stats.t > * `#13287 `__: Generate > binomial CDF with mu instead of prob > * `#13294 `__: BUG: stats: > wrong bounds returned by 'support' method for distributions... > * `#13299 `__: Typing for > scipy.spatial > * `#13300 `__: Add a single > individual to a latinhypercube initial population... > * `#13311 `__: MAINT: > pavement.py PYVER is outdated > * `#13339 `__: savemat > discards dimension information if any dimension is zero > * `#13341 `__: add > scipy.stats.variation with an ddof parameter > * `#13353 `__: > Documentation: in scipy.stats.johnsonsu, parameter \`a\` can... > * `#13405 `__: TST: add a > few tests for sparse BSR ctor > * `#13410 `__: BUG: skew for > empty array raises > * `#13417 `__: 10,000 times > speedup for generating random numbers from the cosine... > * `#13440 `__: python > runtest.py -t path-to-test.py failed > * `#13454 `__: Scipy cosine > distance can be greater than 2 > * `#13459 `__: Broken link > in cramervonmises documentation > * `#13494 `__: One-word typo > in the documentation of optimize.linprog_simplex > * `#13501 `__: minimize > using Powell methods with Bounds leads to "TypeError:... > * `#13509 `__: > signal.medfilt2d vs ndimage.median_filter > * `#13511 `__: DOC: error in > description of "direc" parameter of "fmin_powell" > * `#13526 `__: TST: stats: > intermittent \`test_ttest_ind_randperm_alternative2... > * `#13536 `__: > \`_within_tolerance\` seems an unnecessary repetition of \`numpy.isclose\` > * `#13540 `__: missing > python 3.8 manylinux wheels on scipy-wheels-nightly > * `#13559 `__: shape error > in linprog with revised simplex > * `#13587 `__: > binned_statistic unreliable with single precision > * `#13589 `__: Better > argument preparation for distributions in stats package. > * `#13602 `__: The > crystallball distribution entropy is sometimes minus infinity > * `#13606 `__: MAINT: mypy: > some typing errors while running mypy + adding mypy... > * `#13608 `__: Why does > stats.binned_statistic_2d convert its values argument... > * `#13609 `__: BUG: SciPy > pip install -e gets unusable version spec > * `#13610 `__: Highs solver > did not provide a solution nor did it report a failure > * `#13614 `__: BUG: > invgauss.cdf should return the correct value when \`mu\`... > * `#13628 `__: 1-letter typo > in the definition of scipy.special.spence function... > * `#13634 `__: mmwrite fails > on dense, skew-symmetric array > * `#13646 `__: Sparse matrix > argmax() integer overflow on Windows 10 > * `#13647 `__: > \`scipy.stats.qmc.LatinHypercube\` cannot sample single sample... > * `#13651 `__: Documentation > wrong in scipy.linalg.eigvalsh > * `#13664 `__: BUG: gamma > distribution's inverse survival function overflows... > * `#13693 `__: BUG: > sokalmichener appears to incorrectly apply weights > * `#13697 `__: BUG: stats: > Spurious warning generated by arcsine.pdf at the... > * `#13704 `__: Make it > possible to pass a rank cut-off value relatively to the... > * `#13707 `__: Kullback > Leibler Divergence broadcasting no longer works > * `#13740 `__: > Scipy.optimize x0 out of bounds when it is within bounds. > * `#13744 `__: > scipy.interpolate.interp1d has inconsistent behavior for non-unique... > * `#13754 `__: > optimize.minimize 'trust' methods and finite difference Hessian... > * `#13762 `__: MAINT, TST: > aarch64 stats test failures showing up in wheels... > * `#13769 `__: probplot > draws fit line even when fit=False > * `#13791 `__: BUG: stats: > wrapcauchy.cdf does not broadcast the shape parameter... > * `#13793 `__: CI: CircleCI > doc build failure > * `#13840 `__: manylinux1 > builds are failing because of C99 usage in \`special/_cosine.c\` > * `#13850 `__: CI: Homebrew > is failing due to bintray > * `#13875 `__: BUG: > chi2_contingency with Yates correction > * `#13878 `__: BUG: > \`signal.get_window\` argument handling issue > * `#13880 `__: Remove all > usages of numpy.compat > * `#13896 `__: Boschloo's > Test for More Powerful Hypothesis Testing of 2x2 Contingency... > * `#13923 `__: Inverse of > Log CDF of Normal Distribution > * `#13933 `__: > \`signal.get_window\` does not support \`general_cosine\` and... > * `#13950 `__: DOC: > scipy.spatial.KDTree.query > * `#13969 `__: N=4 must not > exceed M=3 > * `#13970 `__: Pearson's > original paper on chi-square test could be referenced. > * `#13984 `__: Faster > addition of sparse diagonal matrices > * `#13988 `__: An error > occurred when using scipy.io.wavfile of scipy 1.6 version... > * `#13997 `__: BUG: sparse: > Incorrect result from \`dia_matrix.diagonal()\` > * `#14005 `__: MAINT: > optimize: \`curve_fit\` input error msg can be improved. > * `#14038 `__: MAINT: add > type annotations for _sobol.pyx > * `#14048 `__: DOC: missing > git submodule information > * `#14055 `__: linalg.solve: > Unclear error when using assume_a='her' with real... > * `#14093 `__: DOC: > Inconsistency in the definition of default values in the... > * `#14158 `__: TST, BUG: > test_rbfinterp.py -- test_interpolation_misfit_1d fails... > * `#14170 `__: TST: signal > submodule test_filtfilt_gust failing on 32-bit amd64... > * `#14194 `__: MAINT: > download-wheels.py missing import > * `#14199 `__: Generated > sources for biasedurn extension are broken in 1.7.0rc1 > > > ************************** > Pull requests for 1.7.0 > ************************** > > * `#4824 `__: Permutation Ttest > (new PR) > * `#4933 `__: ENH: Update the > Mann-Whitney-Wilcoxon test > * `#7702 `__: ENH: stats: Add > Skewed Cauchy Distribution > * `#8306 `__: Optional Pythran > support for scipy.signal.max_len_seq_inner > * `#10170 `__: MAINT: stats: > Implement cdf and ppf as ufuncs for the cosine... > * `#10454 `__: ENH: Extend > find_peaks_cwt to take numbers and iterables for... > * `#10844 `__: ENH: add > stats.qmc module with quasi Monte Carlo functionality > * `#11313 `__: ENH: add > Wright's generalized Bessel function > * `#11352 `__: ENH: stats: Add > crosstab function. > * `#11477 `__: FIX: bounded > parameter in cdfchn.f gives bad results > * `#11695 `__: ENH: stats: add > method of moments to \`rv_continuous.fit\` > * `#11911 `__: ENH: Added > bounds to boxcox and boxcox_normmax > * `#12438 `__: BUG: use > ellipkm1 in elliptical filter design to prevent numerical... > * `#12531 `__: ENH: stats: add > Page's L test > * `#12603 `__: ENH: stats: Add > \`binomtest\` to replace \`binom_test\`. > * `#12653 `__: ENH: stats: add > Somers' D test > * `#12676 `__: BUG: update > median averaging in signal.csd > * `#12760 `__: BUG: special: > erfinv(x<<1) loses precision > * `#12801 `__: ENH: Add > single-sided p-values to remaining spearmanr and linregress > * `#12873 `__: ENH: Stats: add > Alexander Govern Test > * `#13008 `__: ENH: Add > 'alternative' to functions using normal CDF for p-value > * `#13040 `__: BUG: Allow > RectSphereBivariateSpline to accept negative longitude > * `#13048 `__: ENH: stats: Add > a function that computes the relative risk. > * `#13067 `__: ENH: Add > weights parameter to stats.gmean > * `#13084 `__: ENH: fast > Hankel transform > * `#13104 `__: MAINT: upgrade > python version (drop python 3.6) for docker dev... > * `#13153 `__: ENH: added > association measurements Pearsons Contingency Coefficient,... > * `#13166 `__: ENH: stats: Add > nan_policy to zmap. > * `#13175 `__: MAINT: tests > for tall cost matrices in \`linear_sum_assignment\` > * `#13177 `__: BUG: raise > NotImplementedError in fourier_ellipsoid when ndim... > * `#13184 `__: BUG: stats: Fix > min and max calculation of mstats.describe with... > * `#13188 `__: DOC: stats: > make null and alternative hypotheses of kstest more... > * `#13193 `__: MAINT: stats: > chisquare check sum of observed/expected frequencies > * `#13197 `__: ENH/MAINT: > HiGHS upstream enhancements and bug fixes > * `#13198 `__: ENH: allow > inference of output_shape from out array in affine_transform > * `#13204 `__: ENH: stats: add > Zipfian (different from Zipf/zeta) distribution > * `#13208 `__: REL: set > version to 1.7.0.dev0 > * `#13216 `__: TST: stats: > break up and mark slow tests > * `#13224 `__: Update docs for > the weighted ? > * `#13230 `__: ENH: linalg: > Add LAPACK wrapper for tgexc. > * `#13232 `__: MAINT: stats: > raise error when input to kruskal has >1 dim > * `#13233 `__: DOC: stats: fix > MGF of arcsine and entropy of t in tutorial > * `#13236 `__: MAINT: > reorganize shared linear assignment tests > * `#13237 `__: BENCH: Refactor > stats.Distribution to easily add new distributions > * `#13238 `__: BUG: stats: fix > wrong shape output of burr and fisk distributions > * `#13240 `__: MAINT: add > tests of trivial cost matrices for linear sum assignment > * `#13252 `__: DOC: optimize: > add \`optimize.linear_sum_assignment\` tutorial. > * `#13254 `__: BUG: Fix > precision issues for constant input in skew and kurtosis > * `#13262 `__: BUG: > scipy.medfilt and .medfilt2d fixes > * `#13263 `__: ENH: add > Cramer-von Mises test for two samples > * `#13264 `__: fix a minor > typo in \`stats.anderson\` doc > * `#13268 `__: ENH: stats: Add > implementation of _entropy for the t distr. > * `#13273 `__: DOC: stats: fix > typo in Yeo-Johnson LL function documentation > * `#13275 `__: MAINT: stats: > Correct a comment in the _fitstart method of gamma. > * `#13283 `__: BUG: stats: fix > the cdf method of rv_discrete class > * `#13286 `__: DOC: stats: > clairify rv_continuous/discrete.stats example > * `#13288 `__: DOC: stats: > discrete distribution shape parameter restrictions > * `#13289 `__: MAINT: fix a > build warning in sigtoolsmodule.c > * `#13290 `__: DOC: Expand the > discussion of the nan_policy API. > * `#13291 `__: MAINT: signal, > stats: Use keepdims where appropriate. > * `#13292 `__: DOC: stats: > note another common parameterization of nbinom > * `#13293 `__: DOC: Change > broken link for default values to archived link > * `#13295 `__: BUG: stats: fix > the support method to return correct bounds > * `#13296 `__: DOC: stats: Fix > latex markup in the kstwo docstring. > * `#13297 `__: TST: mark > kde.logpdf overflow test as xslow > * `#13298 `__: Generalized > Hyperbolic Distribution > * `#13301 `__: DOC: cluster: > Add cluster number note to the docstring of cluster.vq.kmeans > * `#13302 `__: BUG: Fix > ndimage.morphology.distance_transform\_\* argument handling > * `#13303 `__: CI: prevent > Codecov giving false CI failures and wrong PR annotations > * `#13313 `__: ENH: static > typing for qhull > * `#13316 `__: Pythran > implementation of scipy.signal._spectral > * `#13317 `__: DOC: forward > port 1.6.0 relnotes > * `#13319 `__: ENH: stats: add > fast numerical inversion of distribution CDF > * `#13320 `__: ENH: x0 for > differential_evolution > * `#13324 `__: DOC correct > linprog highs versionadded to 1.6 > * `#13326 `__: MAINT: update > numpydoc to v1.1.0 > * `#13327 `__: DOC: > interpolate: improved docstring examples of \`interpolate.interpn()\`... > * `#13328 `__: ENH: Boost > stats distributions > * `#13330 `__: ENH: stats: add > noncentral hypergeometric distributions (Fisher's... > * `#13331 `__: MAINT/ENH: > resolve mypy warnings/errors > * `#13332 `__: DOC: > interpolate: improved docstring of \`interpolate.interp2d\`... > * `#13333 `__: ENH: stats: > Some more _sf and _isf implementations. > * `#13334 `__: MAINT: stats: > Clean up a few defunct comments in _continuous_distns.py > * `#13336 `__: Pythran version > of scipy.optimize._group_columns > * `#13337 `__: DOC|ENH: type > hinting in scipy.integrate.simpson > * `#13346 `__: ENH: stats: add > 'ddof' parameter to the 'variation' function > * `#13355 `__: ENH: stats: > implement _logpdf, _sf and _isf for loggamma. > * `#13360 `__: ENH|DOC: fix > docstring and input validation in interpolate.RectSphereBivariateSpline > * `#13366 `__: BUG: stats: > Don't raise ZeroDivisionError in _unequal_var_ttest_denom > * `#13370 `__: ENH: fix ARGUS > distribution for small parameters in stats > * `#13371 `__: ENH: stats: add > \`bootstrap\` for estimating confidence interval... > * `#13373 `__: BUG: io/matlab: > preserve dimensions of empty >=2D arrays > * `#13374 `__: ENH: stats: add > skewed Cauchy distribution > * `#13379 `__: BUG: sparse: > fix verbosity in sparse lsqr > * `#13383 `__: TST: stats: > mark many dimension permutation t-test slow > * `#13384 `__: MAINT: Make > keywords array static > * `#13388 `__: PERF: Avoid > duplicate mean calculations in skew and kurtosis > * `#13389 `__: DOC: Fix > deprecated directive syntax > * `#13390 `__: DOC: Correct > line length for Parameter Section underline > * `#13393 `__: MAINT: stats: > allow wishart dim - 1 < df < dim > * `#13395 `__: DOC: fix typo > in setup.py warning message > * `#13396 `__: BUG: Fix MLE > for Nakagami \`nakagami_gen.fit\` > * `#13397 `__: MAINT:linalg: > Fix tgsen family wrapper and ordqz > * `#13406 `__: TST: add error > handling tests for sparse BSR ctor > * `#13413 `__: DOC: > ultra-quickstart guide > * `#13418 `__: BUG: Fix moment > returning inconsistent types and shapes > * `#13423 `__: DOC: Update > example for leaf_label_func/dendrogram > * `#13431 `__: ENH: stats: > override _rvs for nhypergeom > * `#13432 `__: Add indicator > in NDInterpolator docstring that N must be > 1 > * `#13434 `__: DOC: stats: > note relationship between scaled-inv-chi2 and invgamma > * `#13436 `__: ENH: > interpolate: add input validation to check input x-y is... > * `#13441 `__: ENH: add > functionality \`barnard_exact\` test to scipy.stats. > * `#13443 `__: MAINT: stats: > Updates for skewcauchy > * `#13444 `__: DOC: clarify > range of \`a\` parameter fpr johnsonsu/johnsonsb > * `#13445 `__: DOC: fix > runtests guidelines. > * `#13446 `__: MAINT: stats: > Add _fitstart method to wrapcauchy. > * `#13447 `__: DEV: Update > development Docker image > * `#13448 `__: ENH: Add > annotations for \`scipy.spatial.distance\` > * `#13451 `__: DOC: minor > formatting. > * `#13458 `__: DOC: indent see > also. > * `#13460 `__: DOC: stats: Fix > link to Cramer-von Mises wikipedia article. > * `#13461 `__: DOC: reorganize > scipy.stats overview docs page > * `#13463 `__: DOC: misc > formatting fixes > * `#13466 `__: DOC: Typo in > see also s/SmoothUni/SmoothBi/g > * `#13467 `__: DOC: optimize: > add description about \`tol\` argument for \`minimize\`. > * `#13469 `__: MAINT: Refactor > optimization methods to use scipy.stats.qmc > * `#13477 `__: CI: pin numpy > to 1.19.5 for the three macOS CI jobs > * `#13478 `__: DOC: fix typos > where double :: for Sphinx directives were missing > * `#13481 `__: CI: pin numpy > to 1.19.5 in the 4 parallel Windows builds on Azure > * `#13482 `__: CI: use numpy > 1.20.0 again in macOS CI > * `#13483 `__: DOC: Multiple > documentation syntax fixes. > * `#13484 `__: Move some > pythran config from CI to setup > * `#13487 `__: DOC: add a > tutorial about scipy.stats.qmc > * `#13492 `__: ENH: GH actions > should not run on forks > * `#13493 `__: DEV: Enable > gitpod for SciPy > * `#13495 `__: DOC One-word > typo in the documentation of optimize.linprog_simplex > * `#13499 `__: DOC: describe > LSAP implementation > * `#13502 `__: BUG: Bounds > created with lists weren't working for Powell > * `#13507 `__: MAINT, TST: > stats: centralize invalid parameters list for all... > * `#13510 `__: DOC: stats: fix > small doc errors in 'multivariate_hypergeom' > * `#13513 `__: DOC: Added math > notation in examples in ltisys.py > * `#13514 `__: ENH: simplify > low_0_bit function for Sobol > * `#13515 `__: ENH: optimize: > add bound constraint support for nelder-mead solver > * `#13516 `__: DOC: reduce > LaTeX usage for johnsonb docstring > * `#13519 `__: BLD: remove > build_sphinx support from setup.py > * `#13527 `__: TST: stats: > xfail ttest_ind_randperm_alternative2 on 32 bit > * `#13530 `__: DOC: correct > comparisons between median filter functions > * `#13532 `__: ENH: release > the GIL inside medfilt2d > * `#13538 `__: DOC: optimize: > fix minor doc error in 'fmin_powell' (#13511) > * `#13546 `__: DOC: fix list > of "mode" options for ndimage > * `#13549 `__: ENH: stats: add > 'alternative' keyword to some normality tests. > * `#13551 `__: MAINT: add git > to docker env > * `#13552 `__: MAINT: stats: > remove float_power shim > * `#13553 `__: DOC: use > support rather than a/b in stats tutorial > * `#13560 `__: MAINT: > optimize: improve linprog error message for sparse input... > * `#13562 `__: MAINT: > optimize: using np.isclose instead of _within_tolerance. > * `#13566 `__: ENH: Speed up > hdquantiles_sd() > * `#13569 `__: BENCH: > optimize: benchmark only HiGHS methods; add bigger linprog... > * `#13574 `__: DOC: In > description of cluster.hierarchy.dendrogram 'level' parameter,... > * `#13576 `__: ENH: improve > discrepancy performance > * `#13579 `__: TST: Add > pybind11 to tox environments > * `#13583 `__: BUG: Fix > Dockerfile apt-get installs > * `#13588 `__: MAINT: forward > port 1.6.1 relnotes. > * `#13593 `__: BUG: stats: > preserve sample dtype for bin edges > * `#13595 `__: ENH: > interpolate: add RBFInterpolator > * `#13596 `__: DOC: Fix > indentation in new_stats_distribution.rst.inc > * `#13601 `__: Add dpss for > get_window function > * `#13604 `__: DOC: Correct > dual annealing visiting param range. > * `#13605 `__: Add Codecov > badge to README > * `#13607 `__: MAINT: stats: > fix crystalball entropy > * `#13611 `__: Better argument > preparation for distributions in stats package. > * `#13612 `__: Add docker run > command for Windows cmd > * `#13613 `__: MAINT, CI: > mypy: fix typing errors + add mypy to CI > * `#13616 `__: FIX: Return > correct output for invgauss.cdf when mu is very small > * `#13617 `__: MAINT: accept > numbers and iterables for width in find_peaks_cwt > * `#13620 `__: CI: disable the > mypy CI job (partial revert of gh-13613) > * `#13621 `__: DOC: signal: > use array_like for input types > * `#13622 `__: MAINT: clean up > some unused files, make \`mypy scipy\` pass > * `#13623 `__: CI: enable Mypy > CI job again > * `#13624 `__: TST: test more > values for \`visiting_param\` input to \`dual_annealing\` > * `#13625 `__: Rename > integrate.simps to integrate.simpsons in documentation... > * `#13631 `__: ENH: add a > \`stats.differential_entropy\` function > * `#13633 `__: BUG: > stats.binned_statistic_2d user function expecting arrays > * `#13641 `__: ENH: Added > degrees parameter to rotvec > * `#13645 `__: MAINT: mypy: > don't install numpy-stubs > * `#13649 `__: BUG: sparse: > csc_matrix.argmax() integer overflow > * `#13650 `__: ENH: stats: add > 'alternative' parameter to ansari > * `#13652 `__: DOC: fix > eigvalsh documentation (#13651) > * `#13654 `__: BUG: Fix > LatinHypercubes > * `#13656 `__: DOC: Fix PCHIP > references > * `#13657 `__: TST: remove > IPython warning in debug session > * `#13658 `__: Remove spurious > quotes in docstring > * `#13661 `__: ENH: stats: > improve efficiency of / fix bug in exact permutation... > * `#13667 `__: MAINT: Make > latest Docker image default > * `#13668 `__: MAINT: add > .theia/ to .gitignore > * `#13669 `__: BLD: change > SCIPY_USE_PYTHRAN default to \`1\` > * `#13676 `__: ENH Small > improvements for LSQR with damp > * `#13678 `__: MAINT: add > Pythran-generated files to .gitignore > * `#13679 `__: MAINT: move the > \`conda develop .\` in the Gitpod config > * `#13680 `__: DOC: Add > cKDTree note comparing it with KDTree > * `#13681 `__: DOC: build doc > updates on Pythran, compiled code, and cleanups > * `#13683 `__: BUG: mmwrite > correctly serializes non skew-symmetric arrays > * `#13684 `__: FIX: fix > numerical overflow in gamma.isf method > * `#13685 `__: BUG: fix cosine > distance range to 0-2 > * `#13694 `__: MAINT: fix > warning emitted when NumPy version is incorrect > * `#13696 `__: ENH: support > trimming in ttest_ind > * `#13698 `__: BUG: stats: Fix > spurious warnings generated by arcsine.pdf > * `#13701 `__: DEV: > scipy.interpolate b-splines (periodic case) > * `#13702 `__: DEP: Clean up > spent deprecations in spatial.distance > * `#13703 `__: MAINT: fix > issues found by static code analysis > * `#13706 `__: ENH: stats: > Implement sf and isf for the laplace distribution. > * `#13711 `__: MAINT: stats: > fix broadcasting for scipy.stats.entropy > * `#13712 `__: BUG: stats: > Override _fitstart for the invweibull distribution. > * `#13713 `__: DOC: update > toolchain.rst to reflect windows universal C runtime > * `#13714 `__: MAINT: stats: > Remove an unused list from test_continuous_basic.py. > * `#13715 `__: MAINT: stats: > No need to suppress frechet deprecation warnings. > * `#13716 `__: MAINT: use > super() as described by PEP 3135 > * `#13718 `__: MAINT: > new-style class, removing inheritance to object > * `#13721 `__: MAINT: add a > type-ignore for mpmath (#13721) > * `#13723 `__: MAINT: mypy: > ignore mpmath imports in mypy.ini > * `#13724 `__: DOC: pydata > sphinx theme > * `#13725 `__: BENCH: add > benchmark for Kendalltau > * `#13727 `__: CI: simplify > Pythran configuration setup for Azure > * `#13731 `__: MAINT: stats: > Some flake8-driven clean up. > * `#13732 `__: ENH: stats: > Studentized Range Distribution > * `#13735 `__: DOC: correct > Voronoi docstring > * `#13738 `__: DOC: add > example to wright_bessel > * `#13739 `__: ENH: stats: > Implement _sf and _isf for the chi distribution. > * `#13741 `__: MAINT: prevent > overwriting of x in minimize > * `#13747 `__: DOC: Add note > for interp1d for non-unique x-values > * `#13749 `__: MAINT: forward > port 1.6.2 relnotes > * `#13759 `__: MAINT: simpson > small performance speedups > * `#13765 `__: FIX: npymath > missing causing npy_log1p to be unknown > * `#13768 `__: BENCH: Add > missing pythran dependency > * `#13770 `__: ENH: > stats.contingency: Add the sparse option to crosstab. > * `#13774 `__: DEP: Deprecate > squeezing input vectors in spatial.distance > * `#13775 `__: Enable trust > region methods to use a finite difference Hessian... > * `#13777 `__: DOC: Fix > Ubuntu/Debian installation instructions > * `#13778 `__: DOC: remove > references to RandomState > * `#13782 `__: MAINT: LBFGSB > err msg on MAXLS changed closes #11718 > * `#13785 `__: BENCH: Add > benchmark for cdist/pdist with weights > * `#13786 `__: MAINT: Prepare > cdist/pdist for C++ rework > * `#13787 `__: MAINT: stats: > move entropy and differential_entropy functions... > * `#13790 `__: DOC: Add some > dependencies for Dockerfile doc of scipy development. > * `#13792 `__: BUG: stats: Fix > broadcasting in wrapcauchy.cdf > * `#13795 `__: MAINT: stats: > add hypotests to __all__ in init.py, not stats.py > * `#13797 `__: MAINT: stats: > probplot: don't plot least-squares fit line unless... > * `#13798 `__: MAINT: fix > incorrect code comment in \`hierarchy.to_tree\` > * `#13802 `__: DEV: add > environment.yml file for development with conda/mamba > * `#13803 `__: DOC: fix doc > build warning about arxiv role already being registered > * `#13804 `__: DOC+MAINT: > optimize: lb and ub in the Bounds constructor are... > * `#13807 `__: MAINT: Dont use > parallel Sphinx > * `#13808 `__: MAINT: > cluster.to_tree: more idiomatic looping over rows of matrix... > * `#13810 `__: MAINT: add a > CODEOWNERS file > * `#13811 `__: MAINT: Add ci > skip to azp > * `#13814 `__: ENH/DOC: pydata > sphinx theme polishing > * `#13817 `__: DOC: Misc > parameter typo and casing in scipy/linalg/_decomp_ldl.py > * `#13818 `__: MAINT: stats: > keep \`entropy\` importable from \`scipy.stats.distributions\` > * `#13820 `__: BUG: update > _kendall_p_exact ValueError to f-string > * `#13831 `__: FIX:DEP: Allow > better tolerance control for pinv and pinvh and... > * `#13832 `__: BUG: stats: Fix > rvs for levy_stable when alpha=1 > * `#13833 `__: MAINT: Add > inline type hintings for stats.qmc > * `#13836 `__: MAINT: Fix a > couple compiler warnings. > * `#13838 `__: TST: relax test > tolerances for BinomTest > * `#13841 `__: BLD: add > \`-std=c99\` flag to scipy.special extensions using... > * `#13845 `__: ENH: stats: add > \`method\` parameter to \`differential_entropy\`... > * `#13847 `__: TST: skip on > optimize failure on macOS, mark one as xfail > * `#13848 `__: DOC: optimize: > move Nelder Mead doc from Unconstrained minimization... > * `#13849 `__: DOC: Roadmap > update > * `#13852 `__: CI: fix > temporary wrong brew version from GitHub > * `#13854 `__: ENH: Update > Scipy Gitpod > * `#13859 `__: TST: fix > ultra-slow ttest permutations test > * `#13860 `__: MAINT: clean up > LSAP error checking > * `#13863 `__: DOC: remove > seed in examples > * `#13865 `__: DOC: optimize: > The bounds param of differential_evolution is... > * `#13866 `__: MAINT: special: > Remove an unused variable from _poly_approx in... > * `#13867 `__: DOC: stats: > Explain meaning of alternatives for fisher_exact. > * `#13868 `__: CI: fix the > failing job on linux. > * `#13870 `__: MAINT: move > LSAP rectangular matrix handling into solver code > * `#13871 `__: DOC: Add Gitpod > documentation > * `#13876 `__: Workflow : Add > nightly release of NumPy in linux workflows > * `#13877 `__: DOC: Conform to > numpydoc + uniformity. > * `#13879 `__: BUG: signal: > fix get_window argument handling and add tests. > * `#13881 `__: CI: remove > .travis.yml, remove codecov from CircleCI > * `#13882 `__: BLD: ensure > incrementing dev version strings > * `#13886 `__: TST: optimize: > skip test_network_flow_limited_capacity w/ UMFPACK... > * `#13888 `__: MAINT: Fix > issues involving elif conditions > * `#13891 `__: Rename > InivariateSpline to UnivariateSpline > * `#13893 `__: ENH: linprog > HiGHS marginals/sensitivy analysis > * `#13894 `__: DOC: Add blank > line before \`Return\` section. > * `#13897 `__: DOC: BLD: fix > doc build version check, and improve build time > * `#13903 `__: MAINT: Gitpod > fixes > * `#13907 `__: ENH: Rewrite > minkowski metric in C++ with pybind11 > * `#13909 `__: Revert > "Workflow : Add nightly release of NumPy in linux workflows" > * `#13910 `__: DOC: update > Readme > * `#13911 `__: MAINT: use dict > built-in rather than OrderedDict > * `#13920 `__: BUG: Reactivate > conda environment in init > * `#13925 `__: BUG: stats: > magnitude of Yates' correction <= abs(observed-expected)... > * `#13926 `__: DOC: correct > return type in disjoint_set.subsets docstring > * `#13927 `__: DOC/MAINT: Add > copyright notice to qmc.primes_from_2_to > * `#13928 `__: BUG: DOC: > signal: fix need argument config and add missing doc... > * `#13929 `__: REL: add PEP > 621 (project metadata in pyproject.toml) support > * `#13931 `__: MAINT: special: > get rid of _logit.c.src > * `#13934 `__: ENH: signal: > make \`get_window\` supports \`general_cosine\`... > * `#13940 `__: MAINT: > QMCEngine d input validation > * `#13941 `__: MAINT: forward > port 1.6.3 relnotes > * `#13944 `__: BUG: spatial: > fix weight handling of \`distance.sokalmichener\`. > * `#13947 `__: MAINT: Remove > duplicate calculations in sokalmichener > * `#13949 `__: DOC: minor > grammar fixes in minimize and KDTree.query > * `#13951 `__: ENH: Add > Boschloo exact test to stats > * `#13956 `__: ENH: spatial: > add \`axis\` and \`keepdims\` optional argument... > * `#13963 `__: MAINT: stats: > Fix unused imports and a few other issues related... > * `#13971 `__: DOC: Add Karl > Pearson's reference to chi-square test > * `#13972 `__: ENH: cluster: > add an optional argument \`seed\` for \`kmeans\`... > * `#13973 `__: BLD: fix build > warnings for causal/anticausal pointers in ndimage > * `#13975 `__: ENH: set empty > array norm to zero. > * `#13977 `__: MAINT: signal: > replace distutils templating with tempita > * `#13978 `__: MAINT: improve > validations and keyword only arguments for some... > * `#13979 `__: ENH: Add > Inverse of Log CDF of Normal Distribution > * `#13983 `__: Fixing > \`ndimage.watershed_ift\` tutorial's documentation > * `#13987 `__: DOC: Adding > examples to docstrings in morphology: white_tophat,... > * `#13989 `__: DOC: > interpolate: improve examples of \`RegularGridInterpolator\`... > * `#13990 `__: MAINT, DOC: > optimize: Make the input validation explanation clear... > * `#13992 `__: Workflow : Add > nightly release of NumPy in linux workflows > * `#13995 `__: Doc: Continuous > integration information > * `#14000 `__: BUG: sparse: > Fix DIA.diagonal bug and add a regression test > * `#14004 `__: ENH: Fast > addition dia matrix > * `#14006 `__: MAINT: > optimize: add validation to check func parameter number... > * `#14008 `__: BUG: Raise > exception for inconsistent WAV header > * `#14009 `__: DEP: Remove > usage of numpy.compat > * `#14010 `__: MAINT: add > support for wheel DL proxy > * `#14012 `__: DOC: Broaden > Exact Test Reference > * `#14015 `__: MAINT: remove > brew update > * `#14017 `__: BENCH: Add more > formats for sparse arithmetic > * `#14018 `__: BENCH: add > benchmark for f_oneway > * `#14020 `__: MAINT: modify > np.int\_ to np.int32 to make it the same for 32/64... > * `#14023 `__: MAINT: Fix > clang build and remove some unicode characters > * `#14025 `__: BUG: sparse: > fix DIA.setdiag issue > * `#14026 `__: TST: optimize: > xfail part of test_powell > * `#14029 `__: CI: github > macos fix > * `#14030 `__: MAINT: use > 'yield from ' (PEP 380) > * `#14031 `__: MAINT: > new-style class, removing inheritance to object > * `#14032 `__: MAINT: CXXFLAGS > for Pythran > * `#14033 `__: ENH: Port > sqeuclidean and braycurtis to _distance_pybind > * `#14034 `__: MAINT: Clean-up > 'next = __next__' > * `#14045 `__: MAINT: bump > PYVER pavement.py > * `#14047 `__: DEV: initialize > boost submodule in Gitpod Dockerfile > * `#14051 `__: BLD: if boost > submodule content is missing, error out early > * `#14052 `__: DOC: missing > submodule init information > * `#14057 `__: DOC: special: > Add Examples to \`psi\` docstring > * `#14058 `__: BUG: fixed a > dtype bug in linalg.solve. > * `#14060 `__: Doc: Fix typo > in documentation of spence function. > * `#14061 `__: MAINT:stats: > Type annotations for _sobol.pyx > * `#14062 `__: DOC: A few > small fixes in quickstart_gitpod.rst > * `#14063 `__: DOC: signal: > add Add Examples to \`cont2discrete\` docstring > * `#14064 `__: DOC: optimize: > Add Examples to fmin_bfgs docstring > * `#14065 `__: Add example for > scipy stats.trim1 under docstring > * `#14066 `__: DOC add example > to scipy.special.hermite > * `#14067 `__: DOC add alpha > docstring description, add example to docstring > * `#14070 `__: DOC add > parameters, return, and example to docstring > * `#14072 `__: MAINT/TST: Fix > tests failing with the nightly build of numpy. > * `#14075 `__: DOC Improve the > code snippet in signal.hilbert docstring. > * `#14076 `__: DOC: Document > Jensen-Shannon distance being accepted by cdist/pdist > * `#14079 `__: BLD: Avoid > importing scipy.stats during cythonize stage > * `#14082 `__: MAINT: Remove > old, commented extract_diagonal > * `#14083 `__: MAINT: sparse: > Remove defunct function extract_diagonal > * `#14085 `__: ENH: Implement > canberra distance in _distance_pybind > * `#14086 `__: MAINT: Clear > scipy namespace of entries better imported from... > * `#14088 `__: Install Pythran > from sources for python 3.10 > * `#14092 `__: BUG: Fixes > issue with clang. > * `#14094 `__: DOC: Correct > the inconsistence definition of Default in class... > * `#14105 `__: TST: stats: > mannwhitneyu: check that mstats and stats mannwhitneyu... > * `#14106 `__: DOC: > stats.mstats: mannwhitneyu: the returned statistic is the... > * `#14107 `__: ENH: stats: > bootstrap: add \`vectorized\` parameter; automatically... > * `#14109 `__: BUG: fix two > issues in the fblas signature files > * `#14110 `__: DOC: mailmap > update > * `#14113 `__: ENH: stats: > bootstrap: add \`paired\` parameter > * `#14116 `__: MAINT: fix > deprecated Python C API usage in odr > * `#14118 `__: DOC: 1.7.0 > release notes > * `#14125 `__: DOC: fix typo > * `#14126 `__: ENH: stats: > bootstrap: add \`batch\` parameter to control batch... > * `#14127 `__: CI: upgrade pip > in benchmarks CI run > * `#14130 `__: BUG: Fix > trust-constr report TypeError if verbose is set to 2... > * `#14133 `__: MAINT: > interpolate: raise NotImplementedError not ValueError > * `#14139 `__: FIX/DOC: lsqr > doctests print failure > * `#14145 `__: MAINT: 1.7.x > version pins ("backport") > * `#14146 `__: MAINT: commit > count if no tag > * `#14164 `__: TST, BUG: fix > rbf matrix value > * `#14166 `__: CI, MAINT: > restrictions on pre-release CI > * `#14171 `__: TST: signal: > Bump tolerances for a test of Gustafsson's... > * `#14175 `__: TST: stats: > Loosen tolerance in some binomtest tests. > * `#14182 `__: MAINT: stats: > Update ppcc_plot and ppcc_max docstring. > * `#14195 `__: MAINT: > download-wheels missing import > * `#14230 `__: REL: stop > shipping generated Cython sources in sdist > > Checksums > ========= > > MD5 > ~~~ > > 276042cf01da2970b83883375b036eef > scipy-1.7.0-cp37-cp37m-macosx_10_9_x86_64.whl > 8149ae5442d3ca11d477893b9797b565 > scipy-1.7.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 32d249d21ec09fe351b471cd578a54bd > scipy-1.7.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl > 6f9b11e29d59e276729ec706c38961e2 > scipy-1.7.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl > c4b23f53f47888744713a25000ed73fd scipy-1.7.0-cp37-cp37m-win32.whl > 767b17455eba48cbe3949a4a8609d9e7 scipy-1.7.0-cp37-cp37m-win_amd64.whl > ac0f5c087893240b13a78dbc80e002e1 > scipy-1.7.0-cp38-cp38-macosx_10_9_x86_64.whl > e2e369078c6b7ca29c952cb9971bc154 > scipy-1.7.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 2f4d2c55937133983031428405ef50e5 > scipy-1.7.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl > 092c9b3117c2acc378be46fac846b088 > scipy-1.7.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 08a560d8f936ea64d65471382d829b43 scipy-1.7.0-cp38-cp38-win32.whl > 330c71d5ae61a6f1a96573ee5e2dc536 scipy-1.7.0-cp38-cp38-win_amd64.whl > 535e0df93c3005acb69cf32eed57e5d7 > scipy-1.7.0-cp39-cp39-macosx_10_9_x86_64.whl > 003d015e6c75d683f8e27e80d731f782 > scipy-1.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 9306001377da7b018ac0215eed2ba022 > scipy-1.7.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl > ed943492a5f97a086c96b6d158028ba4 > scipy-1.7.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 89499df789ff766d6140ab50b8a56745 scipy-1.7.0-cp39-cp39-win32.whl > daf4ab11d37576bd792ece587e8f7ae6 scipy-1.7.0-cp39-cp39-win_amd64.whl > 8776cb3e803f07c74ddf1045eb177904 scipy-1.7.0.tar.gz > a0690bb8aa427fc0a3a59946b532763c scipy-1.7.0.tar.xz > f1f1970a34948e59b37e9706a3dfca0e scipy-1.7.0.zip > > SHA256 > ~~~~~~ > > 821e75f5c16cd7b0ab0ffe7eb9917e5af7b48c25306b4777287de8d792a5f7f3 > scipy-1.7.0-cp37-cp37m-macosx_10_9_x86_64.whl > 3e7df79b42c3015058a5554bfeab6fd4c9906c46560c9ddebb5c652840f3e182 > scipy-1.7.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 0572256c10ddd058e3d315c555538671ddb2737f27eb56189bfbc3483391403f > scipy-1.7.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl > b77ee5e3a9507622e7f98b16122242a3903397f98d1fe3bc269d904a9025e2bc > scipy-1.7.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 53116abd5060a5b4a58489cf689bee259b779e6b7ecd4ce366e7147aa7c9626e > scipy-1.7.0-cp37-cp37m-win32.whl > e7b733d4d98e604109715e11f2ab9340eb45d53f803634ed730039070fc3bc11 > scipy-1.7.0-cp37-cp37m-win_amd64.whl > 4ef3d4df8af40cb6f4d4eaf7b02780109ebabeec334cda26a7899ec9d8de9176 > scipy-1.7.0-cp38-cp38-macosx_10_9_x86_64.whl > bd4399d4388ca0239a4825e312b3e61b60f743dd6daf49e5870837716502a92a > scipy-1.7.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 80df8af7039bce92fb4cd1ceb056258631b11b3c627384e2d29bb48d44c0cae7 > scipy-1.7.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl > 6130e22bf6ee506f7cddde7e0515296d97eb6c6c94f7ef5103c2b77aec5833a7 > scipy-1.7.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 97ca4552ace1c313707058e774609af59644321e278c3a539322fab2fb09b943 > scipy-1.7.0-cp38-cp38-win32.whl > c5d012cb82cc1dcfa72609abaabb4a4ed8113e3e8ac43464508a418c146be57d > scipy-1.7.0-cp38-cp38-win_amd64.whl > 5eb8f054eebb351af7490bbb57465ba9662c4e16e1786655c6c7ed530eb9a74e > scipy-1.7.0-cp39-cp39-macosx_10_9_x86_64.whl > 7f4b89c223bd09460b52b669e2e642cab73c28855b540e6ed029692546a86f8d > scipy-1.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl > 2e685fdbfa5b989af4338b29c408b9157ea6addec15d661104c437980c292be5 > scipy-1.7.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl > 3595c8b64970c9e5a3f137fa1a9eb64da417e78fb7991d0b098b18a00b776d88 > scipy-1.7.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl > 5a983d3cebc27294897951a494cebd78af2eae37facf75d9e4ad4f1f62229860 > scipy-1.7.0-cp39-cp39-win32.whl > aef6e922aea6f2e6bbb539b413c85210a9ee32757535b84204ebd22723e69704 > scipy-1.7.0-cp39-cp39-win_amd64.whl > 998c5e6ea649489302de2c0bc026ed34284f531df89d2bdc8df3a0d44d165739 > scipy-1.7.0.tar.gz > 0564d1091b8db03418356f0839cc4bf73b9bf7cd1089586eb690208e1f44bb8d > scipy-1.7.0.tar.xz > 3a0ec7390c491140551f6493611a30605144a4d47c0410e81f49921ada026993 > scipy-1.7.0.zip > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > > > _______________________________________________ > SciPy-User mailing list > SciPy-User at python.org > https://mail.python.org/mailman/listinfo/scipy-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlesr.harris at gmail.com Wed Jun 23 19:38:34 2021 From: charlesr.harris at gmail.com (Charles R Harris) Date: Wed, 23 Jun 2021 17:38:34 -0600 Subject: [SciPy-User] NumPy 1.21.0 release Message-ID: Hi All, On behalf of the NumPy team I am pleased to announce the release of NumPy 1.21.0. The highlights are - continued SIMD work covering more functions and platforms, - initial work on the new dtype infrastructure and casting, - universal2 wheels for Python 3.8 and Python 3.9 on Mac, - improved documentation, - improved annotations, - new ``PCG64DXSM`` bitgenerator for random numbers. This NumPy release is the result of 581 merged pull requests contributed by 175 people. The Python versions supported for this release are 3.7-3.9, support for Python 3.10 will be added after Python 3.10 is released. Wheels can be downloaded from PyPI ; source archives, release notes, and wheel hashes are available on Github . Linux users will need pip >= 0.19.3 in order to install manylinux2010 and manylinux2014 wheels. *Contributors* A total of 175 people contributed to this release. People with a "+" by their names contributed a patch for the first time. - @8bitmp3 + - @DWesl + - @Endolith - @Illviljan + - @Lbogula + - @Lisa + - @Patrick + - @Scian + - @h-vetinari + - @h6197627 + - @jbCodeHub + - @legoffant + - @sfolje0 + - @tautaus + - @yetanothercheer + - Abhay Raghuvanshi + - Adrian Price-Whelan + - Aerik Pawson + - Agbonze Osazuwa + - Aitik Gupta + - Al-Baraa El-Hag - Alex Henrie - Alexander Hunt + - Aliz? Papp + - Allan Haldane - Amarnath1904 + - Amrit Krishnan + - Andras Deak - AngelGris + - Anne Archibald - Anthony Vo + - Antony Lee - Atharva-Vidwans + - Ayush Verma + - Bas van Beek - Bharat Raghunathan - Bhargav V + - Brian Soto - Carl Michal + - Charles Harris - Charles Stern + - Chiara Marmo + - Chris Barnes + - Chris Vavaliaris - Christina Hedges + - Christoph Gohlke - Christopher Dahlin + - Christos Efstathiou + - Chunlin Fang - Constanza Fierro + - Daniel Evans + - Daniel Montes + - Dario Mory + - David Carlier + - David Stansby - Deepyaman Datta + - Derek Homeier - Dong Keun Oh + - Dylan Cutler + - Eric Larson - Eric Wieser - Eva Jau + - Evgeni Burovski - FX Coudert + - Faris A Chugthai + - Filip Ter + - Filip Trojan + - Fran?ois Le Lay + - Ganesh Kathiresan - Giannis Zapantis + - Giulio Procopio + - Greg Lucas + - Hollow Man + - Holly Corbett + - I-Shen Leong + - Inessa Pawson - Isabela Presedo-Floyd - Ismael Jimenez + - Isuru Fernando - Jakob Jakobson - James Gerity + - Jamie Macey + - Jasmin Classen + - Jody Klymak + - Joseph Fox-Rabinovitz - J?rome Eertmans + - J?r?me Kieffer + - Kamil Choudhury + - Kasia Leszek + - Keller Meier + - Kenichi Maehashi - Kevin Sheppard - Kulin Seth + - Kumud Lakara + - Laura Kopf + - Laura Martens + - Leo Singer + - Leonardus Chen + - Lima Tango + - Lumir Balhar + - Maia Kaplan + - Mainak Debnath + - Marco Aur?lio da Costa + - Marta Lemanczyk + - Marten van Kerkwijk - Mary Conley + - Marysia Winkels + - Mateusz Sok?? + - Matt Haberland - Matt Hall + - Matt Ord + - Matthew Badin + - Matthias Bussonnier - Matthias Geier - Matti Picus - Mat?as R?os + - Maxim Belkin + - Melissa Weber Mendon?a - Meltem Eren Copur + - Michael Dubravski + - Michael Lamparski - Michal W. Tarnowski + - Micha? G?rny + - Mike Boyle + - Mike Toews - Misal Raj + - Mitchell Faas + - Mukulikaa Parhari + - Neil Girdhar + - Nicholas McKibben + - Nico Schl?mer - Nicolas Hug + - Nilo Kruchelski + - Nirjas Jakilim + - Ohad Ravid + - Olivier Grisel - Pamphile ROY + - Panos Mavrogiorgos + - Patrick T. Komiske III + - Pearu Peterson - Peter Hawkins + - Raghuveer Devulapalli - Ralf Gommers - Ra?l Mont?n Pinillos + - Rin Arakaki + - Robert Kern - Rohit Sanjay - Roman Yurchak - Ronan Lamy - Ross Barnowski - Ryan C Cooper - Ryan Polley + - Ryan Soklaski - Sabrina Simao + - Sayed Adel - Sebastian Berg - Shen Zhou + - Stefan van der Walt - Sylwester Arabas + - Takanori Hirano - Tania Allard + - Thomas J. Fan + - Thomas Orgis + - Tim Hoffmann - Tomoki, Karatsu + - Tong Zou + - Touqir Sajed + - Tyler Reddy - Wansoo Kim - Warren Weckesser - Weh Andreas + - Yang Hau - Yashasvi Misra + - Zolboo Erdenebaatar + - Zolisa Bleki Cheers, Charles Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at drhagen.com Sat Jun 26 08:31:59 2021 From: david at drhagen.com (David Hagen) Date: Sat, 26 Jun 2021 08:31:59 -0400 Subject: [SciPy-User] Request for obscure text formats Message-ID: Scientists, I am looking for examples of obscure text file formats. These files are often generated by scientific instruments to be read by their proprietary software. Or they might come from a program not intended to be machine readable. These examples are for some motivation slides for my SciPy conference talk [1] on Parsita. If you have an example, please send it my way. If you don't want to send a whole file, enough text to fill a slide is sufficient. Thanks so much! David Hagen [1] https://www.scipy2021.scipy.org/schedule From olivier.crouzet at univ-nantes.fr Sat Jun 26 09:41:15 2021 From: olivier.crouzet at univ-nantes.fr (Olivier Crouzet) Date: Sat, 26 Jun 2021 15:41:15 +0200 Subject: [SciPy-User] Request for obscure text formats In-Reply-To: References: Message-ID: <20210626154115.ddd5d8e24d695acf5486008f@univ-nantes.fr> Hi David, are you interested in issues with text encoding (especially accented characters) or only in data localisation? Is it only "text" or binary data as well (one of the instruments I use generates binary files with no appropriate tool that would be adapted to contemporaneous usage and I had to reverse-engineer the format myself)? Yours Olivier. On Sat, 26 Jun 2021 08:31:59 -0400 David Hagen wrote: > Scientists, > > I am looking for examples of obscure text file formats. These files > are often generated by scientific instruments to be read by their > proprietary software. Or they might come from a program not intended > to be machine readable. These examples are for some motivation slides > for my SciPy conference talk [1] on Parsita. > > If you have an example, please send it my way. If you don't want to > send a whole file, enough text to fill a slide is sufficient. > > Thanks so much! > > David Hagen > > > [1] https://www.scipy2021.scipy.org/schedule > _______________________________________________ > SciPy-User mailing list > SciPy-User at python.org > https://mail.python.org/mailman/listinfo/scipy-user -- Olivier Crouzet, PhD http://olivier.ghostinthemachine.space /Ma?tre de Conf?rences/ @LLING - Laboratoire de Linguistique de Nantes UMR6310 CNRS / Universit? de Nantes From david at drhagen.com Sat Jun 26 10:03:00 2021 From: david at drhagen.com (David Hagen) Date: Sat, 26 Jun 2021 10:03:00 -0400 Subject: [SciPy-User] Request for obscure text formats In-Reply-To: <20210626154115.ddd5d8e24d695acf5486008f@univ-nantes.fr> References: <20210626154115.ddd5d8e24d695acf5486008f@univ-nantes.fr> Message-ID: > are you interested in issues with text encoding No, just in (presumably ASCII) text that someone might want to parse into a Python object. Like a JCAMP-DX file [1] if there was not already a JCAMP-DX parser on PyPI [2]. > Is it only "text" or binary data as well Text is only useful for my immediate purpose because I want to show it on a slide. However, Parsita can be used to write parsers for byte strings as well. [1] http://www.chm.bris.ac.uk/~paulmay/temp/pcc/jcamp.htm [2] https://pypi.org/project/jcamp/ From aldcroft at head.cfa.harvard.edu Sat Jun 26 10:56:06 2021 From: aldcroft at head.cfa.harvard.edu (Aldcroft, Thomas) Date: Sat, 26 Jun 2021 10:56:06 -0400 Subject: [SciPy-User] Request for obscure text formats In-Reply-To: References: Message-ID: Hi David, At the top of https://docs.astropy.org/en/stable/io/ascii/index.html you will find a number of formats that are common or at least used in astronomy. Several of these are not quite easy for machine reading. CDS stands out as a format that is both quite difficult to fully machine parse and widely used via a popular astronomical catalog data server ( http://webviz.u-strasbg.fr/viz-bin/VizieR). Another tricky one is QDP (see example in https://docs.astropy.org/en/latest/_modules/astropy/io/ascii/qdp.html#QDP). This is more obscure but is still being output as a data product for a NASA mission. Cheers, Tom On Sat, Jun 26, 2021 at 8:54 AM David Hagen wrote: > Scientists, > > I am looking for examples of obscure text file formats. These files > are often generated by scientific instruments to be read by their > proprietary software. Or they might come from a program not intended > to be machine readable. These examples are for some motivation slides > for my SciPy conference talk [1] on Parsita. > > If you have an example, please send it my way. If you don't want to > send a whole file, enough text to fill a slide is sufficient. > > Thanks so much! > > David Hagen > > > [1] https://www.scipy2021.scipy.org/schedule > _______________________________________________ > SciPy-User mailing list > SciPy-User at python.org > https://mail.python.org/mailman/listinfo/scipy-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidmenhur at gmail.com Sat Jun 26 13:45:28 2021 From: davidmenhur at gmail.com (=?UTF-8?Q?David_Men=C3=A9ndez_Hurtado?=) Date: Sat, 26 Jun 2021 19:45:28 +0200 Subject: [SciPy-User] Request for obscure text formats In-Reply-To: References: Message-ID: PDB for protein structures and biomolecules is meant to be machine readable, but it is a mess, with lots of special cases and variations. In particular, some of the common pain points I experienced were variations (for example, a given atom may have different alternate positions) and the hierarchical nature of the molecule that is not well represented in the file format (proteins are composed of chains, that are made of amino acids, which are formed by atoms). http://www.wwpdb.org/documentation/file-format-content/format33/v3.3.html On Sat, 26 Jun 2021, 2:54 pm David Hagen, wrote: > Scientists, > > I am looking for examples of obscure text file formats. These files > are often generated by scientific instruments to be read by their > proprietary software. Or they might come from a program not intended > to be machine readable. These examples are for some motivation slides > for my SciPy conference talk [1] on Parsita. > > If you have an example, please send it my way. If you don't want to > send a whole file, enough text to fill a slide is sufficient. > > Thanks so much! > > David Hagen > > > [1] https://www.scipy2021.scipy.org/schedule > _______________________________________________ > SciPy-User mailing list > SciPy-User at python.org > https://mail.python.org/mailman/listinfo/scipy-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.r.anderson at utah.edu Sat Jun 26 15:14:13 2021 From: james.r.anderson at utah.edu (James Anderson) Date: Sat, 26 Jun 2021 19:14:13 +0000 Subject: [SciPy-User] Request for obscure text formats In-Reply-To: References: Message-ID: SerialEM is used on many TEM microscopes. It has the .idoc and .log files. I'm not sure if it is obscure enough but if you are looking for random data sets it may help. idoc: http://internal.connectomes.utah.edu/RC2/TEM/1445/TEM/1445.idoc log: http://internal.connectomes.utah.edu/RC2/TEM/1445/TEM/1445.log Context, if needed, and many links to other .idoc and .log examples. The stats and plots are all generated from data contained in the .idoc and .log files. Have Fun, James -----Original Message----- From: SciPy-User On Behalf Of David Hagen Sent: Saturday, June 26, 2021 5:32 AM To: SciPy Users List Subject: [SciPy-User] Request for obscure text formats Scientists, I am looking for examples of obscure text file formats. These files are often generated by scientific instruments to be read by their proprietary software. Or they might come from a program not intended to be machine readable. These examples are for some motivation slides for my SciPy conference talk [1] on Parsita. If you have an example, please send it my way. If you don't want to send a whole file, enough text to fill a slide is sufficient. Thanks so much! David Hagen [1] https://www.scipy2021.scipy.org/schedule _______________________________________________ SciPy-User mailing list SciPy-User at python.org https://mail.python.org/mailman/listinfo/scipy-user From james.r.anderson at utah.edu Sat Jun 26 15:15:11 2021 From: james.r.anderson at utah.edu (James Anderson) Date: Sat, 26 Jun 2021 19:15:11 +0000 Subject: [SciPy-User] Request for obscure text formats In-Reply-To: References: Message-ID: <895d2293d8ef4a679dee27e362235903@utah.edu> Argh, forgot to link context site... do over! SerialEM is used on many TEM microscopes. It has the .idoc and .log files. I'm not sure if it is obscure enough but if you are looking for random data sets it may help. idoc: http://internal.connectomes.utah.edu/RC2/TEM/1445/TEM/1445.idoc log: http://internal.connectomes.utah.edu/RC2/TEM/1445/TEM/1445.log Context, if needed, and many links to other .idoc and .log examples. The stats and plots are all generated from data contained in the .idoc and .log files. http://storage1.connectomes.utah.edu/RC2/VolumeReport.html Have Fun, James -----Original Message----- From: James Anderson Sent: Saturday, June 26, 2021 12:14 PM To: 'SciPy Users List' Subject: RE: [SciPy-User] Request for obscure text formats SerialEM is used on many TEM microscopes. It has the .idoc and .log files. I'm not sure if it is obscure enough but if you are looking for random data sets it may help. idoc: http://internal.connectomes.utah.edu/RC2/TEM/1445/TEM/1445.idoc log: http://internal.connectomes.utah.edu/RC2/TEM/1445/TEM/1445.log Context, if needed, and many links to other .idoc and .log examples. The stats and plots are all generated from data contained in the .idoc and .log files. Have Fun, James -----Original Message----- From: SciPy-User On Behalf Of David Hagen Sent: Saturday, June 26, 2021 5:32 AM To: SciPy Users List Subject: [SciPy-User] Request for obscure text formats Scientists, I am looking for examples of obscure text file formats. These files are often generated by scientific instruments to be read by their proprietary software. Or they might come from a program not intended to be machine readable. These examples are for some motivation slides for my SciPy conference talk [1] on Parsita. If you have an example, please send it my way. If you don't want to send a whole file, enough text to fill a slide is sufficient. Thanks so much! David Hagen [1] https://www.scipy2021.scipy.org/schedule _______________________________________________ SciPy-User mailing list SciPy-User at python.org https://mail.python.org/mailman/listinfo/scipy-user From newville at cars.uchicago.edu Sun Jun 27 16:12:56 2021 From: newville at cars.uchicago.edu (Matt Newville) Date: Sun, 27 Jun 2021 15:12:56 -0500 Subject: [SciPy-User] Request for obscure text formats In-Reply-To: References: <20210626154115.ddd5d8e24d695acf5486008f@univ-nantes.fr> Message-ID: Hi David, The JCAMP files look pretty simple to me, with a well-formatted header. If a new instrument came with such a file, I would think "great, I don't have to spend hours writing speciality code to handle its output". Is the idea to be able to actually parse files into a usable data structure including extracting data from the header? Some of the "obscure" data formats I deal with come from different custom complex instruments (beamlines) around the world with custom, home-built data collection systems - they aren't proprietary or deliberately obfuscated, it just turns out that there is a lot of variety. There have been efforts to standardize even the ASCII-only data files, with examples of real files are at https://github.com/xraypy/xraylarch/tree/master/examples/xafsdata/beamlines Just to be clear, parsing those headers at least enough to be able to get a sensible guess for the name for each column would be an important part of the goal. Getting "just" the table of numbers is not a problem. I have solutions for that, but I'd be interested to see what you might come up with. If you are looking for a real challenge, the CIF format for Crystallographic Information (see https://www.iucr.org/resources/cif) would almost certainly provide one. It uses a primitive ASCII encoding for multiple tables, basically using a flat-file where yaml, json, or even XML or SQLite3 would (now) make much more sense. For people dealing with atomic structures of crystals, this format is not obscure. There are several existing parsers, including in Python, and many software tools work with this format. A real example would look like http://rruff.geo.arizona.edu/AMS/CIF_text_files/07779_cif.txt with many more examples at http://rruff.geo.arizona.edu/AMS/amcsd.php and https://www.crystallography.net/cod/ --Matt On Sat, Jun 26, 2021 at 9:27 AM David Hagen wrote: > > are you interested in issues with text encoding > > No, just in (presumably ASCII) text that someone might want to parse > into a Python object. Like a JCAMP-DX file [1] if there was not > already a JCAMP-DX parser on PyPI [2]. > > > Is it only "text" or binary data as well > > Text is only useful for my immediate purpose because I want to show it > on a slide. However, Parsita can be used to write parsers for byte > strings as well. > > > [1] http://www.chm.bris.ac.uk/~paulmay/temp/pcc/jcamp.htm > [2] https://pypi.org/project/jcamp/ > _______________________________________________ > SciPy-User mailing list > SciPy-User at python.org > https://mail.python.org/mailman/listinfo/scipy-user > -- --Matt Newville 630-327-7411 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gdmcbain at protonmail.com Sun Jun 27 21:11:39 2021 From: gdmcbain at protonmail.com (G. D. McBain) Date: Mon, 28 Jun 2021 01:11:39 +0000 Subject: [SciPy-User] Request for obscure text formats In-Reply-To: References: Message-ID: meshio [0] reads many (unstructured, particularly finite element) mesh file formats. Some of these are binary but many are ASCII or contain ASCII variants. Gmsh's MSH formats (versions 2.2 & 4.1) [1] have provided various challenges over the years. [0] https://pypi.org/project/meshio [1] https://gmsh.info/doc/texinfo/gmsh.html#File-formats Sent from ProtonMail, Swiss-based encrypted email. ??????? Original Message ??????? Le samedi 26 juin 2021 ? 10:31 PM, David Hagen a ?crit : > Scientists, > > I am looking for examples of obscure text file formats. These files > > are often generated by scientific instruments to be read by their > > proprietary software. Or they might come from a program not intended > > to be machine readable. These examples are for some motivation slides > > for my SciPy conference talk [1] on Parsita. > > If you have an example, please send it my way. If you don't want to > > send a whole file, enough text to fill a slide is sufficient. > > Thanks so much! > > David Hagen > > [1] https://www.scipy2021.scipy.org/schedule > > SciPy-User mailing list > > SciPy-User at python.org > > https://mail.python.org/mailman/listinfo/scipy-user From cimrman3 at ntc.zcu.cz Tue Jun 29 14:03:43 2021 From: cimrman3 at ntc.zcu.cz (Robert Cimrman) Date: Tue, 29 Jun 2021 20:03:43 +0200 Subject: [SciPy-User] ANN: SfePy 2021.2 Message-ID: I am pleased to announce the release of SfePy 2021.2. Description ----------- SfePy (simple finite elements in Python) is a software for solving systems of coupled partial differential equations by finite element methods. It is distributed under the new BSD license. Home page: https://sfepy.org Mailing list: https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/ Git (source) repository, issue tracker: https://github.com/sfepy/sfepy Highlights of this release -------------------------- - new sensitivity analysis terms - positive FE basis based on Bernstein polynomials - smaller memory footprint of terms with constant material parameters For full release notes see [1]. Cheers, Robert Cimrman [1] http://docs.sfepy.org/doc/release_notes.html#id1 --- Contributors to this release in alphabetical order: Robert Cimrman Vladimir Lukes