@@ -64,16 +64,16 @@ class Simple(Krige):
6464 kriging matrix. If `True`, this leads to more numerical stability
6565 and redundant points are averaged. But it can take more time.
6666 Default: True
67- pseudo_inv_type : :class:`int ` or :any:`callable`, optional
67+ pseudo_inv_type : :class:`str ` or :any:`callable`, optional
6868 Here you can select the algorithm to compute the pseudo-inverse matrix:
6969
70- * `1 `: use `pinv` from `scipy` which uses `lstsq`
71- * `2 `: use `pinv2` from `scipy` which uses `SVD`
72- * `3 `: use `pinvh` from `scipy` which uses eigen-values
70+ * `"pinv" `: use `pinv` from `scipy` which uses `lstsq`
71+ * `"pinv2" `: use `pinv2` from `scipy` which uses `SVD`
72+ * `"pinvh" `: use `pinvh` from `scipy` which uses eigen-values
7373
7474 If you want to use another routine to invert the kriging matrix,
7575 you can pass a callable which takes a matrix and returns the inverse.
76- Default: `1 `
76+ Default: `"pinv" `
7777 fit_normalizer : :class:`bool`, optional
7878 Wheater to fit the data-normalizer to the given conditioning data.
7979 Default: False
@@ -96,7 +96,7 @@ def __init__(
9696 exact = False ,
9797 cond_err = "nugget" ,
9898 pseudo_inv = True ,
99- pseudo_inv_type = 1 ,
99+ pseudo_inv_type = "pinv" ,
100100 fit_normalizer = False ,
101101 fit_variogram = False ,
102102 ):
@@ -159,16 +159,16 @@ class Ordinary(Krige):
159159 kriging matrix. If `True`, this leads to more numerical stability
160160 and redundant points are averaged. But it can take more time.
161161 Default: True
162- pseudo_inv_type : :class:`int ` or :any:`callable`, optional
162+ pseudo_inv_type : :class:`str ` or :any:`callable`, optional
163163 Here you can select the algorithm to compute the pseudo-inverse matrix:
164164
165- * `1 `: use `pinv` from `scipy` which uses `lstsq`
166- * `2 `: use `pinv2` from `scipy` which uses `SVD`
167- * `3 `: use `pinvh` from `scipy` which uses eigen-values
165+ * `"pinv" `: use `pinv` from `scipy` which uses `lstsq`
166+ * `"pinv2" `: use `pinv2` from `scipy` which uses `SVD`
167+ * `"pinvh" `: use `pinvh` from `scipy` which uses eigen-values
168168
169169 If you want to use another routine to invert the kriging matrix,
170170 you can pass a callable which takes a matrix and returns the inverse.
171- Default: `1 `
171+ Default: `"pinv" `
172172 fit_normalizer : :class:`bool`, optional
173173 Wheater to fit the data-normalizer to the given conditioning data.
174174 Default: False
@@ -190,7 +190,7 @@ def __init__(
190190 exact = False ,
191191 cond_err = "nugget" ,
192192 pseudo_inv = True ,
193- pseudo_inv_type = 1 ,
193+ pseudo_inv_type = "pinv" ,
194194 fit_normalizer = False ,
195195 fit_variogram = False ,
196196 ):
@@ -264,16 +264,16 @@ class Universal(Krige):
264264 kriging matrix. If `True`, this leads to more numerical stability
265265 and redundant points are averaged. But it can take more time.
266266 Default: True
267- pseudo_inv_type : :class:`int ` or :any:`callable`, optional
267+ pseudo_inv_type : :class:`str ` or :any:`callable`, optional
268268 Here you can select the algorithm to compute the pseudo-inverse matrix:
269269
270- * `1 `: use `pinv` from `scipy` which uses `lstsq`
271- * `2 `: use `pinv2` from `scipy` which uses `SVD`
272- * `3 `: use `pinvh` from `scipy` which uses eigen-values
270+ * `"pinv" `: use `pinv` from `scipy` which uses `lstsq`
271+ * `"pinv2" `: use `pinv2` from `scipy` which uses `SVD`
272+ * `"pinvh" `: use `pinvh` from `scipy` which uses eigen-values
273273
274274 If you want to use another routine to invert the kriging matrix,
275275 you can pass a callable which takes a matrix and returns the inverse.
276- Default: `1 `
276+ Default: `"pinv" `
277277 fit_normalizer : :class:`bool`, optional
278278 Wheater to fit the data-normalizer to the given conditioning data.
279279 Default: False
@@ -296,7 +296,7 @@ def __init__(
296296 exact = False ,
297297 cond_err = "nugget" ,
298298 pseudo_inv = True ,
299- pseudo_inv_type = 1 ,
299+ pseudo_inv_type = "pinv" ,
300300 fit_normalizer = False ,
301301 fit_variogram = False ,
302302 ):
@@ -366,16 +366,16 @@ class ExtDrift(Krige):
366366 kriging matrix. If `True`, this leads to more numerical stability
367367 and redundant points are averaged. But it can take more time.
368368 Default: True
369- pseudo_inv_type : :class:`int ` or :any:`callable`, optional
369+ pseudo_inv_type : :class:`str ` or :any:`callable`, optional
370370 Here you can select the algorithm to compute the pseudo-inverse matrix:
371371
372- * `1 `: use `pinv` from `scipy` which uses `lstsq`
373- * `2 `: use `pinv2` from `scipy` which uses `SVD`
374- * `3 `: use `pinvh` from `scipy` which uses eigen-values
372+ * `"pinv" `: use `pinv` from `scipy` which uses `lstsq`
373+ * `"pinv2" `: use `pinv2` from `scipy` which uses `SVD`
374+ * `"pinvh" `: use `pinvh` from `scipy` which uses eigen-values
375375
376376 If you want to use another routine to invert the kriging matrix,
377377 you can pass a callable which takes a matrix and returns the inverse.
378- Default: `1 `
378+ Default: `"pinv" `
379379 fit_normalizer : :class:`bool`, optional
380380 Wheater to fit the data-normalizer to the given conditioning data.
381381 Default: False
@@ -398,7 +398,7 @@ def __init__(
398398 exact = False ,
399399 cond_err = "nugget" ,
400400 pseudo_inv = True ,
401- pseudo_inv_type = 1 ,
401+ pseudo_inv_type = "pinv" ,
402402 fit_normalizer = False ,
403403 fit_variogram = False ,
404404 ):
@@ -461,16 +461,16 @@ class Detrended(Krige):
461461 kriging matrix. If `True`, this leads to more numerical stability
462462 and redundant points are averaged. But it can take more time.
463463 Default: True
464- pseudo_inv_type : :class:`int ` or :any:`callable`, optional
464+ pseudo_inv_type : :class:`str ` or :any:`callable`, optional
465465 Here you can select the algorithm to compute the pseudo-inverse matrix:
466466
467- * `1 `: use `pinv` from `scipy` which uses `lstsq`
468- * `2 `: use `pinv2` from `scipy` which uses `SVD`
469- * `3 `: use `pinvh` from `scipy` which uses eigen-values
467+ * `"pinv" `: use `pinv` from `scipy` which uses `lstsq`
468+ * `"pinv2" `: use `pinv2` from `scipy` which uses `SVD`
469+ * `"pinvh" `: use `pinvh` from `scipy` which uses eigen-values
470470
471471 If you want to use another routine to invert the kriging matrix,
472472 you can pass a callable which takes a matrix and returns the inverse.
473- Default: `1 `
473+ Default: `"pinv" `
474474 fit_variogram : :class:`bool`, optional
475475 Wheater to fit the given variogram model to the data.
476476 This is done by using isotropy settings of the given model,
@@ -488,7 +488,7 @@ def __init__(
488488 exact = False ,
489489 cond_err = "nugget" ,
490490 pseudo_inv = True ,
491- pseudo_inv_type = 1 ,
491+ pseudo_inv_type = "pinv" ,
492492 fit_variogram = False ,
493493 ):
494494 super ().__init__ (
0 commit comments