dkist-processing-visp 5.2.3__py3-none-any.whl → 5.2.4__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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dkist-processing-visp
3
- Version: 5.2.3
3
+ Version: 5.2.4
4
4
  Summary: Science processing code for the ViSP instrument on DKIST
5
5
  Author-email: NSO / AURA <dkistdc@nso.edu>
6
6
  License: BSD-3-Clause
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Requires-Python: >=3.12
15
15
  Description-Content-Type: text/x-rst
16
- Requires-Dist: dkist-processing-common==11.9.2
16
+ Requires-Dist: dkist-processing-common==11.9.3
17
17
  Requires-Dist: dkist-processing-math==2.2.1
18
18
  Requires-Dist: dkist-processing-pac==3.1.1
19
19
  Requires-Dist: dkist-header-validator==5.2.1
@@ -93,22 +93,22 @@ Requires-Dist: WTForms==3.2.1; extra == "frozen"
93
93
  Requires-Dist: Werkzeug==2.2.3; extra == "frozen"
94
94
  Requires-Dist: aioftp==0.27.2; extra == "frozen"
95
95
  Requires-Dist: aiohappyeyeballs==2.6.1; extra == "frozen"
96
- Requires-Dist: aiohttp==3.13.2; extra == "frozen"
96
+ Requires-Dist: aiohttp==3.13.3; extra == "frozen"
97
97
  Requires-Dist: aiosignal==1.4.0; extra == "frozen"
98
98
  Requires-Dist: aiosmtplib==5.0.0; extra == "frozen"
99
99
  Requires-Dist: alembic==1.17.2; extra == "frozen"
100
100
  Requires-Dist: amqp==5.3.1; extra == "frozen"
101
101
  Requires-Dist: annotated-types==0.7.0; extra == "frozen"
102
- Requires-Dist: anyio==4.12.0; extra == "frozen"
102
+ Requires-Dist: anyio==4.12.1; extra == "frozen"
103
103
  Requires-Dist: apache-airflow==2.11.0; extra == "frozen"
104
- Requires-Dist: apache-airflow-providers-celery==3.14.1; extra == "frozen"
105
- Requires-Dist: apache-airflow-providers-common-compat==1.10.1; extra == "frozen"
104
+ Requires-Dist: apache-airflow-providers-celery==3.15.0; extra == "frozen"
105
+ Requires-Dist: apache-airflow-providers-common-compat==1.11.0; extra == "frozen"
106
106
  Requires-Dist: apache-airflow-providers-common-io==1.7.0; extra == "frozen"
107
- Requires-Dist: apache-airflow-providers-common-sql==1.30.1; extra == "frozen"
107
+ Requires-Dist: apache-airflow-providers-common-sql==1.30.2; extra == "frozen"
108
108
  Requires-Dist: apache-airflow-providers-fab==1.5.3; extra == "frozen"
109
109
  Requires-Dist: apache-airflow-providers-ftp==3.14.0; extra == "frozen"
110
- Requires-Dist: apache-airflow-providers-http==5.6.1; extra == "frozen"
111
- Requires-Dist: apache-airflow-providers-imap==3.10.1; extra == "frozen"
110
+ Requires-Dist: apache-airflow-providers-http==5.6.2; extra == "frozen"
111
+ Requires-Dist: apache-airflow-providers-imap==3.10.2; extra == "frozen"
112
112
  Requires-Dist: apache-airflow-providers-postgres==6.5.1; extra == "frozen"
113
113
  Requires-Dist: apache-airflow-providers-smtp==2.4.1; extra == "frozen"
114
114
  Requires-Dist: apache-airflow-providers-sqlite==4.2.0; extra == "frozen"
@@ -120,17 +120,17 @@ Requires-Dist: asdf_transform_schemas==0.6.0; extra == "frozen"
120
120
  Requires-Dist: asgiref==3.11.0; extra == "frozen"
121
121
  Requires-Dist: asteval==1.0.8; extra == "frozen"
122
122
  Requires-Dist: astropy==7.0.2; extra == "frozen"
123
- Requires-Dist: astropy-iers-data==0.2025.12.22.0.40.30; extra == "frozen"
123
+ Requires-Dist: astropy-iers-data==0.2026.1.5.0.43.43; extra == "frozen"
124
124
  Requires-Dist: asyncpg==0.31.0; extra == "frozen"
125
125
  Requires-Dist: attrs==25.4.0; extra == "frozen"
126
126
  Requires-Dist: babel==2.17.0; extra == "frozen"
127
127
  Requires-Dist: billiard==4.2.4; extra == "frozen"
128
128
  Requires-Dist: blinker==1.9.0; extra == "frozen"
129
- Requires-Dist: boto3==1.42.14; extra == "frozen"
130
- Requires-Dist: botocore==1.42.14; extra == "frozen"
129
+ Requires-Dist: boto3==1.42.24; extra == "frozen"
130
+ Requires-Dist: botocore==1.42.24; extra == "frozen"
131
131
  Requires-Dist: cachelib==0.13.0; extra == "frozen"
132
- Requires-Dist: celery==5.6.0; extra == "frozen"
133
- Requires-Dist: certifi==2025.11.12; extra == "frozen"
132
+ Requires-Dist: celery==5.6.2; extra == "frozen"
133
+ Requires-Dist: certifi==2026.1.4; extra == "frozen"
134
134
  Requires-Dist: cffi==2.0.0; extra == "frozen"
135
135
  Requires-Dist: charset-normalizer==3.4.4; extra == "frozen"
136
136
  Requires-Dist: click==8.3.1; extra == "frozen"
@@ -150,17 +150,16 @@ Requires-Dist: dacite==1.9.2; extra == "frozen"
150
150
  Requires-Dist: decorator==5.2.1; extra == "frozen"
151
151
  Requires-Dist: dill==0.4.0; extra == "frozen"
152
152
  Requires-Dist: dkist-header-validator==5.2.1; extra == "frozen"
153
- Requires-Dist: dkist-processing-common==11.9.2; extra == "frozen"
153
+ Requires-Dist: dkist-processing-common==11.9.3; extra == "frozen"
154
154
  Requires-Dist: dkist-processing-core==6.0.1; extra == "frozen"
155
155
  Requires-Dist: dkist-processing-math==2.2.1; extra == "frozen"
156
156
  Requires-Dist: dkist-processing-pac==3.1.1; extra == "frozen"
157
- Requires-Dist: dkist-processing-visp==5.2.3; extra == "frozen"
157
+ Requires-Dist: dkist-processing-visp==5.2.4; extra == "frozen"
158
158
  Requires-Dist: dkist-service-configuration==4.1.13; extra == "frozen"
159
159
  Requires-Dist: dkist-spectral-lines==3.0.0; extra == "frozen"
160
160
  Requires-Dist: dkist_fits_specifications==4.19.0; extra == "frozen"
161
161
  Requires-Dist: dnspython==2.8.0; extra == "frozen"
162
162
  Requires-Dist: email-validator==2.3.0; extra == "frozen"
163
- Requires-Dist: exceptiongroup==1.3.1; extra == "frozen"
164
163
  Requires-Dist: fastjsonschema==2.21.2; extra == "frozen"
165
164
  Requires-Dist: flower==2.0.1; extra == "frozen"
166
165
  Requires-Dist: fonttools==4.61.1; extra == "frozen"
@@ -170,6 +169,7 @@ Requires-Dist: globus-sdk==4.3.0; extra == "frozen"
170
169
  Requires-Dist: google-re2==1.1.20251105; extra == "frozen"
171
170
  Requires-Dist: googleapis-common-protos==1.72.0; extra == "frozen"
172
171
  Requires-Dist: gqlclient==1.2.3; extra == "frozen"
172
+ Requires-Dist: greenlet==3.3.0; extra == "frozen"
173
173
  Requires-Dist: grpcio==1.76.0; extra == "frozen"
174
174
  Requires-Dist: gunicorn==23.0.0; extra == "frozen"
175
175
  Requires-Dist: h11==0.16.0; extra == "frozen"
@@ -183,11 +183,11 @@ Requires-Dist: inflection==0.5.1; extra == "frozen"
183
183
  Requires-Dist: itsdangerous==2.2.0; extra == "frozen"
184
184
  Requires-Dist: jmespath==1.0.1; extra == "frozen"
185
185
  Requires-Dist: joblib==1.5.3; extra == "frozen"
186
- Requires-Dist: jsonschema==4.25.1; extra == "frozen"
186
+ Requires-Dist: jsonschema==4.26.0; extra == "frozen"
187
187
  Requires-Dist: jsonschema-specifications==2025.9.1; extra == "frozen"
188
188
  Requires-Dist: jupyter_core==5.9.1; extra == "frozen"
189
189
  Requires-Dist: kiwisolver==1.4.9; extra == "frozen"
190
- Requires-Dist: kombu==5.6.1; extra == "frozen"
190
+ Requires-Dist: kombu==5.6.2; extra == "frozen"
191
191
  Requires-Dist: lazy-object-proxy==1.12.0; extra == "frozen"
192
192
  Requires-Dist: lazy_loader==0.4; extra == "frozen"
193
193
  Requires-Dist: limits==5.6.0; extra == "frozen"
@@ -239,7 +239,7 @@ Requires-Dist: packaging==25.0; extra == "frozen"
239
239
  Requires-Dist: pandas==2.3.3; extra == "frozen"
240
240
  Requires-Dist: parfive==2.2.0; extra == "frozen"
241
241
  Requires-Dist: pathlib_abc==0.5.2; extra == "frozen"
242
- Requires-Dist: pathspec==0.12.1; extra == "frozen"
242
+ Requires-Dist: pathspec==1.0.1; extra == "frozen"
243
243
  Requires-Dist: pendulum==3.1.0; extra == "frozen"
244
244
  Requires-Dist: pika==1.3.2; extra == "frozen"
245
245
  Requires-Dist: pillow==10.4.0; extra == "frozen"
@@ -253,14 +253,14 @@ Requires-Dist: prometheus_client==0.23.1; extra == "frozen"
253
253
  Requires-Dist: prompt_toolkit==3.0.52; extra == "frozen"
254
254
  Requires-Dist: propcache==0.4.1; extra == "frozen"
255
255
  Requires-Dist: protobuf==6.33.2; extra == "frozen"
256
- Requires-Dist: psutil==7.1.3; extra == "frozen"
256
+ Requires-Dist: psutil==7.2.1; extra == "frozen"
257
257
  Requires-Dist: psycopg2-binary==2.9.11; extra == "frozen"
258
258
  Requires-Dist: pycparser==2.23; extra == "frozen"
259
259
  Requires-Dist: pydantic==2.12.5; extra == "frozen"
260
260
  Requires-Dist: pydantic-settings==2.12.0; extra == "frozen"
261
261
  Requires-Dist: pydantic_core==2.41.5; extra == "frozen"
262
262
  Requires-Dist: pyerfa==2.0.1.5; extra == "frozen"
263
- Requires-Dist: pyparsing==3.3.0; extra == "frozen"
263
+ Requires-Dist: pyparsing==3.3.1; extra == "frozen"
264
264
  Requires-Dist: python-daemon==3.1.2; extra == "frozen"
265
265
  Requires-Dist: python-dateutil==2.9.0.post0; extra == "frozen"
266
266
  Requires-Dist: python-dotenv==1.2.1; extra == "frozen"
@@ -289,7 +289,7 @@ Requires-Dist: sunpy==6.1.1; extra == "frozen"
289
289
  Requires-Dist: tabulate==0.9.0; extra == "frozen"
290
290
  Requires-Dist: talus==1.3.4; extra == "frozen"
291
291
  Requires-Dist: tenacity==8.5.0; extra == "frozen"
292
- Requires-Dist: termcolor==3.2.0; extra == "frozen"
292
+ Requires-Dist: termcolor==3.3.0; extra == "frozen"
293
293
  Requires-Dist: text-unidecode==1.3; extra == "frozen"
294
294
  Requires-Dist: threadpoolctl==3.6.0; extra == "frozen"
295
295
  Requires-Dist: tifffile==2025.12.20; extra == "frozen"
@@ -303,7 +303,7 @@ Requires-Dist: tzlocal==5.3.1; extra == "frozen"
303
303
  Requires-Dist: uc-micro-py==1.0.3; extra == "frozen"
304
304
  Requires-Dist: uncertainties==3.2.3; extra == "frozen"
305
305
  Requires-Dist: universal_pathlib==0.3.7; extra == "frozen"
306
- Requires-Dist: urllib3==2.6.2; extra == "frozen"
306
+ Requires-Dist: urllib3==2.6.3; extra == "frozen"
307
307
  Requires-Dist: vine==5.1.0; extra == "frozen"
308
308
  Requires-Dist: voluptuous==0.16.0; extra == "frozen"
309
309
  Requires-Dist: wcwidth==0.2.14; extra == "frozen"
@@ -84,14 +84,14 @@ docs/l0_to_l1_visp.rst,sha256=wE1TT7DD93r3kByaFAaT2HO907pjV4YrJ_fzvJFTchw,623
84
84
  docs/l0_to_l1_visp_full-trial.rst,sha256=Y6YLkRA5b0tgui5l_WdthCx2wrXjLD8U97XKZHXVVBk,558
85
85
  docs/landing_page.rst,sha256=tdxWtmGjO7OUPYvRjgBAI461nubEE61HrtBwPdBeawI,1052
86
86
  docs/make.bat,sha256=mBAhtURwhQ7yc95pqwJzlhqBSvRknr1aqZ5s8NKvdKs,4513
87
- docs/polarization_calibration.rst,sha256=fYdB_FYB7NjvknuQIa3EGc4ZWjeUaBkkeRb8Y1bGihk,5068
87
+ docs/polarization_calibration.rst,sha256=iPs-ichH7_m-_7_sisZNwv2X5H5CjIOaEe4-FiU4C18,6233
88
88
  docs/requirements.txt,sha256=Kbl_X4c7RQZw035YTeNB63We6I7pvXFU4T0Uflp2yDY,29
89
89
  docs/requirements_table.rst,sha256=_HIbwFpDooM5n0JjiDAbFozGfJuX13smtcoujLFN4Gk,292
90
90
  docs/science_calibration.rst,sha256=VN_g7xSjN-nbXhlBaFnPCbNcsc_Qu0207jEUfRAjnBE,2939
91
91
  docs/scientific_changelog.rst,sha256=01AWBSHg8zElnodCgAq-hMxhk9CkX5rtEENx4iz0sjI,300
92
92
  docs/wavelength_calibration.rst,sha256=OSGYAeR8Acns2ZUectHzRj2xcAsuNEMLejcYfPYu-vw,3674
93
93
  licenses/LICENSE.rst,sha256=piZaQplkzOMmH1NXg6QIdo9wwo9pPCoHkvm2-DmH76E,1462
94
- dkist_processing_visp-5.2.3.dist-info/METADATA,sha256=ApkJp3pja5yuHGsSm2MJ151jW_4Q9095GLR8mW56IY0,29973
95
- dkist_processing_visp-5.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
96
- dkist_processing_visp-5.2.3.dist-info/top_level.txt,sha256=9GHSn-ZMGQxaRNGrPP3HNc5ZkE7ftzluO74Jz5vUSTE,46
97
- dkist_processing_visp-5.2.3.dist-info/RECORD,,
94
+ dkist_processing_visp-5.2.4.dist-info/METADATA,sha256=ECnvVPk_MfVjkj1wywJO_jZeG7LucYyiaoArRuO0bm4,29962
95
+ dkist_processing_visp-5.2.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
96
+ dkist_processing_visp-5.2.4.dist-info/top_level.txt,sha256=9GHSn-ZMGQxaRNGrPP3HNc5ZkE7ftzluO74Jz5vUSTE,46
97
+ dkist_processing_visp-5.2.4.dist-info/RECORD,,
@@ -40,8 +40,9 @@ Algorithm Detail
40
40
 
41
41
  The general algorithm is:
42
42
 
43
- #. Correct input PolCal data with dark, :doc:`background <background_light>`, :doc:`gain </gain_correction>`, and
44
- :doc:`geometric </geometric>` calibrations.
43
+ #. Generate polcal dark and gain frames.
44
+
45
+ #. Correct input PolCal data with darks and gains taken as part of the instrument polarization sequence, as well as any :doc:`background light <background_light>` correction, if applicable.
45
46
 
46
47
  #. Bin "global" and "local" sets of polcal data.
47
48
 
@@ -51,11 +52,29 @@ The general algorithm is:
51
52
 
52
53
  #. Up-sample the binned demodulation matrices to span the full ViSP FOV.
53
54
 
54
- Calibrate Input PoCal Data
55
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
55
+ Generate PolCal Dark and Gain Frames
56
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
57
+
58
+ PolCal data are reduced using darks and gains taken as part of the PolCal sequence.
59
+
60
+ This approach ensures that PolCal data are always reducible, even in cases where the exposure times of observe darks and PolCal darks differ due to experimental setup errors.
61
+ For consistency with other spectro-polarimetric instruments, it is important that the observe darks and PolCal darks have matching
62
+ exposure times (or at least matching frame and single frame exposure times). Using PolCal darks guarantees that the PolCal data can
63
+ always be properly reduced, regardless of such discrepancies.
64
+
65
+
66
+ For gain correction, the average of the dark-corrected
67
+ 'clear' PolCal frames is used. This change ensures that spectral line signatures are largely removed from the data, preventing bias
68
+ in the median value calculated across the spectral axis. The same average clear frame is applied to all PolCal data through division,
69
+ and to all modulation states identically, preserving relative flux changes between states. With this approach, a separate gain
70
+ array is not necessary.
71
+
72
+
73
+ Calibrate Input PolCal Data
74
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
56
75
 
57
- PoCal data are calibration in exactly the same way as input science data. They first have dark and background signals
58
- removed, then are normalized by a gain image before finally having their :doc:`geometric </geometric>` distortions
76
+ PoCal data first have PolCal dark and background signals
77
+ removed, then are normalized by the average PolCal gain image before finally having their :doc:`geometric </geometric>` distortions
59
78
  (spectral rotation, x/y offset, and spectral curvature) removed.
60
79
 
61
80
  Bin PolCal Data