dkist-processing-math 2.2.0__py3-none-any.whl → 2.2.1__py3-none-any.whl

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,9 +1,10 @@
1
1
  """init."""
2
- from pkg_resources import DistributionNotFound
3
- from pkg_resources import get_distribution
2
+
3
+ from importlib.metadata import PackageNotFoundError
4
+ from importlib.metadata import version
4
5
 
5
6
  try:
6
- __version__ = get_distribution(__name__).version
7
- except DistributionNotFound:
7
+ __version__ = version(distribution_name=__name__)
8
+ except PackageNotFoundError:
8
9
  # package is not installed
9
10
  __version__ = "unknown"
@@ -1,4 +1,5 @@
1
1
  """Arithmetic."""
2
+
2
3
  from typing import Generator
3
4
  from typing import Iterable
4
5
  from typing import Union
@@ -1,4 +1,5 @@
1
1
  """Feature finding."""
2
+
2
3
  from typing import Callable
3
4
  from typing import Tuple
4
5
 
@@ -1,4 +1,5 @@
1
1
  """Linear algebra functions."""
2
+
2
3
  import numpy as np
3
4
 
4
5
 
@@ -1,4 +1,5 @@
1
1
  """Statistics."""
2
+
2
3
  from typing import Iterable
3
4
  from typing import Union
4
5
 
@@ -1,4 +1,5 @@
1
1
  """init."""
2
+
2
3
  from .affine import affine_transform_arrays
3
4
  from .affine import rotate_arrays_about_point
4
5
  from .affine import rotation_matrix
@@ -1,4 +1,5 @@
1
1
  """Affine transforms."""
2
+
2
3
  from functools import partial
3
4
  from typing import Iterable
4
5
  from typing import Iterator
@@ -1,4 +1,5 @@
1
1
  """Functionality for binary images."""
2
+
2
3
  import numpy
3
4
  import numpy as np
4
5
  from skimage import filters as skif
@@ -1,4 +1,5 @@
1
1
  """Binning transforms."""
2
+
2
3
  from functools import partial
3
4
  from typing import Iterable
4
5
  from typing import Iterator
@@ -1,4 +1,5 @@
1
1
  """Hough transforms."""
2
+
2
3
  from typing import Tuple
3
4
 
4
5
  import numpy
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: dkist-processing-math
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Common math functionality used in the DKIST calibrations suite
5
5
  Author-email: NSO / AURA <dkistdc@nso.edu>
6
6
  License: BSD-3-Clause
@@ -36,6 +36,8 @@ Requires-Dist: dkist-sphinx-theme; extra == "docs"
36
36
  dkist-processing-math
37
37
  =====================
38
38
 
39
+ |codecov|
40
+
39
41
  dkist-processing-math contains the math functions used throughout the DKIST data processing software stack.
40
42
 
41
43
 
@@ -105,3 +107,6 @@ then the Bitbucket pipeline will fail. To be able to use the same tag you must d
105
107
  # Re-tag with the same version
106
108
  git tag vWHATEVER.THE.VERSION
107
109
  git push --tags origin main
110
+
111
+ .. |codecov| image:: https://codecov.io/bb/dkistdc/dkist-processing-math/graph/badge.svg?token=N0SF93JM6R
112
+ :target: https://codecov.io/bb/dkistdc/dkist-processing-math
@@ -1,9 +1,9 @@
1
1
  changelog/.gitempty,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- dkist_processing_math/__init__.py,sha256=Mf7liCQC9M5YgFrz2NZ0dZ5smvcuw47ww6MC9mijAHw,249
3
- dkist_processing_math/arithmetic.py,sha256=h8E4DUBGQLDUiNWmZb2kZRrLMmjEpdl1S_mIi3ntZ6w,3694
4
- dkist_processing_math/feature.py,sha256=vwrkXBlK7wM6-KFaWxhBsMpHiHbpsWOiuGOhf3PRLSY,2003
5
- dkist_processing_math/linear_algebra.py,sha256=3ycmWklgLI89NjQgwgY81Zv1m_L4jJXHnt70TzQDVWQ,4179
6
- dkist_processing_math/statistics.py,sha256=PI_ZYves2_WFuVbfQpKI8BfUK6UYjAINefg7in-O_SQ,3177
2
+ dkist_processing_math/__init__.py,sha256=z2HXBhrQyX-yBiLTWnPUgVevMA7QI_3ZdJKn3ev1F8I,252
3
+ dkist_processing_math/arithmetic.py,sha256=WgO3lQI4GIVVOiXb_F7tQCZ5XQKzm_kF_zcy_3IL964,3695
4
+ dkist_processing_math/feature.py,sha256=xdhPkkoOX9aO50BeMjU_2vKwAOG1AUBA3TvfHzZuP6A,2004
5
+ dkist_processing_math/linear_algebra.py,sha256=yCA6ZuNORFnAyXywj73QMmGCpv9ZC2FSoMEPc8wToQY,4180
6
+ dkist_processing_math/statistics.py,sha256=KkZTy8wdslPSQ5qP4z_We60Vizaxqna7rmMwxkoj36U,3178
7
7
  dkist_processing_math/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  dkist_processing_math/tests/conftest.py,sha256=TV0o-R2lU1MvZleme0w-akcgO5wOTlFNKhjSlmDwkqg,1593
9
9
  dkist_processing_math/tests/test_arithmetic.py,sha256=18YI4Fr_m0KU0dYR8_ef7CMmnOlb-Zc4I8ERgoYdxdA,5658
@@ -11,20 +11,20 @@ dkist_processing_math/tests/test_feature.py,sha256=ZB8r_IUrAyTAlKbxEXwr8Q2zS7KPm
11
11
  dkist_processing_math/tests/test_linear_algebra.py,sha256=k-XqIIBPsenNMKqo2nQnDkkN-6T1nvVT8BrJnupAIFU,6495
12
12
  dkist_processing_math/tests/test_statistics.py,sha256=N0S8C9Bwhd1VgCAkm6RqIZF_Ulwrcet9wqfbndw8KZs,2998
13
13
  dkist_processing_math/tests/test_transform.py,sha256=M761Yceh3FKV00udvb6_AeKuyBpQrUAG-mLfO-PbHmc,20253
14
- dkist_processing_math/transform/__init__.py,sha256=gZGyavJgtuquv8vc_VkXraJjz_8MkDTk9UwGQhthHwM,617
15
- dkist_processing_math/transform/affine.py,sha256=wJvL-R3DMpOmEnCKL8YI8eRUE7enH2Vg-mSLLpfCEoE,8595
16
- dkist_processing_math/transform/binary.py,sha256=64FhSBScuVCykHYA8Oh99wQodqVUiPdbtpFGIMl5BX8,1206
17
- dkist_processing_math/transform/binning.py,sha256=1zSX4SIJnc_LiQY-oOCeZhy-zGAp5ALJFXhJ7Pz6uDI,5172
18
- dkist_processing_math/transform/hough.py,sha256=o0l9YaYgMBqeKACHT8lZ4PbMZVJwjD-cE1kKrFg8mog,1370
14
+ dkist_processing_math/transform/__init__.py,sha256=dFAi8bpLDa1Gp-kNrAsjcLnkRqyFNYbfzafC6gUUXHs,618
15
+ dkist_processing_math/transform/affine.py,sha256=2U_qG700otfz5ePjbaa_m47ttRYRaNAj71W9NtcZ4xU,8596
16
+ dkist_processing_math/transform/binary.py,sha256=a_wYYORIvfD8AmQor3t5fMO8LwoFondyX-5awGQeUZk,1207
17
+ dkist_processing_math/transform/binning.py,sha256=--CUP0nYxrWXbou48UJg8liSQJkwxBlDsKRXZTvhRCU,5173
18
+ dkist_processing_math/transform/hough.py,sha256=CUGkoFNLSTeCOF_0L-hT7BtPomB-oAdc0VVb_UfKGiY,1371
19
19
  docs/Makefile,sha256=qnlVz6PuBqE39NfHWuUnHhNEA-EFgT2-WJNNNy9ttfk,4598
20
20
  docs/changelog.rst,sha256=S2jPASsWlQxSlAPqdvNrYvhk9k3FcFWNXFNDYXBSjl4,120
21
- docs/conf.py,sha256=wo1DmmqFac7fMpPLXZrY69vCXb3cji4Y7eYWOphUu_w,1835
21
+ docs/conf.py,sha256=Yyp-X_7Pb412BQhnvlsDvdYFZIW3J3gIhTfigeVkdwo,1836
22
22
  docs/index.rst,sha256=jHz-xZEN52Q5X79VRjvoBlyuc_hHp1whKRlpykztIQc,106
23
23
  docs/landing_page.rst,sha256=JCyR9SRhYS6zeEUlonIzko1kQ0tAFDIfi7pCoQanZeA,251
24
24
  docs/make.bat,sha256=mBAhtURwhQ7yc95pqwJzlhqBSvRknr1aqZ5s8NKvdKs,4513
25
25
  docs/requirements.txt,sha256=Kbl_X4c7RQZw035YTeNB63We6I7pvXFU4T0Uflp2yDY,29
26
26
  licenses/LICENSE.rst,sha256=piZaQplkzOMmH1NXg6QIdo9wwo9pPCoHkvm2-DmH76E,1462
27
- dkist_processing_math-2.2.0.dist-info/METADATA,sha256=2OOptEy-_rBsOH0wbGXaPC_kP8Cah39vOgD5o1rk4Ck,4284
28
- dkist_processing_math-2.2.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
29
- dkist_processing_math-2.2.0.dist-info/top_level.txt,sha256=7NeFrOlR4xhZ3LMT4jN99LQugukjr6l9u3w_s6b-uO4,46
30
- dkist_processing_math-2.2.0.dist-info/RECORD,,
27
+ dkist_processing_math-2.2.1.dist-info/METADATA,sha256=qjPTJyXHhT4YZpBr3auAJG5SYTpncSRmidPXp3g-Ugk,4466
28
+ dkist_processing_math-2.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
+ dkist_processing_math-2.2.1.dist-info/top_level.txt,sha256=7NeFrOlR4xhZ3LMT4jN99LQugukjr6l9u3w_s6b-uO4,46
30
+ dkist_processing_math-2.2.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
docs/conf.py CHANGED
@@ -1,4 +1,5 @@
1
1
  """Configuration file for the Sphinx documentation builder."""
2
+
2
3
  # -- stdlib imports ------------------------------------------------------------
3
4
  import importlib
4
5
  import sys