-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy path__init__.py
More file actions
282 lines (242 loc) · 4.59 KB
/
__init__.py
File metadata and controls
282 lines (242 loc) · 4.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
"""
Purpose
=======
GSTools is a library providing geostatistical tools
for random field generation, conditioned field generation,
kriging and variogram estimation
based on a list of provided or even user-defined covariance models.
The following functionalities are directly provided on module-level.
Subpackages
===========
.. autosummary::
:toctree: api
covmodel
field
variogram
krige
cokriging
random
tools
transform
normalizer
Classes
=======
Kriging
^^^^^^^
Swiss-Army-Knife for Kriging. For short cut classes see: :any:`gstools.krige`
.. currentmodule:: gstools.krige
.. autosummary::
Krige
Cokriging
^^^^^^^^^
Collocated cokriging methods for multivariate estimation
.. currentmodule:: gstools.cokriging
.. autosummary::
SimpleCollocated
IntrinsicCollocated
MarkovModel1
Spatial Random Field
^^^^^^^^^^^^^^^^^^^^
Classes for (conditioned) random field generation
.. currentmodule:: gstools.field
.. autosummary::
SRF
CondSRF
PGS
Covariance Base-Class
^^^^^^^^^^^^^^^^^^^^^
Class to construct user defined covariance models
.. currentmodule:: gstools.covmodel
.. autosummary::
CovModel
SumModel
Covariance Models
^^^^^^^^^^^^^^^^^
Standard Covariance Models
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autosummary::
Nugget
Gaussian
Exponential
Matern
Integral
Stable
Rational
Cubic
Linear
Circular
Spherical
HyperSpherical
SuperSpherical
JBessel
Truncated Power Law Covariance Models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autosummary::
TPLGaussian
TPLExponential
TPLStable
TPLSimple
Functions
=========
VTK-Export
^^^^^^^^^^
Routines to export fields to the vtk format
.. currentmodule:: gstools.tools
.. autosummary::
vtk_export
to_vtk
Geometric
^^^^^^^^^
Some convenient functions for geometric operations
.. autosummary::
rotated_main_axes
generate_grid
generate_st_grid
Variogram Estimation
^^^^^^^^^^^^^^^^^^^^
Estimate the variogram of a given field with these routines
.. currentmodule:: gstools.variogram
.. autosummary::
vario_estimate
vario_estimate_axis
standard_bins
Misc
====
.. currentmodule:: gstools.tools
.. autosummary::
EARTH_RADIUS
KM_SCALE
DEGREE_SCALE
RADIAN_SCALE
"""
# Hooray!
from gstools import ( # noqa: I001
config,
covmodel,
field,
krige,
cokriging,
normalizer,
random,
tools,
transform,
variogram,
)
from gstools.cokriging import (
IntrinsicCollocated,
MarkovModel1,
SimpleCollocated,
)
from gstools.covmodel import (
Circular,
CovModel,
Cubic,
Exponential,
Gaussian,
HyperSpherical,
Integral,
JBessel,
Linear,
Matern,
Nugget,
Rational,
Spherical,
Stable,
SumModel,
SuperSpherical,
TPLExponential,
TPLGaussian,
TPLSimple,
TPLStable,
)
from gstools.field import PGS, SRF, CondSRF
from gstools.krige import Krige
from gstools.tools import (
DEGREE_SCALE,
EARTH_RADIUS,
KM_SCALE,
RADIAN_SCALE,
generate_grid,
generate_st_grid,
rotated_main_axes,
to_vtk,
to_vtk_structured,
to_vtk_unstructured,
vtk_export,
vtk_export_structured,
vtk_export_unstructured,
)
from gstools.variogram import (
standard_bins,
vario_estimate,
vario_estimate_axis,
vario_estimate_structured,
vario_estimate_unstructured,
)
try:
from gstools._version import __version__
except ModuleNotFoundError: # pragma: no cover
# package is not installed
__version__ = "0.0.0.dev0"
__all__ = ["__version__"]
__all__ += [
"covmodel",
"field",
"variogram",
"krige",
"cokriging",
"random",
"tools",
]
__all__ += ["transform", "normalizer", "config"]
__all__ += [
"CovModel",
"SumModel",
"Nugget",
"Gaussian",
"Exponential",
"Matern",
"Integral",
"Stable",
"Rational",
"Cubic",
"Linear",
"Circular",
"Spherical",
"HyperSpherical",
"SuperSpherical",
"JBessel",
"TPLGaussian",
"TPLExponential",
"TPLStable",
"TPLSimple",
]
__all__ += [
"vario_estimate",
"vario_estimate_axis",
"vario_estimate_structured",
"vario_estimate_unstructured",
"standard_bins",
]
__all__ += [
"Krige",
"SimpleCollocated",
"IntrinsicCollocated",
"MarkovModel1",
"SRF",
"CondSRF",
"PGS",
"rotated_main_axes",
"generate_grid",
"generate_st_grid",
"EARTH_RADIUS",
"KM_SCALE",
"DEGREE_SCALE",
"RADIAN_SCALE",
"vtk_export",
"vtk_export_structured",
"vtk_export_unstructured",
"to_vtk",
"to_vtk_structured",
"to_vtk_unstructured",
]