dkist-processing-math 2.1.0rc2__tar.gz → 2.1.2__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.
- dkist_processing_math-2.1.2/.snyk +3 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/CHANGELOG.rst +34 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/PKG-INFO +24 -6
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/README.rst +0 -1
- dkist_processing_math-2.1.2/bitbucket-pipelines.yml +100 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/check_changelog_updated.sh +1 -1
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/linear_algebra.py +6 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math.egg-info/PKG-INFO +24 -6
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math.egg-info/SOURCES.txt +2 -3
- dkist_processing_math-2.1.2/dkist_processing_math.egg-info/top_level.txt +5 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/docs/index.rst +1 -1
- dkist_processing_math-2.1.2/docs/landing_page.rst +6 -0
- dkist_processing_math-2.1.2/pyproject.toml +100 -0
- dkist_processing_math-2.1.2/setup.cfg +4 -0
- dkist-processing-math-2.1.0rc2/bitbucket-pipelines.yml +0 -85
- dkist-processing-math-2.1.0rc2/changelog/14.feature.rst +0 -1
- dkist-processing-math-2.1.0rc2/dkist_processing_math.egg-info/top_level.txt +0 -1
- dkist-processing-math-2.1.0rc2/pyproject.toml +0 -31
- dkist-processing-math-2.1.0rc2/setup.cfg +0 -60
- dkist-processing-math-2.1.0rc2/setup.py +0 -4
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/.gitignore +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/.pre-commit-config.yaml +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/.readthedocs.yml +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/changelog/.gitempty +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/__init__.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/arithmetic.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/feature.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/statistics.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/tests/__init__.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/tests/conftest.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/tests/test_arithmetic.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/tests/test_feature.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/tests/test_linear_algebra.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/tests/test_statistics.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/tests/test_transform.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/transform/__init__.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/transform/affine.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/transform/binary.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/transform/binning.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/transform/hough.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math.egg-info/dependency_links.txt +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math.egg-info/requires.txt +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/docs/Makefile +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/docs/changelog.rst +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/docs/conf.py +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/docs/make.bat +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/docs/requirements.txt +0 -0
- {dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/licenses/LICENSE.rst +0 -0
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
v2.1.2 (2024-12-20)
|
|
2
|
+
===================
|
|
3
|
+
|
|
4
|
+
Misc
|
|
5
|
+
----
|
|
6
|
+
|
|
7
|
+
- Update Bitbucket pipelines to use standardized lint and scan steps. (`#17 <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/17>`__)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Documentation
|
|
11
|
+
-------------
|
|
12
|
+
|
|
13
|
+
- Change the documentation landing page to focus more on users and less on developers. (`#16 <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/16>`__)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
v2.1.1 (2024-10-14)
|
|
17
|
+
===================
|
|
18
|
+
|
|
19
|
+
Misc
|
|
20
|
+
----
|
|
21
|
+
|
|
22
|
+
- Make and publish wheels at code push in build pipeline (`#15 <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/15>`__)
|
|
23
|
+
- Switch from setup.cfg to pyproject.toml for build configuration (`#15 <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/15>`__)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
v2.1.0 (2023-11-28)
|
|
27
|
+
===================
|
|
28
|
+
|
|
29
|
+
Features
|
|
30
|
+
--------
|
|
31
|
+
|
|
32
|
+
- Add functions to broadcast matrix multiplication over extra array dimensions. (`#14 <https://bitbucket.org/dkistdc/dkist-processing-math/pull-requests/14>`__)
|
|
33
|
+
|
|
34
|
+
|
|
1
35
|
v2.0.0 (2023-06-29)
|
|
2
36
|
===================
|
|
3
37
|
|
|
@@ -1,25 +1,43 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dkist-processing-math
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.2
|
|
4
4
|
Summary: Common math functionality used in the DKIST calibrations suite
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-----------
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
image: python:3.11
|
|
2
|
+
definitions:
|
|
3
|
+
steps:
|
|
4
|
+
- step: &lint
|
|
5
|
+
caches:
|
|
6
|
+
- pip
|
|
7
|
+
name: Lint
|
|
8
|
+
script:
|
|
9
|
+
- echo "Retrieving and Executing Lint Script"
|
|
10
|
+
- curl -fL https://getcli.jfrog.io | sh
|
|
11
|
+
- ./jfrog rt dl --url $ARTIFACTORY_URL --user $ARTIFACTORY_USER --password $ARTIFACTORY_PASSWORD generic-packages/ci_scripts/latest/lint_python.sh
|
|
12
|
+
- cat ci_scripts/latest/lint_python.sh
|
|
13
|
+
- chmod 755 ci_scripts/latest/lint_python.sh
|
|
14
|
+
- ./ci_scripts/latest/lint_python.sh
|
|
15
|
+
- step: &changelog
|
|
16
|
+
caches:
|
|
17
|
+
- pip
|
|
18
|
+
name: Changelog
|
|
19
|
+
script:
|
|
20
|
+
- pip install towncrier
|
|
21
|
+
# We need to fetch the main branch to compare against
|
|
22
|
+
- git remote set-branches --add origin main
|
|
23
|
+
- git fetch origin main
|
|
24
|
+
- towncrier check --compare-with origin/main
|
|
25
|
+
- step: &scan
|
|
26
|
+
caches:
|
|
27
|
+
- pip
|
|
28
|
+
name: Scan
|
|
29
|
+
script:
|
|
30
|
+
- echo "Retrieving and Executing Scan Script"
|
|
31
|
+
- curl -fL https://getcli.jfrog.io | sh
|
|
32
|
+
- ./jfrog rt dl --url $ARTIFACTORY_URL --user $ARTIFACTORY_USER --password $ARTIFACTORY_PASSWORD generic-packages/ci_scripts/latest/scan_python.sh
|
|
33
|
+
- cat ci_scripts/latest/scan_python.sh
|
|
34
|
+
- chmod 755 ci_scripts/latest/scan_python.sh
|
|
35
|
+
- ./ci_scripts/latest/scan_python.sh
|
|
36
|
+
- step: &test
|
|
37
|
+
caches:
|
|
38
|
+
- pip
|
|
39
|
+
name: Test
|
|
40
|
+
script:
|
|
41
|
+
- pip install .[test]
|
|
42
|
+
- pytest --cov -m "not development" dkist_processing_math
|
|
43
|
+
- step: &docs
|
|
44
|
+
name: Build Docs
|
|
45
|
+
caches:
|
|
46
|
+
- pip
|
|
47
|
+
script:
|
|
48
|
+
- apt update && apt -y install graphviz
|
|
49
|
+
- pip install .[docs]
|
|
50
|
+
- sphinx-build --color -W --keep-going -b html docs docs/_build/html
|
|
51
|
+
- step: &check_changelog
|
|
52
|
+
name: Check for updated CHANGELOG
|
|
53
|
+
script:
|
|
54
|
+
- ./check_changelog_updated.sh
|
|
55
|
+
- step: &push
|
|
56
|
+
caches:
|
|
57
|
+
- pip
|
|
58
|
+
name: Push
|
|
59
|
+
script:
|
|
60
|
+
- pip install -U pip
|
|
61
|
+
- pip install build twine
|
|
62
|
+
- python -m build --outdir wheelhouse .
|
|
63
|
+
- python -m twine upload --skip-existing wheelhouse/*
|
|
64
|
+
|
|
65
|
+
pipelines:
|
|
66
|
+
default:
|
|
67
|
+
- parallel:
|
|
68
|
+
- step: *lint
|
|
69
|
+
- step: *changelog
|
|
70
|
+
- parallel:
|
|
71
|
+
- step: *scan
|
|
72
|
+
- step: *test
|
|
73
|
+
- step: *docs
|
|
74
|
+
custom:
|
|
75
|
+
skip_doc_test_to_build_rc: # I.e. skip the doc check (because we might have rc dependencies)
|
|
76
|
+
- variables:
|
|
77
|
+
- name: BITBUCKET_TAG
|
|
78
|
+
description: "Tag version to build (e.g., 'vX.Y.ZrcR')"
|
|
79
|
+
- step:
|
|
80
|
+
name: Validate Bitbucket pipeline input
|
|
81
|
+
script:
|
|
82
|
+
- git tag | grep -q ${BITBUCKET_TAG} || { echo Tag ${BITBUCKET_TAG} not found!; exit 1; }
|
|
83
|
+
- echo ${BITBUCKET_TAG} | grep -q "rc[0-9]\+$" || { echo Tag ${BITBUCKET_TAG} is not an rc. SHAME!; exit 1; }
|
|
84
|
+
- parallel:
|
|
85
|
+
- step: *lint
|
|
86
|
+
- step: *changelog
|
|
87
|
+
- parallel:
|
|
88
|
+
- step: *scan
|
|
89
|
+
- step: *test
|
|
90
|
+
- step: *push
|
|
91
|
+
tags:
|
|
92
|
+
'v*':
|
|
93
|
+
- parallel:
|
|
94
|
+
- step: *check_changelog
|
|
95
|
+
- step: *lint
|
|
96
|
+
- parallel:
|
|
97
|
+
- step: *scan
|
|
98
|
+
- step: *test
|
|
99
|
+
- step: *docs
|
|
100
|
+
- step: *push
|
|
@@ -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.
|
|
3
|
+
Version: 2.1.2
|
|
4
4
|
Summary: Common math functionality used in the DKIST calibrations suite
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-----------
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.pre-commit-config.yaml
|
|
3
3
|
.readthedocs.yml
|
|
4
|
+
.snyk
|
|
4
5
|
CHANGELOG.rst
|
|
5
6
|
README.rst
|
|
6
7
|
bitbucket-pipelines.yml
|
|
7
8
|
check_changelog_updated.sh
|
|
8
9
|
pyproject.toml
|
|
9
|
-
setup.cfg
|
|
10
|
-
setup.py
|
|
11
10
|
changelog/.gitempty
|
|
12
|
-
changelog/14.feature.rst
|
|
13
11
|
dkist_processing_math/__init__.py
|
|
14
12
|
dkist_processing_math/arithmetic.py
|
|
15
13
|
dkist_processing_math/feature.py
|
|
@@ -36,6 +34,7 @@ docs/Makefile
|
|
|
36
34
|
docs/changelog.rst
|
|
37
35
|
docs/conf.py
|
|
38
36
|
docs/index.rst
|
|
37
|
+
docs/landing_page.rst
|
|
39
38
|
docs/make.bat
|
|
40
39
|
docs/requirements.txt
|
|
41
40
|
licenses/LICENSE.rst
|
|
@@ -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
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
image: python:3.11
|
|
2
|
-
definitions:
|
|
3
|
-
steps:
|
|
4
|
-
- step: &lint
|
|
5
|
-
caches:
|
|
6
|
-
- pip
|
|
7
|
-
name: Lint
|
|
8
|
-
script:
|
|
9
|
-
- pip install pre-commit
|
|
10
|
-
- pre-commit install
|
|
11
|
-
- pre-commit run --all-files
|
|
12
|
-
- step: &changelog
|
|
13
|
-
caches:
|
|
14
|
-
- pip
|
|
15
|
-
name: Changelog
|
|
16
|
-
script:
|
|
17
|
-
- pip install towncrier
|
|
18
|
-
# We need to fetch the main branch to compare against
|
|
19
|
-
- git remote set-branches --add origin main
|
|
20
|
-
- git fetch origin main
|
|
21
|
-
- towncrier check --compare-with origin/main
|
|
22
|
-
- step: &scan
|
|
23
|
-
caches:
|
|
24
|
-
- pip
|
|
25
|
-
name: Scan
|
|
26
|
-
script:
|
|
27
|
-
- pip install -e .
|
|
28
|
-
- pip freeze | grep -v @ > requirements.txt
|
|
29
|
-
- cat requirements.txt
|
|
30
|
-
- echo $SNYK_VERSION
|
|
31
|
-
- curl -L -o snyk https://github.com/snyk/snyk/releases/download/$SNYK_VERSION/snyk-linux
|
|
32
|
-
- chmod 755 snyk
|
|
33
|
-
- ./snyk -d auth $SNYK_TOKEN
|
|
34
|
-
- echo $SNYK_IGNORE
|
|
35
|
-
- for id in $SNYK_IGNORE; do echo Ignoring $id; ./snyk ignore $id; done
|
|
36
|
-
- cat .snyk || echo "No .snyk found. Probably because there was nothing to ignore."
|
|
37
|
-
- echo $SNYK_CLI_COMMAND
|
|
38
|
-
- $SNYK_CLI_COMMAND
|
|
39
|
-
- step: &test
|
|
40
|
-
caches:
|
|
41
|
-
- pip
|
|
42
|
-
name: Test
|
|
43
|
-
script:
|
|
44
|
-
- pip install .[test]
|
|
45
|
-
- pytest --cov -m "not development" dkist_processing_math
|
|
46
|
-
- step: &docs
|
|
47
|
-
name: Build Docs
|
|
48
|
-
caches:
|
|
49
|
-
- pip
|
|
50
|
-
script:
|
|
51
|
-
- apt update && apt -y install graphviz
|
|
52
|
-
- pip install .[docs]
|
|
53
|
-
- sphinx-build --color -W --keep-going -b html docs docs/_build/html
|
|
54
|
-
- step: &check_changelog
|
|
55
|
-
name: Check for updated CHANGELOG
|
|
56
|
-
script:
|
|
57
|
-
- ./check_changelog_updated.sh
|
|
58
|
-
- step: &push
|
|
59
|
-
caches:
|
|
60
|
-
- pip
|
|
61
|
-
name: Push
|
|
62
|
-
script:
|
|
63
|
-
- python setup.py sdist
|
|
64
|
-
- pip install twine
|
|
65
|
-
- twine upload dist/*
|
|
66
|
-
|
|
67
|
-
pipelines:
|
|
68
|
-
default:
|
|
69
|
-
- parallel:
|
|
70
|
-
- step: *lint
|
|
71
|
-
- step: *changelog
|
|
72
|
-
- parallel:
|
|
73
|
-
- step: *scan
|
|
74
|
-
- step: *test
|
|
75
|
-
- step: *docs
|
|
76
|
-
tags:
|
|
77
|
-
'v*':
|
|
78
|
-
- parallel:
|
|
79
|
-
- step: *check_changelog
|
|
80
|
-
- step: *lint
|
|
81
|
-
- parallel:
|
|
82
|
-
- step: *scan
|
|
83
|
-
- step: *test
|
|
84
|
-
- step: *docs
|
|
85
|
-
- step: *push
|
|
@@ -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
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/__init__.py
RENAMED
|
File without changes
|
{dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/arithmetic.py
RENAMED
|
File without changes
|
{dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/feature.py
RENAMED
|
File without changes
|
{dkist-processing-math-2.1.0rc2 → dkist_processing_math-2.1.2}/dkist_processing_math/statistics.py
RENAMED
|
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
|
|
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
|
|
File without changes
|