dkist-processing-common 11.2.1rc1__py3-none-any.whl → 11.2.1rc3__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.
- dkist_processing_common/tasks/mixin/quality/_metrics.py +13 -3
- dkist_processing_common/tests/test_quality_mixin.py +10 -3
- {dkist_processing_common-11.2.1rc1.dist-info → dkist_processing_common-11.2.1rc3.dist-info}/METADATA +1 -1
- {dkist_processing_common-11.2.1rc1.dist-info → dkist_processing_common-11.2.1rc3.dist-info}/RECORD +6 -6
- {dkist_processing_common-11.2.1rc1.dist-info → dkist_processing_common-11.2.1rc3.dist-info}/WHEEL +0 -0
- {dkist_processing_common-11.2.1rc1.dist-info → dkist_processing_common-11.2.1rc3.dist-info}/top_level.txt +0 -0
|
@@ -1401,10 +1401,20 @@ class _WavecalQualityMixin:
|
|
|
1401
1401
|
"Input Spectrum": [input_wave_list, input_spectrum_list],
|
|
1402
1402
|
"Best Fit Atlas": [best_fit_wave_list, best_fit_atlas_list],
|
|
1403
1403
|
}
|
|
1404
|
+
|
|
1405
|
+
# Set the colors and zorder here manually because the JSON-ization of the quality data means we can't be sure of
|
|
1406
|
+
# the order these will be plotted in and thus can't rely on the default color-cycler in `dkist-quality`.
|
|
1404
1407
|
fit_plot_kwargs = {
|
|
1405
|
-
"Best Fit Observations": {
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
+
"Best Fit Observations": {
|
|
1409
|
+
"ls": "-",
|
|
1410
|
+
"lw": 4,
|
|
1411
|
+
"alpha": 0.8,
|
|
1412
|
+
"ms": 0,
|
|
1413
|
+
"color": "#FAA61C",
|
|
1414
|
+
"zorder": 2,
|
|
1415
|
+
},
|
|
1416
|
+
"Input Spectrum": {"ls": "-", "alpha": 0.4, "ms": 0, "color": "#1E317A", "zorder": 2.1},
|
|
1417
|
+
"Best Fit Atlas": {"color": "k", "ls": "-", "ms": 0, "zorder": 2.2},
|
|
1408
1418
|
}
|
|
1409
1419
|
|
|
1410
1420
|
fit_plot = Plot2D(
|
|
@@ -1339,9 +1339,16 @@ def test_build_wavecal_results(quality_task, wavecal_data_json):
|
|
|
1339
1339
|
"Best Fit Atlas": [[1001.5, 1002.6, 1003.7, 1004.8], [1.0, 1.0, 0.4, 1.0]],
|
|
1340
1340
|
}
|
|
1341
1341
|
assert fit_plot["plot_kwargs"] == {
|
|
1342
|
-
"Input Spectrum": {"ls": "-", "alpha": 0.4, "ms": 0},
|
|
1343
|
-
"Best Fit Observations": {
|
|
1344
|
-
|
|
1342
|
+
"Input Spectrum": {"ls": "-", "alpha": 0.4, "ms": 0, "color": "#1E317A", "zorder": 2.1},
|
|
1343
|
+
"Best Fit Observations": {
|
|
1344
|
+
"ls": "-",
|
|
1345
|
+
"lw": 4,
|
|
1346
|
+
"alpha": 0.8,
|
|
1347
|
+
"ms": 0,
|
|
1348
|
+
"color": "#FAA61C",
|
|
1349
|
+
"zorder": 2.0,
|
|
1350
|
+
},
|
|
1351
|
+
"Best Fit Atlas": {"color": "k", "ls": "-", "ms": 0, "zorder": 2.2},
|
|
1345
1352
|
}
|
|
1346
1353
|
|
|
1347
1354
|
residuals_plot = plot_list[1]
|
{dkist_processing_common-11.2.1rc1.dist-info → dkist_processing_common-11.2.1rc3.dist-info}/RECORD
RENAMED
|
@@ -72,7 +72,7 @@ dkist_processing_common/tasks/mixin/metadata_store.py,sha256=jD7UYnua2nmjYZP7sBc
|
|
|
72
72
|
dkist_processing_common/tasks/mixin/object_store.py,sha256=Vn4l2XuCimii9Fc3gM-pQGIkTKMv_ldqljlxkLesZLU,3236
|
|
73
73
|
dkist_processing_common/tasks/mixin/quality/__init__.py,sha256=Bgu-DHW7yXLiehglldOCWluEkAP5qh0Hp1F30rh5NFw,383
|
|
74
74
|
dkist_processing_common/tasks/mixin/quality/_base.py,sha256=U1AEhj6OtF4YEdTkKWcgmoH6zrz6tYNjNXnmVU24L70,8491
|
|
75
|
-
dkist_processing_common/tasks/mixin/quality/_metrics.py,sha256=
|
|
75
|
+
dkist_processing_common/tasks/mixin/quality/_metrics.py,sha256=g2iGGi2d_o2qEKWhNGZFq1XLHDhcgwYUhVJ1MfKJTcA,60625
|
|
76
76
|
dkist_processing_common/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
77
77
|
dkist_processing_common/tests/conftest.py,sha256=xTmu87MZSPIcucg9UCH88OimdqgjE5VSc-n-fSFbtjI,22319
|
|
78
78
|
dkist_processing_common/tests/mock_metadata_store.py,sha256=ZVxAtVoW8ayEceafeR8yJbGdFZsw13Eyf1Z2-rwGZDM,8260
|
|
@@ -95,7 +95,7 @@ dkist_processing_common/tests/test_parameters.py,sha256=kNzX89vfrNRJ8d9rusMVv4DM
|
|
|
95
95
|
dkist_processing_common/tests/test_parse_l0_input_data.py,sha256=SMNV1qyQTvnMx94MCNsiA-RyS9uxaxIABEDDxsuVzqY,10629
|
|
96
96
|
dkist_processing_common/tests/test_publish_catalog_messages.py,sha256=l6Wga1s2wNBIf4wGZ78ZIO_rtqjdidmtvlN9nMnQUAs,3222
|
|
97
97
|
dkist_processing_common/tests/test_quality.py,sha256=vomy2YSPadKqJj2tG8sCs-UkQVvfKus7Cum7_Hpee4I,10257
|
|
98
|
-
dkist_processing_common/tests/test_quality_mixin.py,sha256=
|
|
98
|
+
dkist_processing_common/tests/test_quality_mixin.py,sha256=qanm3SXEiLb0OJDawbh8ixVAG9uRglFMzwxTeYxkDsM,55369
|
|
99
99
|
dkist_processing_common/tests/test_scratch.py,sha256=7f28FMiSskSNX-bkRSrpJf2u1HQIbSvYajbjkeGMF9s,16481
|
|
100
100
|
dkist_processing_common/tests/test_stems.py,sha256=ini5dylLT5ioWKKWd1uu6kwx8Tf3aEnKKaGjf46a_GI,32649
|
|
101
101
|
dkist_processing_common/tests/test_submit_dataset_metadata.py,sha256=LHEyjoIxJHXXssqKkr8Qn1NzzHD1FLJiD3lP8yaLiXU,3764
|
|
@@ -117,7 +117,7 @@ docs/landing_page.rst,sha256=aPAuXFhBx73lEZ59B6E6JXxkK0LlxzD0n-HXqHrfumQ,746
|
|
|
117
117
|
docs/make.bat,sha256=mBAhtURwhQ7yc95pqwJzlhqBSvRknr1aqZ5s8NKvdKs,4513
|
|
118
118
|
docs/requirements.txt,sha256=Kbl_X4c7RQZw035YTeNB63We6I7pvXFU4T0Uflp2yDY,29
|
|
119
119
|
licenses/LICENSE.rst,sha256=piZaQplkzOMmH1NXg6QIdo9wwo9pPCoHkvm2-DmH76E,1462
|
|
120
|
-
dkist_processing_common-11.2.
|
|
121
|
-
dkist_processing_common-11.2.
|
|
122
|
-
dkist_processing_common-11.2.
|
|
123
|
-
dkist_processing_common-11.2.
|
|
120
|
+
dkist_processing_common-11.2.1rc3.dist-info/METADATA,sha256=pRBsBOzyHQUd_9rKhw5RA6npIzbb1K40c9rlGQaLPCc,7207
|
|
121
|
+
dkist_processing_common-11.2.1rc3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
122
|
+
dkist_processing_common-11.2.1rc3.dist-info/top_level.txt,sha256=LJhd1W-Vn90K8HnQDIE4r52YDpUjjMWDnllAWHBByW0,48
|
|
123
|
+
dkist_processing_common-11.2.1rc3.dist-info/RECORD,,
|
{dkist_processing_common-11.2.1rc1.dist-info → dkist_processing_common-11.2.1rc3.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|