From e29c62b5d40fd35891c8cfc532bed966bf935bc1 Mon Sep 17 00:00:00 2001 From: jorenham Date: Wed, 1 Jan 2025 19:24:27 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20add=20missing=20`=5F=5Fall=5F=5F?= =?UTF-8?q?`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scipy-stubs/spatial/transform/rotation.pyi | 2 ++ scipy-stubs/stats/_mgc.pyi | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/scipy-stubs/spatial/transform/rotation.pyi b/scipy-stubs/spatial/transform/rotation.pyi index 8605cdc3..715cc7bb 100644 --- a/scipy-stubs/spatial/transform/rotation.pyi +++ b/scipy-stubs/spatial/transform/rotation.pyi @@ -2,6 +2,8 @@ from typing_extensions import deprecated from . import _rotation +__all__ = ["Rotation", "Slerp"] + @deprecated("will be removed in SciPy v2.0.0") class Rotation(_rotation.Rotation): ... diff --git a/scipy-stubs/stats/_mgc.pyi b/scipy-stubs/stats/_mgc.pyi index 8967beba..1826dcca 100644 --- a/scipy-stubs/stats/_mgc.pyi +++ b/scipy-stubs/stats/_mgc.pyi @@ -7,6 +7,10 @@ import optype.numpy as onp from scipy._typing import ToRNG from ._typing import BaseBunch +__all__ = ["multiscale_graphcorr"] + +### + _T = TypeVar("_T") _R = TypeVar("_R") @@ -16,6 +20,8 @@ class _MGCDict(TypedDict): opt_scale: Sequence[int | np.intp] # list of size 2 null_dist: onp.Array1D[np.float64] +### + class MGCResult(BaseBunch[np.float64, np.float64, _MGCDict]): @property def statistic(self, /) -> np.float64: ... @@ -23,6 +29,8 @@ class MGCResult(BaseBunch[np.float64, np.float64, _MGCDict]): def pvalue(self, /) -> np.float64: ... @property def mgc_dict(self, /) -> _MGCDict: ... + + # def __new__(_cls, statistic: np.float64, pvalue: np.float64, mgc_dict: _MGCDict) -> Self: ... def __init__(self, /, statistic: np.float64, pvalue: np.float64, mgc_dict: _MGCDict) -> None: ...