diff --git a/.gitignore b/.gitignore index eb5d3717..f92f673e 100755 --- a/.gitignore +++ b/.gitignore @@ -174,6 +174,7 @@ venv/ ENV/ env.bak/ venv.bak/ +venv-model/ # Spyder project settings .spyderproject diff --git a/readthedocs.yml b/.readthedocs.yaml similarity index 82% rename from readthedocs.yml rename to .readthedocs.yaml index 39368010..2ef8cbed 100755 --- a/readthedocs.yml +++ b/.readthedocs.yaml @@ -1,10 +1,16 @@ -# .readthedocs.yml +# ..readthedocs.yaml # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details # Required version: 2 +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.10" + # Build documentation in the docs_oldies/ directory with Sphinx sphinx: configuration: docs/source/conf.py @@ -19,7 +25,6 @@ formats: # Optionally set the version of Python and requirements required to build your docs_oldies python: - version: "3.8" install: - requirements: docs/requirements.txt - method: pip diff --git a/README.md b/README.md index 4abd4391..04c8723e 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # Pyinterpolate -**version 0.5** - *Mykolaiv* +**version 0.5.1** - *Mykolaiv* --- diff --git a/changelog.rst b/changelog.rst index 6669c103..e7b0f6d6 100644 --- a/changelog.rst +++ b/changelog.rst @@ -6,12 +6,15 @@ Pyinterpolate is the Python library for **geostatistics** and **spatial statisti Changes by date =============== -2023-XX-XX +2024-02-19 ---------- -**version 0.5.1** +**version 0.5.1** (*pre production development*) * (enhancement) `interpolate_raster()` function takes `allow_approx_solutions` parameter, and it protects from `LinAlgError` that might occur if interpolation points are duplicated (due to the floating point number representation). +* (refactoring) `calc_point_to_point_distance` function refactored to `point_distance`, changed input parameters' schema, +* (refactoring) new selection method for unequally spaced bins: `select_values_between_lags` +* (debug) `np.float` type casting has been changed to `float` 2023-09-16 ---------- diff --git a/developer/dev_checks/debug_sandbox/check_cent_pk/check.py b/developer/dev_checks/debug_sandbox/check_cent_pk/check.py index 7d1dcf89..2d52213c 100644 --- a/developer/dev_checks/debug_sandbox/check_cent_pk/check.py +++ b/developer/dev_checks/debug_sandbox/check_cent_pk/check.py @@ -170,7 +170,7 @@ def centroid_poisson_kriging(semivariogram_model: TheoreticalVariogram, # Distances between known blocks coordinates = kriging_data[:, :values_column_index] - block_distances = calc_point_to_point_distance(coordinates).flatten() + block_distances = point_distance(coordinates, coordinates).flatten() known_blocks_semivars = semivariogram_model.predict(block_distances) predicted = np.array(known_blocks_semivars.reshape(n, n)) predicted = sem_to_cov(predicted, sill) diff --git a/docs/build/doctrees/api/distance/distance.doctree b/docs/build/doctrees/api/distance/distance.doctree index 2199d5b6..81d0a101 100644 Binary files a/docs/build/doctrees/api/distance/distance.doctree and b/docs/build/doctrees/api/distance/distance.doctree differ diff --git a/docs/build/doctrees/api/viz/viz.doctree b/docs/build/doctrees/api/viz/viz.doctree index 20c38a8c..4efdb93c 100644 Binary files a/docs/build/doctrees/api/viz/viz.doctree and b/docs/build/doctrees/api/viz/viz.doctree differ diff --git a/docs/build/doctrees/environment.pickle b/docs/build/doctrees/environment.pickle index a5a494f4..2c888594 100644 Binary files a/docs/build/doctrees/environment.pickle and b/docs/build/doctrees/environment.pickle differ diff --git a/docs/build/doctrees/index.doctree b/docs/build/doctrees/index.doctree index 970d19b7..094381e1 100644 Binary files a/docs/build/doctrees/index.doctree and b/docs/build/doctrees/index.doctree differ diff --git a/docs/build/doctrees/usage/tutorials/A21-Directional-Semivariogram.doctree b/docs/build/doctrees/usage/tutorials/A21-Directional-Semivariogram.doctree index c956b198..dd2cc010 100644 Binary files a/docs/build/doctrees/usage/tutorials/A21-Directional-Semivariogram.doctree and b/docs/build/doctrees/usage/tutorials/A21-Directional-Semivariogram.doctree differ diff --git a/docs/build/html/.buildinfo b/docs/build/html/.buildinfo index ddd0f82b..276bf508 100644 --- a/docs/build/html/.buildinfo +++ b/docs/build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: edf624842dc85ad7caf2922992868dbf +config: 547607724c14a157e2d2e282259579a3 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/build/html/_modules/index.html b/docs/build/html/_modules/index.html index 6686759a..d27a46a2 100644 --- a/docs/build/html/_modules/index.html +++ b/docs/build/html/_modules/index.html @@ -8,7 +8,7 @@ - Overview: module code — Pyinterpolate 0.5.0 documentation + Overview: module code — Pyinterpolate 0.5.1 documentation @@ -108,7 +108,7 @@ -

Pyinterpolate 0.5.0 documentation

+

Pyinterpolate 0.5.1 documentation

@@ -417,6 +417,7 @@

All modules for which code is available