dkist-processing-math 2.1.0rc2__tar.gz → 2.1.1__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.
Files changed (45) hide show
  1. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/CHANGELOG.rst +19 -0
  2. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/PKG-INFO +24 -6
  3. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/README.rst +0 -1
  4. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/bitbucket-pipelines.yml +21 -3
  5. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/linear_algebra.py +6 -0
  6. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math.egg-info/PKG-INFO +24 -6
  7. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math.egg-info/SOURCES.txt +0 -3
  8. dkist_processing_math-2.1.1/dkist_processing_math.egg-info/top_level.txt +5 -0
  9. dkist_processing_math-2.1.1/pyproject.toml +100 -0
  10. dkist_processing_math-2.1.1/setup.cfg +4 -0
  11. dkist-processing-math-2.1.0rc2/changelog/14.feature.rst +0 -1
  12. dkist-processing-math-2.1.0rc2/dkist_processing_math.egg-info/top_level.txt +0 -1
  13. dkist-processing-math-2.1.0rc2/pyproject.toml +0 -31
  14. dkist-processing-math-2.1.0rc2/setup.cfg +0 -60
  15. dkist-processing-math-2.1.0rc2/setup.py +0 -4
  16. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/.gitignore +0 -0
  17. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/.pre-commit-config.yaml +0 -0
  18. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/.readthedocs.yml +0 -0
  19. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/changelog/.gitempty +0 -0
  20. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/check_changelog_updated.sh +0 -0
  21. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/__init__.py +0 -0
  22. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/arithmetic.py +0 -0
  23. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/feature.py +0 -0
  24. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/statistics.py +0 -0
  25. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/tests/__init__.py +0 -0
  26. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/tests/conftest.py +0 -0
  27. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/tests/test_arithmetic.py +0 -0
  28. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/tests/test_feature.py +0 -0
  29. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/tests/test_linear_algebra.py +0 -0
  30. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/tests/test_statistics.py +0 -0
  31. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/tests/test_transform.py +0 -0
  32. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/transform/__init__.py +0 -0
  33. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/transform/affine.py +0 -0
  34. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/transform/binary.py +0 -0
  35. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/transform/binning.py +0 -0
  36. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math/transform/hough.py +0 -0
  37. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math.egg-info/dependency_links.txt +0 -0
  38. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/dkist_processing_math.egg-info/requires.txt +0 -0
  39. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/docs/Makefile +0 -0
  40. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/docs/changelog.rst +0 -0
  41. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/docs/conf.py +0 -0
  42. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/docs/index.rst +0 -0
  43. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/docs/make.bat +0 -0
  44. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/docs/requirements.txt +0 -0
  45. {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.1}/licenses/LICENSE.rst +0 -0
@@ -1,3 +1,22 @@
1
+ v2.1.1 (2024-10-14)
2
+ ===================
3
+
4
+ Misc
5
+ ----
6
+
7
+ - Make and publish wheels at code push in build pipeline (`#15 <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/15>`__)
8
+ - Switch from setup.cfg to pyproject.toml for build configuration (`#15 <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/15>`__)
9
+
10
+
11
+ v2.1.0 (2023-11-28)
12
+ ===================
13
+
14
+ Features
15
+ --------
16
+
17
+ - Add functions to broadcast matrix multiplication over extra array dimensions. (`#14 <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/14>`__)
18
+
19
+
1
20
  v2.0.0 (2023-06-29)
2
21
  ===================
3
22
 
@@ -1,25 +1,43 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dkist-processing-math
3
- Version: 2.1.0rc2
3
+ Version: 2.1.1
4
4
  Summary: Common math functionality used in the DKIST calibrations suite
5
- Home-page: https://bitbucket.org/dkistdc/dkist_processing_math/src/master/
6
- Author: NSO / AURA
7
- Author-email: "dkistdc@nso.edu"
8
- License: MIT
5
+ Author-email: NSO / AURA <dkistdc@nso.edu>
6
+ License: BSD-3-Clause
7
+ Project-URL: Homepage, https://nso.edu/dkist/data-center/
8
+ Project-URL: Repository, https://bitbucket.org/dkistdc/dkist-processing-math/
9
9
  Project-URL: Documentation, https://docs.dkist.nso.edu/projects/math
10
+ Project-URL: Help, https://nso.atlassian.net/servicedesk/customer/portal/5
10
11
  Classifier: Programming Language :: Python
11
12
  Classifier: Programming Language :: Python :: 3
12
13
  Classifier: Programming Language :: Python :: 3.11
13
14
  Requires-Python: >=3.11
15
+ Description-Content-Type: text/x-rst
16
+ Requires-Dist: dkist-processing-common>=4.0.0
17
+ Requires-Dist: numpy>=1.24.0
18
+ Requires-Dist: scikit-image>=0.21.0
19
+ Requires-Dist: scipy>=1.11.0
20
+ Requires-Dist: peakutils>=1.3.3
14
21
  Provides-Extra: test
22
+ Requires-Dist: pytest; extra == "test"
23
+ Requires-Dist: pytest-cov; extra == "test"
24
+ Requires-Dist: pytest-mock; extra == "test"
25
+ Requires-Dist: hypothesis; extra == "test"
26
+ Requires-Dist: towncrier; extra == "test"
15
27
  Provides-Extra: docs
28
+ Requires-Dist: sphinx; extra == "docs"
29
+ Requires-Dist: sphinx-astropy; extra == "docs"
30
+ Requires-Dist: sphinx-changelog; extra == "docs"
31
+ Requires-Dist: sphinx-autoapi; extra == "docs"
32
+ Requires-Dist: pytest; extra == "docs"
33
+ Requires-Dist: towncrier; extra == "docs"
34
+ Requires-Dist: dkist-sphinx-theme; extra == "docs"
16
35
 
17
36
  dkist-processing-math
18
37
  =====================
19
38
 
20
39
  dkist-processing-math contains the math functions used throughout the DKIST data processing software stack.
21
40
 
22
- * DKIST: https://nso.edu/telescopes/dki-solar-telescope/
23
41
 
24
42
  Development
25
43
  -----------
@@ -3,7 +3,6 @@ dkist-processing-math
3
3
 
4
4
  dkist-processing-math contains the math functions used throughout the DKIST data processing software stack.
5
5
 
6
- * DKIST: https://nso.edu/telescopes/dki-solar-telescope/
7
6
 
8
7
  Development
9
8
  -----------
@@ -60,9 +60,10 @@ definitions:
60
60
  - pip
61
61
  name: Push
62
62
  script:
63
- - python setup.py sdist
64
- - pip install twine
65
- - twine upload dist/*
63
+ - pip install -U pip
64
+ - pip install build twine
65
+ - python -m build --outdir wheelhouse .
66
+ - python -m twine upload --skip-existing wheelhouse/*
66
67
 
67
68
  pipelines:
68
69
  default:
@@ -73,6 +74,23 @@ pipelines:
73
74
  - step: *scan
74
75
  - step: *test
75
76
  - step: *docs
77
+ custom:
78
+ build_rc: # I.e. skip the doc check (because we might have rc dependencies)
79
+ - variables:
80
+ - name: BITBUCKET_TAG
81
+ description: "Tag version to build (e.g., 'vX.Y.ZrcR')"
82
+ - step:
83
+ name: Validate Bitbucket pipeline input
84
+ script:
85
+ - git tag | grep -q ${BITBUCKET_TAG} || { echo Tag ${BITBUCKET_TAG} not found!; exit 1; }
86
+ - echo ${BITBUCKET_TAG} | grep -q "rc[0-9]\+$" || { echo Tag ${BITBUCKET_TAG} is not an rc. SHAME!; exit 1; }
87
+ - parallel:
88
+ - step: *lint
89
+ - step: *changelog
90
+ - parallel:
91
+ - step: *scan
92
+ - step: *test
93
+ - step: *push
76
94
  tags:
77
95
  'v*':
78
96
  - parallel:
@@ -17,6 +17,9 @@ def nd_left_matrix_multiply(*, vector_stack: np.ndarray, matrix_stack: np.ndarra
17
17
  A special case where either the matrix or vector has NO higher-order dimensions is also allowed; the result will be
18
18
  the single matrix/vector broadcast over the higher-order dimensionality of the other element.
19
19
 
20
+ Processing inputs with different numbers of higher-order dummy dimensions (i.e., dimension of length 1), while
21
+ technically possible, is not supported because it would be unclear which input should set the output shape.
22
+
20
23
  Parameters
21
24
  ----------
22
25
  vector_stack : np.ndarray
@@ -59,6 +62,9 @@ def nd_right_matrix_multiply(*, vector_stack: np.ndarray, matrix_stack: np.ndarr
59
62
  A special case where either the matrix or vector has NO higher-order dimensions is also allowed; the result will be
60
63
  the single matrix/vector broadcast over the higher-order dimensionality of the other element.
61
64
 
65
+ Processing inputs with different numbers of higher-order dummy dimensions (i.e., dimension of length 1), while
66
+ technically possible, is not supported because it would be unclear which input should set the output shape.
67
+
62
68
  Parameters
63
69
  ----------
64
70
  vector_stack : np.ndarray
@@ -1,25 +1,43 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dkist-processing-math
3
- Version: 2.1.0rc2
3
+ Version: 2.1.1
4
4
  Summary: Common math functionality used in the DKIST calibrations suite
5
- Home-page: https://bitbucket.org/dkistdc/dkist_processing_math/src/master/
6
- Author: NSO / AURA
7
- Author-email: "dkistdc@nso.edu"
8
- License: MIT
5
+ Author-email: NSO / AURA <dkistdc@nso.edu>
6
+ License: BSD-3-Clause
7
+ Project-URL: Homepage, https://nso.edu/dkist/data-center/
8
+ Project-URL: Repository, https://bitbucket.org/dkistdc/dkist-processing-math/
9
9
  Project-URL: Documentation, https://docs.dkist.nso.edu/projects/math
10
+ Project-URL: Help, https://nso.atlassian.net/servicedesk/customer/portal/5
10
11
  Classifier: Programming Language :: Python
11
12
  Classifier: Programming Language :: Python :: 3
12
13
  Classifier: Programming Language :: Python :: 3.11
13
14
  Requires-Python: >=3.11
15
+ Description-Content-Type: text/x-rst
16
+ Requires-Dist: dkist-processing-common>=4.0.0
17
+ Requires-Dist: numpy>=1.24.0
18
+ Requires-Dist: scikit-image>=0.21.0
19
+ Requires-Dist: scipy>=1.11.0
20
+ Requires-Dist: peakutils>=1.3.3
14
21
  Provides-Extra: test
22
+ Requires-Dist: pytest; extra == "test"
23
+ Requires-Dist: pytest-cov; extra == "test"
24
+ Requires-Dist: pytest-mock; extra == "test"
25
+ Requires-Dist: hypothesis; extra == "test"
26
+ Requires-Dist: towncrier; extra == "test"
15
27
  Provides-Extra: docs
28
+ Requires-Dist: sphinx; extra == "docs"
29
+ Requires-Dist: sphinx-astropy; extra == "docs"
30
+ Requires-Dist: sphinx-changelog; extra == "docs"
31
+ Requires-Dist: sphinx-autoapi; extra == "docs"
32
+ Requires-Dist: pytest; extra == "docs"
33
+ Requires-Dist: towncrier; extra == "docs"
34
+ Requires-Dist: dkist-sphinx-theme; extra == "docs"
16
35
 
17
36
  dkist-processing-math
18
37
  =====================
19
38
 
20
39
  dkist-processing-math contains the math functions used throughout the DKIST data processing software stack.
21
40
 
22
- * DKIST: https://nso.edu/telescopes/dki-solar-telescope/
23
41
 
24
42
  Development
25
43
  -----------
@@ -6,10 +6,7 @@ README.rst
6
6
  bitbucket-pipelines.yml
7
7
  check_changelog_updated.sh
8
8
  pyproject.toml
9
- setup.cfg
10
- setup.py
11
9
  changelog/.gitempty
12
- changelog/14.feature.rst
13
10
  dkist_processing_math/__init__.py
14
11
  dkist_processing_math/arithmetic.py
15
12
  dkist_processing_math/feature.py
@@ -0,0 +1,5 @@
1
+ changelog
2
+ dkist_processing_math
3
+ docs
4
+ licenses
5
+ wheelhouse
@@ -0,0 +1,100 @@
1
+ [build-system]
2
+ requires = ["setuptools>=64", "setuptools_scm>=8"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [tool.setuptools.packages]
6
+ find = {}
7
+
8
+ [tool.setuptools_scm]
9
+
10
+ [project]
11
+ dynamic = ["version"]
12
+ name = "dkist-processing-math"
13
+ requires-python = ">=3.11"
14
+ description = "Common math functionality used in the DKIST calibrations suite"
15
+ readme = "README.rst"
16
+ authors = [ {name = "NSO / AURA", email = "dkistdc@nso.edu"} ]
17
+ license = {text = "BSD-3-Clause"}
18
+ classifiers = [
19
+ "Programming Language :: Python",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.11",
22
+ ]
23
+ dependencies = [
24
+ "dkist-processing-common >= 4.0.0",
25
+ "numpy >= 1.24.0",
26
+ "scikit-image >= 0.21.0",
27
+ "scipy >= 1.11.0",
28
+ "peakutils >= 1.3.3",
29
+ ]
30
+
31
+ [project.urls]
32
+ Homepage = "https://nso.edu/dkist/data-center/"
33
+ Repository = "https://bitbucket.org/dkistdc/dkist-processing-math/"
34
+ Documentation = "https://docs.dkist.nso.edu/projects/math"
35
+ Help = "https://nso.atlassian.net/servicedesk/customer/portal/5"
36
+
37
+ [project.optional-dependencies]
38
+ test = [
39
+ "pytest",
40
+ "pytest-cov",
41
+ "pytest-mock",
42
+ "hypothesis",
43
+ "towncrier",
44
+ ]
45
+ docs = [
46
+ "sphinx",
47
+ "sphinx-astropy",
48
+ "sphinx-changelog",
49
+ "sphinx-autoapi",
50
+ "pytest",
51
+ "towncrier",
52
+ "dkist-sphinx-theme",
53
+ ]
54
+
55
+ [tool.pytest.ini_options]
56
+ markers = [
57
+ "development: For tests that can only be run while developing with a sidecar proxy (as opposed to in bitbucket pipelines)"
58
+ ]
59
+
60
+ [tool.coverage.run]
61
+ omit = [
62
+ "dkist_processing_math/tests/*",
63
+ "dkist_processing_math/__init__.py",
64
+ ]
65
+
66
+ [tool.coverage.report]
67
+ show_missing = true
68
+
69
+ [tool.towncrier]
70
+ package = "dkist_processing_math"
71
+ filename = "CHANGELOG.rst"
72
+ directory = "changelog/"
73
+ issue_format = "`#{issue} <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/{issue}>`__"
74
+ title_format = "{version} ({project_date})"
75
+ ignore = [".gitempty"]
76
+
77
+ [[tool.towncrier.type]]
78
+ directory = "feature"
79
+ name = "Features"
80
+ showcontent = true
81
+
82
+ [[tool.towncrier.type]]
83
+ directory = "bugfix"
84
+ name = "Bugfixes"
85
+ showcontent = true
86
+
87
+ [[tool.towncrier.type]]
88
+ directory = "removal"
89
+ name = "Removals"
90
+ showcontent = true
91
+
92
+ [[tool.towncrier.type]]
93
+ directory = "misc"
94
+ name = "Misc"
95
+ showcontent = true
96
+
97
+ [[tool.towncrier.type]]
98
+ directory = "doc"
99
+ name = "Documentation"
100
+ showcontent = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -1 +0,0 @@
1
- Add functions to broadcast matrix multiplication over extra array dimensions.
@@ -1 +0,0 @@
1
- dkist_processing_math
@@ -1,31 +0,0 @@
1
- [tool.towncrier]
2
- package = "dkist_processing_math"
3
- filename = "CHANGELOG.rst"
4
- directory = "changelog/"
5
- issue_format = "`#{issue} <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/{issue}>`__"
6
- title_format = "{version} ({project_date})"
7
-
8
- [[tool.towncrier.type]]
9
- directory = "feature"
10
- name = "Features"
11
- showcontent = true
12
-
13
- [[tool.towncrier.type]]
14
- directory = "bugfix"
15
- name = "Bugfixes"
16
- showcontent = true
17
-
18
- [[tool.towncrier.type]]
19
- directory = "removal"
20
- name = "Removals"
21
- showcontent = true
22
-
23
- [[tool.towncrier.type]]
24
- directory = "misc"
25
- name = "Misc"
26
- showcontent = true
27
-
28
- [[tool.towncrier.type]]
29
- directory = "doc"
30
- name = "Documentation"
31
- showcontent = true
@@ -1,60 +0,0 @@
1
- [metadata]
2
- name = dkist-processing-math
3
- description = Common math functionality used in the DKIST calibrations suite
4
- long_description = file: README.rst
5
- author = NSO / AURA
6
- author_email = "dkistdc@nso.edu"
7
- license = MIT
8
- url = https://bitbucket.org/dkistdc/dkist_processing_math/src/master/
9
- project_urls =
10
- Documentation = https://docs.dkist.nso.edu/projects/math
11
- classifiers =
12
- Programming Language :: Python
13
- Programming Language :: Python :: 3
14
- Programming Language :: Python :: 3.11
15
-
16
- [options]
17
- python_requires = >=3.11
18
- setup_requires = setuptools_scm
19
- packages = find:
20
- include_package_data = True
21
- install_requires =
22
- dkist-processing-common >= 4.0.0
23
- numpy >= 1.24.0
24
- scikit-image >= 0.21.0
25
- scipy >= 1.11.0
26
- peakutils >= 1.3.3
27
-
28
- [options.extras_require]
29
- test =
30
- pytest
31
- pytest-cov
32
- pytest-mock
33
- hypothesis
34
- towncrier
35
- docs =
36
- sphinx
37
- sphinx-astropy
38
- sphinx-changelog
39
- sphinx-autoapi
40
- pytest
41
- towncrier
42
- dkist-sphinx-theme
43
-
44
- [build_docs]
45
- source-dir = docs
46
- build-dir = docs/_build
47
- all_files = 1
48
-
49
- [upload_docs]
50
- upload-dir = docs/_build/html
51
- show-response = 1
52
-
53
- [tool:pytest]
54
- markers =
55
- development: For tests that can only be run while developing with a sidecar proxy (as opposed to in bitbucket pipelines)
56
-
57
- [egg_info]
58
- tag_build =
59
- tag_date = 0
60
-
@@ -1,4 +0,0 @@
1
- """Use setup.cfg to configure packaging."""
2
- from setuptools import setup
3
-
4
- setup(use_scm_version=True)