-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from jorenham/complete/scipy.odr
complete `scipy.odr`
- Loading branch information
Showing
7 changed files
with
349 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# nothin to see here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
from typing import Final | ||
from typing import Final, type_check_only | ||
|
||
from numpy._typing import _ArrayLikeInt_co | ||
from ._odrpack import Model | ||
|
||
__all__ = ["Model", "exponential", "multilinear", "polynomial", "quadratic", "unilinear"] | ||
|
||
multilinear: Final[_MultilinearModel] = ... | ||
exponential: Final[_ExponentialModel] = ... | ||
unilinear: Final[_UnilinearModel] = ... | ||
quadratic: Final[_QuadraticModel] = ... | ||
@type_check_only | ||
class _NamedModel(Model): | ||
name: Final[str] | ||
equ: Final[str] | ||
TeXequ: Final[str] | ||
|
||
class _MultilinearModel(Model): | ||
@type_check_only | ||
class _SimpleModel(_NamedModel): | ||
def __init__(self, /) -> None: ... | ||
|
||
class _ExponentialModel(Model): | ||
def __init__(self, /) -> None: ... | ||
### | ||
|
||
class _UnilinearModel(Model): | ||
def __init__(self, /) -> None: ... | ||
class _MultilinearModel(_SimpleModel): ... | ||
class _ExponentialModel(_SimpleModel): ... | ||
class _UnilinearModel(_SimpleModel): ... | ||
class _QuadraticModel(_SimpleModel): ... | ||
|
||
class _QuadraticModel(Model): | ||
def __init__(self, /) -> None: ... | ||
def polynomial(order: _ArrayLikeInt_co) -> _NamedModel: ... | ||
|
||
def polynomial(order: _ArrayLikeInt_co) -> Model: ... | ||
multilinear: Final[_MultilinearModel] = ... | ||
exponential: Final[_ExponentialModel] = ... | ||
unilinear: Final[_UnilinearModel] = ... | ||
quadratic: Final[_QuadraticModel] = ... |
Oops, something went wrong.