kbasic 0.1.3__tar.gz → 0.1.4__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.3
3
+ Version: 0.1.4
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.3"
3
+ version = "0.1.4"
4
4
  description = "Keyan's basic utility functions."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -14,7 +14,7 @@ from scipy.interpolate import RegularGridInterpolator
14
14
  # !==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==
15
15
  # >-|===|> Functions <|===|-<
16
16
  # !==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==!==
17
- def tile(arr: np.ndarray) -> np.ndarray:
17
+ def tile(arr: ndarray) -> ndarray:
18
18
  """take an image and create a 3x3 grid of that image"""
19
19
  return np.r_[np.c_[arr, arr, arr], np.c_[arr, arr, arr], np.c_[arr, arr, arr]]
20
20
  def where_closest(arr:ndarray, x): return int(argmin(abs(arr-x)))
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