mirror of
https://github.com/vale981/stocproc
synced 2025-03-04 17:21:42 -05:00
bugfix: implement __bfkey__
This commit is contained in:
parent
2c806e3bdb
commit
88b0f979a5
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
[tool.poetry]
|
||||
description = "Generate continuous time stationary stochastic processes from a given auto correlation function."
|
||||
name = "stocproc"
|
||||
version = "1.0.2"
|
||||
version = "1.0.3"
|
||||
authors = ["Richard Hartmann <richard.hartmann@tu-dresden.de>"]
|
||||
license = "BSD (3 clause)"
|
||||
classifiers = [
|
||||
|
|
|
@ -114,6 +114,9 @@ class StocProc(abc.ABC):
|
|||
)
|
||||
)
|
||||
|
||||
def __bfkey__(self):
|
||||
return self.key
|
||||
|
||||
def __call__(self, t=None):
|
||||
r"""Evaluates the stochastic process.
|
||||
|
||||
|
@ -367,9 +370,6 @@ class StocProc_KLE(StocProc):
|
|||
# """
|
||||
# return self.key
|
||||
|
||||
def __bfkey__(self):
|
||||
return self.key
|
||||
|
||||
def __getstate__(self):
|
||||
return (
|
||||
self.sqrt_lambda_ui_fine,
|
||||
|
|
Loading…
Add table
Reference in a new issue