We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4362175 + 239c3a5 commit 58cc52bCopy full SHA for 58cc52b
src/gstools/field/generator.py
@@ -11,7 +11,7 @@
11
RandMeth
12
IncomprRandMeth
13
"""
14
-# pylint: disable=C0103, W0222, C0412
+# pylint: disable=C0103, W0222, C0412, W0231
15
import warnings
16
from abc import ABC, abstractmethod
17
from copy import deepcopy as dcp
@@ -35,7 +35,20 @@
35
36
37
class Generator(ABC):
38
- """Abstract generator class."""
+ """
39
+ Abstract generator class.
40
+
41
+ Parameters
42
+ ----------
43
+ model : :any:`CovModel`
44
+ Covariance model
45
+ **kwargs
46
+ Placeholder for keyword-args
47
48
49
+ @abstractmethod
50
+ def __init__(self, model, **kwargs):
51
+ pass
52
53
@abstractmethod
54
def update(self, model=None, seed=np.nan):
0 commit comments