dkist-processing-dlnirsp 0.32.4__py3-none-any.whl → 0.32.5__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_dlnirsp/models/fits_access.py +0 -2
- dkist_processing_dlnirsp/tasks/linearity_correction.py +4 -2
- dkist_processing_dlnirsp/tasks/wavelength_calibration.py +0 -3
- {dkist_processing_dlnirsp-0.32.4.dist-info → dkist_processing_dlnirsp-0.32.5.dist-info}/METADATA +8 -8
- {dkist_processing_dlnirsp-0.32.4.dist-info → dkist_processing_dlnirsp-0.32.5.dist-info}/RECORD +10 -10
- docs/linearization.rst +2 -1
- docs/wavelength_calibration.rst +2 -2
- {dkist_processing_dlnirsp-0.32.4.dist-info → dkist_processing_dlnirsp-0.32.5.dist-info}/WHEEL +0 -0
- {dkist_processing_dlnirsp-0.32.4.dist-info → dkist_processing_dlnirsp-0.32.5.dist-info}/entry_points.txt +0 -0
- {dkist_processing_dlnirsp-0.32.4.dist-info → dkist_processing_dlnirsp-0.32.5.dist-info}/top_level.txt +0 -0
|
@@ -182,13 +182,15 @@ class LinearityCorrection(DlnirspTaskBase):
|
|
|
182
182
|
r"""
|
|
183
183
|
Linearize a single coadd taken in "SubFrame" camera readout mode. This method applies to all modulator spin modes.
|
|
184
184
|
|
|
185
|
+
In "SubFrame" mode a single coadd contains a single read of the detector with no bias frames.
|
|
186
|
+
|
|
185
187
|
The final, linearized coadd, :math:`\mathrm{ADU}_{lin}` is
|
|
186
188
|
|
|
187
189
|
.. math::
|
|
188
|
-
\mathrm{ADU}_{lin} = f(\mathrm{ADU}_{raw
|
|
190
|
+
\mathrm{ADU}_{lin} = f(\mathrm{ADU}_{raw})
|
|
189
191
|
|
|
190
192
|
where :math:`f(x)` is the `correction polynomial <apply_correction_polynomial>` and
|
|
191
|
-
:math:`\mathrm{ADU}_{raw
|
|
193
|
+
:math:`\mathrm{ADU}_{raw}` is the single read frame in the coadd.
|
|
192
194
|
"""
|
|
193
195
|
# Need to cast as float because raw are uint16 and will thus explode for values below 0
|
|
194
196
|
last_read = coadd_obj_list[-1].data.astype(float)
|
|
@@ -4,12 +4,10 @@ import astropy.units as u
|
|
|
4
4
|
import numpy as np
|
|
5
5
|
from astropy.convolution import convolve_fft
|
|
6
6
|
from astropy.convolution import interpolate_replace_nans
|
|
7
|
-
from astropy.coordinates import EarthLocation
|
|
8
7
|
from astropy.time import Time
|
|
9
8
|
from astropy.units import Quantity
|
|
10
9
|
from astropy.wcs import WCS
|
|
11
10
|
from dkist_processing_common.codecs.asdf import asdf_decoder
|
|
12
|
-
from dkist_processing_common.codecs.asdf import asdf_encoder
|
|
13
11
|
from dkist_processing_common.codecs.fits import fits_array_decoder
|
|
14
12
|
from dkist_processing_common.codecs.json import json_decoder
|
|
15
13
|
from dkist_processing_common.codecs.json import json_encoder
|
|
@@ -178,7 +176,6 @@ class WavelengthCalibration(DlnirspTaskBase, CorrectionsMixin, QualityMixin):
|
|
|
178
176
|
|
|
179
177
|
with self.telemetry_span("Run wavelength solution fit"):
|
|
180
178
|
fit_result = fitter(
|
|
181
|
-
input_wavelength_vector=input_wavelength_vector,
|
|
182
179
|
input_spectrum=input_spectrum,
|
|
183
180
|
method="leastsq",
|
|
184
181
|
)
|
{dkist_processing_dlnirsp-0.32.4.dist-info → dkist_processing_dlnirsp-0.32.5.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dkist-processing-dlnirsp
|
|
3
|
-
Version: 0.32.
|
|
3
|
+
Version: 0.32.5
|
|
4
4
|
Summary: Science processing code for the DLNIRSP 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.8.
|
|
16
|
+
Requires-Dist: dkist-processing-common==11.8.1
|
|
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
|
|
@@ -28,7 +28,7 @@ Requires-Dist: peakutils==1.3.5
|
|
|
28
28
|
Requires-Dist: sunpy==6.1.1
|
|
29
29
|
Requires-Dist: moviepy==2.1.2
|
|
30
30
|
Requires-Dist: asdf==3.5.0
|
|
31
|
-
Requires-Dist: solar-wavelength-calibration==
|
|
31
|
+
Requires-Dist: solar-wavelength-calibration==2.0.0
|
|
32
32
|
Provides-Extra: test
|
|
33
33
|
Requires-Dist: pytest; extra == "test"
|
|
34
34
|
Requires-Dist: pytest-cov; extra == "test"
|
|
@@ -124,8 +124,8 @@ Requires-Dist: attrs==25.4.0; extra == "frozen"
|
|
|
124
124
|
Requires-Dist: babel==2.17.0; extra == "frozen"
|
|
125
125
|
Requires-Dist: billiard==4.2.4; extra == "frozen"
|
|
126
126
|
Requires-Dist: blinker==1.9.0; extra == "frozen"
|
|
127
|
-
Requires-Dist: boto3==1.42.
|
|
128
|
-
Requires-Dist: botocore==1.
|
|
127
|
+
Requires-Dist: boto3==1.42.1; extra == "frozen"
|
|
128
|
+
Requires-Dist: botocore==1.42.1; extra == "frozen"
|
|
129
129
|
Requires-Dist: cachelib==0.13.0; extra == "frozen"
|
|
130
130
|
Requires-Dist: celery==5.6.0; extra == "frozen"
|
|
131
131
|
Requires-Dist: certifi==2025.11.12; extra == "frozen"
|
|
@@ -148,9 +148,9 @@ Requires-Dist: dacite==1.9.2; extra == "frozen"
|
|
|
148
148
|
Requires-Dist: decorator==5.2.1; extra == "frozen"
|
|
149
149
|
Requires-Dist: dill==0.4.0; extra == "frozen"
|
|
150
150
|
Requires-Dist: dkist-header-validator==5.2.1; extra == "frozen"
|
|
151
|
-
Requires-Dist: dkist-processing-common==11.8.
|
|
151
|
+
Requires-Dist: dkist-processing-common==11.8.1; extra == "frozen"
|
|
152
152
|
Requires-Dist: dkist-processing-core==6.0.0; extra == "frozen"
|
|
153
|
-
Requires-Dist: dkist-processing-dlnirsp==0.32.
|
|
153
|
+
Requires-Dist: dkist-processing-dlnirsp==0.32.5; extra == "frozen"
|
|
154
154
|
Requires-Dist: dkist-processing-math==2.2.1; extra == "frozen"
|
|
155
155
|
Requires-Dist: dkist-processing-pac==3.1.1; extra == "frozen"
|
|
156
156
|
Requires-Dist: dkist-service-configuration==4.1.7; extra == "frozen"
|
|
@@ -281,7 +281,7 @@ Requires-Dist: scipy==1.15.3; extra == "frozen"
|
|
|
281
281
|
Requires-Dist: semantic-version==2.10.0; extra == "frozen"
|
|
282
282
|
Requires-Dist: setproctitle==1.3.7; extra == "frozen"
|
|
283
283
|
Requires-Dist: six==1.17.0; extra == "frozen"
|
|
284
|
-
Requires-Dist: solar-wavelength-calibration==
|
|
284
|
+
Requires-Dist: solar-wavelength-calibration==2.0.0; extra == "frozen"
|
|
285
285
|
Requires-Dist: sqids==0.5.1; extra == "frozen"
|
|
286
286
|
Requires-Dist: sqlparse==0.5.4; extra == "frozen"
|
|
287
287
|
Requires-Dist: sunpy==6.1.1; extra == "frozen"
|
{dkist_processing_dlnirsp-0.32.4.dist-info → dkist_processing_dlnirsp-0.32.5.dist-info}/RECORD
RENAMED
|
@@ -5,7 +5,7 @@ dkist_processing_dlnirsp/dev_scripts/__init__.py,sha256=tITkbcFg1a-24sdFaWK8OyLr
|
|
|
5
5
|
dkist_processing_dlnirsp/dev_scripts/test_slitbeam_group_assignment.py,sha256=ac-8G-P2L_xW6m3tOooFlHs1N5_C6F_7k2VAU2a9_1A,4171
|
|
6
6
|
dkist_processing_dlnirsp/models/__init__.py,sha256=ItaZgbjndT5uwEv2YDQZCVAHGbiB_sjzkX8MMbIgcSo,45
|
|
7
7
|
dkist_processing_dlnirsp/models/constants.py,sha256=0TV_K6WbvUlDQdNRxx_qblQ_dwN7RGU7ng2iDOBQedo,6386
|
|
8
|
-
dkist_processing_dlnirsp/models/fits_access.py,sha256=
|
|
8
|
+
dkist_processing_dlnirsp/models/fits_access.py,sha256=5HH8NM2tAh63Aauy6oCXKJGJ2AbQPBP5L1DitVfFEs0,895
|
|
9
9
|
dkist_processing_dlnirsp/models/parameters.py,sha256=PsaZSNE4Uyov1xGMqRqh6kb5F8NnDDm3QRHkoiDAsYY,15812
|
|
10
10
|
dkist_processing_dlnirsp/models/tags.py,sha256=xD_XaCjMXmd70P0FoHy92XSdlabIk07RGVEyFpXpGfM,5791
|
|
11
11
|
dkist_processing_dlnirsp/models/task_name.py,sha256=LmEoI_h4UecvIMGcO5U8mGTqfToPjABuFbsYkC_rZyw,506
|
|
@@ -27,13 +27,13 @@ dkist_processing_dlnirsp/tasks/ifu_drift.py,sha256=JeFgl6uk6lYU4jJ-gBYtRESyUa9mb
|
|
|
27
27
|
dkist_processing_dlnirsp/tasks/instrument_polarization.py,sha256=G79qXg1080zsd8ZwwYSSupUGWPRNBevyag49H32gh60,28201
|
|
28
28
|
dkist_processing_dlnirsp/tasks/l1_output_data.py,sha256=Psta0476jih-cfmpdnzmquys030sW4f4VX6ksAb-g1o,465
|
|
29
29
|
dkist_processing_dlnirsp/tasks/lamp.py,sha256=twoMHMnE2jm2OYxkeHFcjqcyQYVtEjSU2_z2mmn3Ybs,5390
|
|
30
|
-
dkist_processing_dlnirsp/tasks/linearity_correction.py,sha256=
|
|
30
|
+
dkist_processing_dlnirsp/tasks/linearity_correction.py,sha256=z3MpWHp0lZYB2zrfHfH7HlcKoro6TPxwEN8rpqVv08c,22716
|
|
31
31
|
dkist_processing_dlnirsp/tasks/make_movie_frames.py,sha256=zxyAWNnPFbG7jpUEe3ekRyJGjk706T9a-yiA3eoWi5M,6290
|
|
32
32
|
dkist_processing_dlnirsp/tasks/parse.py,sha256=ZtqM6dyxxnnbVTAun040EuxfQZEQcnkXzZffXSBTYkk,10919
|
|
33
33
|
dkist_processing_dlnirsp/tasks/quality_metrics.py,sha256=1ScLAinv3WG-0M7u_26gnogbJ_D84K9CP7eRvEuwb9E,7346
|
|
34
34
|
dkist_processing_dlnirsp/tasks/science.py,sha256=sNI4AYO10qe3JL62KWXR87MnfX9m85Jo4_PkQ0qd5TQ,35737
|
|
35
35
|
dkist_processing_dlnirsp/tasks/solar.py,sha256=NyLYkRophfXaVtvnGuNEvkcE8JNcmCJVuobNYAZ7KjQ,11135
|
|
36
|
-
dkist_processing_dlnirsp/tasks/wavelength_calibration.py,sha256=
|
|
36
|
+
dkist_processing_dlnirsp/tasks/wavelength_calibration.py,sha256=QhFlbX8h9UqkK2vx779nK6LBksp2P2yPqhAxrwcuJ4o,16851
|
|
37
37
|
dkist_processing_dlnirsp/tasks/write_l1.py,sha256=Smd9Fzp3Kx4F3nHYJJRAXqNy9n71TsYovuvFjLcUYs4,9732
|
|
38
38
|
dkist_processing_dlnirsp/tasks/mixin/__init__.py,sha256=5PMbkD6K0zTfhCxv8vg2lvJCNP81qItJ_R_7Yy3Mpwc,26
|
|
39
39
|
dkist_processing_dlnirsp/tasks/mixin/corrections.py,sha256=MRZXCEc0KBE-9cQUpRP-K3ioDYRH8_ORFlJcH2SsmWA,6803
|
|
@@ -86,16 +86,16 @@ docs/index.rst,sha256=c2KAA_icOw7Ao3rWVv7lRBTEZ-9JWidL615Xrt6fSq4,378
|
|
|
86
86
|
docs/l0_to_l1_dlnirsp.rst,sha256=94gxaVBIIR9ljJBDAhZyViwbNUuHTaIwTuxBgSnsh60,630
|
|
87
87
|
docs/l0_to_l1_dlnirsp_full-trial.rst,sha256=ZUs2RCqlklRKq6B64H-RymiY_JH9xjHp4msl-9bIOpM,561
|
|
88
88
|
docs/landing_page.rst,sha256=py2OrDVuT_gZtTOzrt-8HI-PG6hO3jhM4BRxMLoMHQo,1058
|
|
89
|
-
docs/linearization.rst,sha256=
|
|
89
|
+
docs/linearization.rst,sha256=NFdOoeoUtmWjvcX6IL_NsJ-bbbGNkCKLew8nag-pC_I,4131
|
|
90
90
|
docs/make.bat,sha256=mBAhtURwhQ7yc95pqwJzlhqBSvRknr1aqZ5s8NKvdKs,4513
|
|
91
91
|
docs/polarization_calibration.rst,sha256=vJuRGfJlTEzFxUwabyuWXchXswKoqgg23_ch31Y-eb4,5174
|
|
92
92
|
docs/requirements_table.rst,sha256=6HeQU9qSmYf_gL04YVGlcP7M6P8RGPw481n9eYWB32s,295
|
|
93
93
|
docs/science_calibration.rst,sha256=JUMeS7KyIsL9cUuy-IdV2tQ-wQ2lBx6j8u_51ThJzVg,3661
|
|
94
94
|
docs/scientific_changelog.rst,sha256=01AWBSHg8zElnodCgAq-hMxhk9CkX5rtEENx4iz0sjI,300
|
|
95
|
-
docs/wavelength_calibration.rst,sha256=
|
|
95
|
+
docs/wavelength_calibration.rst,sha256=QGUd5Xmv5f7WQ1EKvw2CcgiMJQULjzdCW1hSQ8h8jj0,4123
|
|
96
96
|
licenses/LICENSE.rst,sha256=piZaQplkzOMmH1NXg6QIdo9wwo9pPCoHkvm2-DmH76E,1462
|
|
97
|
-
dkist_processing_dlnirsp-0.32.
|
|
98
|
-
dkist_processing_dlnirsp-0.32.
|
|
99
|
-
dkist_processing_dlnirsp-0.32.
|
|
100
|
-
dkist_processing_dlnirsp-0.32.
|
|
101
|
-
dkist_processing_dlnirsp-0.32.
|
|
97
|
+
dkist_processing_dlnirsp-0.32.5.dist-info/METADATA,sha256=R76N0MRQdWzBQkqlxfJyJu7xaXB-gbvPKi-bUri5uuM,29368
|
|
98
|
+
dkist_processing_dlnirsp-0.32.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
99
|
+
dkist_processing_dlnirsp-0.32.5.dist-info/entry_points.txt,sha256=p4-7cpIfxmQGFUDIP5n5noE5KADHN2-JvV03e0gOx9s,140
|
|
100
|
+
dkist_processing_dlnirsp-0.32.5.dist-info/top_level.txt,sha256=4WmLV9LQM78KTFnkHmtaOJvVHAPpz0m9ruzDS-B_cUo,49
|
|
101
|
+
dkist_processing_dlnirsp-0.32.5.dist-info/RECORD,,
|
docs/linearization.rst
CHANGED
|
@@ -59,5 +59,6 @@ SubFrame
|
|
|
59
59
|
|
|
60
60
|
See `~dkist_processing_dlnirsp.tasks.linearity_correction.LinearityCorrection.linearize_subframe_coadd` for a more detailed description.
|
|
61
61
|
|
|
62
|
-
In this mode
|
|
62
|
+
In this mode each coadd is a single read of the detector and there are no bias frames.
|
|
63
|
+
Thus, the linearized value of each coadd is simply the value of the single read.
|
|
63
64
|
If a ramp contains multiple coadds then they are averaged together to produce the linearized frame.
|
docs/wavelength_calibration.rst
CHANGED
|
@@ -13,9 +13,9 @@ are:
|
|
|
13
13
|
|
|
14
14
|
#. Compute a representative spectrum by taking a spatial average near the center of the FOV of an average of all solar gain images.
|
|
15
15
|
|
|
16
|
-
#. Use the L0 headers to
|
|
16
|
+
#. Use information in the L0 headers to describe the spectrograph setup used during data acquisition.
|
|
17
17
|
|
|
18
|
-
#. Feed both the representative spectrum and
|
|
18
|
+
#. Feed both the representative spectrum and spectrograph information into the `solar-wavelength-calibration <https://docs.dkist.nso.edu/projects/solar-wavelength-calibration/en/latest/>`_ library.
|
|
19
19
|
|
|
20
20
|
#. Save the fit result as a set of header values that parameterize the solution (see below).
|
|
21
21
|
|
{dkist_processing_dlnirsp-0.32.4.dist-info → dkist_processing_dlnirsp-0.32.5.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|