krigekit 0.2.0__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
krigekit/__init__.py ADDED
@@ -0,0 +1,67 @@
1
+ """
2
+ krigekit
3
+ =========
4
+ Python wrapper for a Fortran kriging and SGSIM engine.
5
+
6
+ The shared library (libkriging.so / kriging.dll) must be compiled from the
7
+ Fortran sources in the ``fortran/`` directory and placed in this package
8
+ directory before use. See the README for build instructions.
9
+
10
+ Public API
11
+ ----------
12
+
13
+ Spatial usage::
14
+
15
+ k = Kriging(ndim=2, nvar=1)
16
+
17
+ Space-time usage::
18
+
19
+ k = SpaceTimeKriging(nvar=1)
20
+ k.set_st_model(...)
21
+
22
+ Classes (returned by Kriging factory)
23
+ Kriging — spatial kriging / co-kriging / SGSIM
24
+ SpaceTimeKriging — 3-D + time kriging / SGSIM
25
+
26
+ Convenience functions
27
+ ordinary_kriging — one-shot point kriging
28
+ cokriging — one-shot co-kriging
29
+ sequential_gaussian_simulation — one-shot SGSIM
30
+ spacetime_kriging — one-shot ST kriging
31
+ spacetime_cokriging — one-shot ST co-kriging
32
+ """
33
+
34
+ from krigekit.kriging import ( # noqa: F401
35
+ Kriging,
36
+ ordinary_kriging,
37
+ cokriging,
38
+ sequential_gaussian_simulation,
39
+ )
40
+
41
+ from krigekit.kriging_st import ( # noqa: F401
42
+ SpaceTimeKriging,
43
+ spacetime_kriging,
44
+ spacetime_cokriging,
45
+ )
46
+
47
+ from krigekit.kriging_indicator import ( # noqa: F401
48
+ IndicatorKriging,
49
+ )
50
+
51
+ from importlib.metadata import version, PackageNotFoundError
52
+ try:
53
+ __version__ = version("krigekit")
54
+ except PackageNotFoundError:
55
+ __version__ = "unknown"
56
+ __all__ = [
57
+ # concrete classes (for isinstance checks and direct use)
58
+ "Kriging",
59
+ "SpaceTimeKriging",
60
+ "IndicatorKriging",
61
+ # convenience functions
62
+ "ordinary_kriging",
63
+ "cokriging",
64
+ "sequential_gaussian_simulation",
65
+ "spacetime_kriging",
66
+ "spacetime_cokriging",
67
+ ]
krigekit/kriging.dll ADDED
Binary file