kbasic 0.1.4__tar.gz → 0.1.5__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kbasic
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: Keyan's basic utility functions.
5
5
  Requires-Dist: numpy>=2.4.2
6
6
  Requires-Dist: pylatexenc>=2.10
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "kbasic"
3
- version = "0.1.4"
3
+ version = "0.1.5"
4
4
  description = "Keyan's basic utility functions."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -69,7 +69,7 @@ def interpolate2d(
69
69
  ndarray[ndarray]: an interpolated grid of data
70
70
  """
71
71
  Nx, Ny = array(data).shape
72
- return RegularGridInterpolator((arange(Nx), arange(Ny)), data, method=method)(mgrid[:Nx-1:1/factor, :Ny-1:1/factor].T).T
72
+ return RegularGridInterpolator((arange(Nx), arange(Ny)), data, method=method)(mgrid[:Nx+1:1/factor, :Ny+1:1/factor].T).T
73
73
 
74
74
  # !==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==
75
75
  # >-|===|> Decorators <|===|-<
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes