We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36d64dc commit 7a545f0Copy full SHA for 7a545f0
1 file changed
README.md
@@ -1,2 +1,23 @@
1
# Geostatistics
2
Code containing various geostatistical tools that are useful for PET.
3
+
4
+## Installation
5
+Clone repository and install with pip:
6
7
+```sh
8
+pip install -e .
9
+```
10
+## Examples
11
+```python
12
+from geostat.decomp import Cholesky
13
+import numpy as np
14
15
+stat = Cholesky()
16
+nx = 3
17
+mean = np.array([1., 2., 3.])
18
+var = np.array([10., 20., 30.])
19
+ne = 2
20
+cov = stat.gen_cov2d(x_size=nx, y_size=1, variance=var,
21
+ var_range=1., aspect=1., angle=0., var_type='sph')
22
+sample = stat.gen_real(mean, cov, ne)
23
0 commit comments