dkist-processing-trend 0.1.0__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_trend-0.1.0/.gitignore +194 -0
- dkist_processing_trend-0.1.0/.pre-commit-config.yaml +33 -0
- dkist_processing_trend-0.1.0/.snyk +13 -0
- dkist_processing_trend-0.1.0/CHANGELOG.rst +4 -0
- dkist_processing_trend-0.1.0/PKG-INFO +549 -0
- dkist_processing_trend-0.1.0/README.rst +215 -0
- dkist_processing_trend-0.1.0/bitbucket-pipelines.yml +147 -0
- dkist_processing_trend-0.1.0/changelog/.gitempty +0 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/__init__.py +10 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/config.py +11 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/models/__init__.py +1 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/models/constants.py +143 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/models/fit_options.py +15 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/models/fits_access.py +65 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/models/instrument.py +35 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/models/instrument_options.py +35 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/models/parameters.py +134 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/models/tags.py +117 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/models/task_name.py +20 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/parsers/__init__.py +1 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/parsers/arm_id.py +103 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/parsers/instrument_unique_bud.py +40 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/parsers/time.py +27 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/parsers/trend_l0_fits_access.py +123 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/__init__.py +27 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/arm_task_factory.py +57 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/dark.py +56 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/gain.py +74 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/initialize_arm_tasks.py +50 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/parse.py +169 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/prepare_fit_data_base.py +257 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/run_pac_fitter.py +392 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/trend_base.py +97 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/trend_output_data.py +167 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/visp/__init__.py +6 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/visp/visp_dmpd.py +410 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/visp/visp_extract_beam.py +14 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/visp/visp_geometric.py +260 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/visp/visp_prep_fit_data.py +162 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/visp/visp_process_demod.py +236 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tasks/write_trend.py +663 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/__init__.py +1 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/conftest.py +718 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/local_trial_workflows/__init__.py +0 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/local_trial_workflows/l0_to_trend_visp_polcal.py +294 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/local_trial_workflows/local_trial_helpers.py +488 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_arm_task_factory.py +82 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_base_tasks.py +86 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_constants.py +120 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_dark.py +97 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_gain.py +135 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_parameters.py +149 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_parse.py +276 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_prep_fit_data_base.py +233 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_publish_catalog_messages.py +45 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_run_pac_fitter.py +371 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_stems.py +75 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_transfer_output_data.py +76 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_trend_fits_access.py +173 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_visp.py +874 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_workflows.py +10 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/tests/test_write_trend.py +460 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/workflows/__init__.py +3 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend/workflows/visp.py +58 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend.egg-info/PKG-INFO +549 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend.egg-info/SOURCES.txt +76 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend.egg-info/dependency_links.txt +1 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend.egg-info/requires.txt +323 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend.egg-info/scm_file_list.json +73 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend.egg-info/scm_version.json +8 -0
- dkist_processing_trend-0.1.0/dkist_processing_trend.egg-info/top_level.txt +5 -0
- dkist_processing_trend-0.1.0/docs/conf.py +57 -0
- dkist_processing_trend-0.1.0/docs/index.rst +10 -0
- dkist_processing_trend-0.1.0/docs/l0_to_trend_visp_polcal.rst +4 -0
- dkist_processing_trend-0.1.0/docs/landing_page.rst +11 -0
- dkist_processing_trend-0.1.0/docs/requirements_table.rst +8 -0
- dkist_processing_trend-0.1.0/pyproject.toml +422 -0
- dkist_processing_trend-0.1.0/setup.cfg +4 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
__pycache__
|
|
4
|
+
*.py[cod]
|
|
5
|
+
*$py.class
|
|
6
|
+
*.a
|
|
7
|
+
*.o
|
|
8
|
+
*.pyc
|
|
9
|
+
|
|
10
|
+
# C extensions
|
|
11
|
+
*.so
|
|
12
|
+
|
|
13
|
+
# Distribution / packaging
|
|
14
|
+
*.egg
|
|
15
|
+
*.egg-info
|
|
16
|
+
dist
|
|
17
|
+
build
|
|
18
|
+
eggs
|
|
19
|
+
parts
|
|
20
|
+
bin
|
|
21
|
+
var
|
|
22
|
+
sdist
|
|
23
|
+
develop-eggs
|
|
24
|
+
.installed.cfg
|
|
25
|
+
distribute-*.tar.gz
|
|
26
|
+
.Python
|
|
27
|
+
build/
|
|
28
|
+
develop-eggs/
|
|
29
|
+
dist/
|
|
30
|
+
downloads/
|
|
31
|
+
eggs/
|
|
32
|
+
.eggs/
|
|
33
|
+
lib/
|
|
34
|
+
lib64/
|
|
35
|
+
parts/
|
|
36
|
+
sdist/
|
|
37
|
+
var/
|
|
38
|
+
wheels/
|
|
39
|
+
pip-wheel-metadata/
|
|
40
|
+
share/python-wheels/
|
|
41
|
+
*.egg-info/
|
|
42
|
+
MANIFEST
|
|
43
|
+
scratch
|
|
44
|
+
|
|
45
|
+
# PyInstaller
|
|
46
|
+
# Usually these files are written by a python script from a template
|
|
47
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
48
|
+
*.manifest
|
|
49
|
+
*.spec
|
|
50
|
+
|
|
51
|
+
# Installer logs
|
|
52
|
+
pip-log.txt
|
|
53
|
+
pip-delete-this-directory.txt
|
|
54
|
+
|
|
55
|
+
# Unit test / coverage reports
|
|
56
|
+
htmlcov/
|
|
57
|
+
.tox/
|
|
58
|
+
.nox/
|
|
59
|
+
.coverage
|
|
60
|
+
.coverage.*
|
|
61
|
+
.cache
|
|
62
|
+
nosetests.xml
|
|
63
|
+
coverage.xml
|
|
64
|
+
*.cover
|
|
65
|
+
.hypothesis/
|
|
66
|
+
.pytest_cache/
|
|
67
|
+
|
|
68
|
+
# Translations
|
|
69
|
+
*.mo
|
|
70
|
+
*.pot
|
|
71
|
+
|
|
72
|
+
# Django stuff:
|
|
73
|
+
*.log
|
|
74
|
+
local_settings.py
|
|
75
|
+
db.sqlite3
|
|
76
|
+
db.sqlite3-journal
|
|
77
|
+
|
|
78
|
+
# Flask stuff:
|
|
79
|
+
instance/
|
|
80
|
+
.webassets-cache
|
|
81
|
+
|
|
82
|
+
# Scrapy stuff:
|
|
83
|
+
.scrapy
|
|
84
|
+
|
|
85
|
+
# Sphinx documentation
|
|
86
|
+
docs/_build/
|
|
87
|
+
docs/api/
|
|
88
|
+
|
|
89
|
+
# PyBuilder
|
|
90
|
+
target/
|
|
91
|
+
|
|
92
|
+
# Jupyter Notebook
|
|
93
|
+
.ipynb_checkpoints
|
|
94
|
+
|
|
95
|
+
# IPython
|
|
96
|
+
profile_default/
|
|
97
|
+
ipython_config.py
|
|
98
|
+
|
|
99
|
+
# pyenv
|
|
100
|
+
.python-version
|
|
101
|
+
|
|
102
|
+
# pipenv
|
|
103
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
104
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
105
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
106
|
+
# install all needed dependencies.
|
|
107
|
+
#Pipfile.lock
|
|
108
|
+
|
|
109
|
+
# celery beat schedule file
|
|
110
|
+
celerybeat-schedule
|
|
111
|
+
|
|
112
|
+
# SageMath parsed files
|
|
113
|
+
*.sage.py
|
|
114
|
+
|
|
115
|
+
# Environments
|
|
116
|
+
.env
|
|
117
|
+
.venv
|
|
118
|
+
env/
|
|
119
|
+
venv/
|
|
120
|
+
ENV/
|
|
121
|
+
env.bak/
|
|
122
|
+
venv.bak/
|
|
123
|
+
|
|
124
|
+
# Spyder project settings
|
|
125
|
+
.spyderproject
|
|
126
|
+
.spyproject
|
|
127
|
+
|
|
128
|
+
# Rope project settings
|
|
129
|
+
.ropeproject
|
|
130
|
+
|
|
131
|
+
# PyCharm project settings
|
|
132
|
+
.idea
|
|
133
|
+
|
|
134
|
+
# mkdocs documentation
|
|
135
|
+
/site
|
|
136
|
+
|
|
137
|
+
# mypy
|
|
138
|
+
.mypy_cache/
|
|
139
|
+
.dmypy.json
|
|
140
|
+
dmypy.json
|
|
141
|
+
|
|
142
|
+
# Pyre type checker
|
|
143
|
+
.pyre/
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
# other
|
|
147
|
+
*.npy
|
|
148
|
+
*.dat
|
|
149
|
+
*.fits
|
|
150
|
+
.tox
|
|
151
|
+
.*.sw[op]
|
|
152
|
+
*~
|
|
153
|
+
|
|
154
|
+
# Ignore .c files by default to avoid including generated code. If you want to
|
|
155
|
+
# add a non-generated .c extension, use `git add -f filename.c`.
|
|
156
|
+
*.c
|
|
157
|
+
|
|
158
|
+
# Other generated files
|
|
159
|
+
*/version.py
|
|
160
|
+
*/cython_version.py
|
|
161
|
+
htmlcov
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
# Sphinx
|
|
165
|
+
docs/api
|
|
166
|
+
docs/_build
|
|
167
|
+
|
|
168
|
+
# Eclipse editor project files
|
|
169
|
+
.project
|
|
170
|
+
.pydevproject
|
|
171
|
+
.settings
|
|
172
|
+
|
|
173
|
+
# Floobits project files
|
|
174
|
+
.floo
|
|
175
|
+
.flooignore
|
|
176
|
+
|
|
177
|
+
# Mac OSX
|
|
178
|
+
.DS_Store
|
|
179
|
+
|
|
180
|
+
# Outputs and temp files
|
|
181
|
+
*.png
|
|
182
|
+
*.txt
|
|
183
|
+
*.cprof
|
|
184
|
+
vtfcal/dask-worker-space/
|
|
185
|
+
vtfcal/data/
|
|
186
|
+
tmp??_pars*.fits
|
|
187
|
+
|
|
188
|
+
*data_tree
|
|
189
|
+
dask-worker-space
|
|
190
|
+
logging.*
|
|
191
|
+
|
|
192
|
+
# VS Code
|
|
193
|
+
.history/
|
|
194
|
+
.vscode/
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# See https://pre-commit.com for more information
|
|
2
|
+
# See https://pre-commit.com/hooks.html for more hooks
|
|
3
|
+
repos:
|
|
4
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
+
rev: v5.0.0
|
|
6
|
+
hooks:
|
|
7
|
+
- id: trailing-whitespace
|
|
8
|
+
- id: end-of-file-fixer
|
|
9
|
+
- id: check-yaml
|
|
10
|
+
- id: check-added-large-files
|
|
11
|
+
args: [--maxkb=700]
|
|
12
|
+
- id: debug-statements
|
|
13
|
+
- repo: https://github.com/psf/black
|
|
14
|
+
rev: 25.1.0
|
|
15
|
+
hooks:
|
|
16
|
+
- id: black
|
|
17
|
+
- repo: https://github.com/pycqa/isort
|
|
18
|
+
rev: 5.12.0
|
|
19
|
+
hooks:
|
|
20
|
+
- id: isort
|
|
21
|
+
name: isort (python)
|
|
22
|
+
- repo: https://github.com/pycqa/pydocstyle
|
|
23
|
+
rev: 6.1.1 # pick a git hash / tag to point to
|
|
24
|
+
hooks:
|
|
25
|
+
- id: pydocstyle
|
|
26
|
+
exclude: test
|
|
27
|
+
args:
|
|
28
|
+
- --convention=numpy
|
|
29
|
+
- --add-ignore=D105
|
|
30
|
+
- repo: https://bitbucket.org/dkistdc/pre-commit-hooks
|
|
31
|
+
rev: v1.0.2
|
|
32
|
+
hooks:
|
|
33
|
+
- id: calibration-workflow-name
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities
|
|
2
|
+
# https://docs.snyk.io/manage-risk/policies/the-.snyk-file#syntax-of-the-.snyk-file
|
|
3
|
+
version: v1.25.0
|
|
4
|
+
ignore:
|
|
5
|
+
SNYK-PYTHON-APACHEAIRFLOWCORE-17879182:
|
|
6
|
+
- "*" :
|
|
7
|
+
reason: 'Patched in Airflow 3.3.0, but we are not ready to upgrade till 3.3.1 or later'
|
|
8
|
+
expires: '2027-07-07T00:00:00.000Z'
|
|
9
|
+
SNYK-PYTHON-APACHEAIRFLOWCORE-17933331:
|
|
10
|
+
- '*':
|
|
11
|
+
reason: 'Ignored by bulk CI/CD Snyk policy update'
|
|
12
|
+
expires: '2099-12-31T23:59:59.999Z'
|
|
13
|
+
created: '2026-07-10T15:53:27.931Z'
|