dkist-processing-cryonirsp 1.4.7rc2__py3-none-any.whl → 1.4.9__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.

Potentially problematic release.


This version of dkist-processing-cryonirsp might be problematic. Click here for more details.

@@ -96,7 +96,8 @@ class CryonirspL0FitsAccess(L0FitsAccess):
96
96
  )
97
97
  self.grating_position_deg: float = self.header["CNGRTPOS"]
98
98
  self.grating_littrow_angle_deg: float = self.header["CNGRTLAT"]
99
- self.grating_constant: float = self.header["CNGRTCON"]
99
+ # grating_constant is in the L0 header in (mm)^(-1) when needed in (m)^(-1) hence multiply by 1000.
100
+ self.grating_constant: float = self.header["CNGRTCON"] * 1000
100
101
  self.obs_ip_start_time = self.header["DKIST011"]
101
102
  # The ExposureConditions are a combination of the exposure time and the OD filter name:
102
103
  self.exposure_conditions = ExposureConditions(
@@ -161,7 +161,7 @@ class SPDispersionAxisCorrection(CryonirspTaskBase, InputDatasetMixin):
161
161
  grating_littrow_angle_theta = np.deg2rad(self.constants.grating_littrow_angle_deg)
162
162
  alpha = grating_position_angle_phi + grating_littrow_angle_theta
163
163
  beta = grating_position_angle_phi - grating_littrow_angle_theta
164
- grating_spacing_distance = (1.0 / self.constants.grating_constant) * u.millimeter
164
+ grating_spacing_distance = (1.0 / self.constants.grating_constant) * u.m
165
165
  order = int(grating_spacing_distance / wavelength * (np.sin(alpha) + np.sin(beta)))
166
166
  camera_mirror_focal_length = self.parameters.camera_mirror_focal_length_mm
167
167
  pixpitch = self.parameters.pixel_pitch_micron
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dkist-processing-cryonirsp
3
- Version: 1.4.7rc2
3
+ Version: 1.4.9
4
4
  Summary: Science processing code for the Cryo-NIRSP instrument on DKIST
5
5
  Author-email: NSO / AURA <dkistdc@nso.edu>
6
6
  License: BSD-3-Clause
@@ -17,9 +17,9 @@ Requires-Dist: Pillow==10.3.0
17
17
  Requires-Dist: astropy==6.1.0
18
18
  Requires-Dist: dkist-fits-specifications==4.10.0
19
19
  Requires-Dist: dkist-header-validator==5.1.1
20
- Requires-Dist: dkist-processing-common==v10.5.4rc3
21
- Requires-Dist: dkist-processing-math==2.1.1
22
- Requires-Dist: dkist-processing-pac==3.1.0
20
+ Requires-Dist: dkist-processing-common==10.5.5
21
+ Requires-Dist: dkist-processing-math==2.1.2
22
+ Requires-Dist: dkist-processing-pac==3.1.1
23
23
  Requires-Dist: dkist-spectral-lines==3.0.0
24
24
  Requires-Dist: largestinteriorrectangle==0.2.0
25
25
  Requires-Dist: dkist-service-configuration==2.2
@@ -43,16 +43,16 @@ Requires-Dist: dkist-processing-cryonirsp[asdf]; extra == "test"
43
43
  Requires-Dist: dkist-processing-cryonirsp[quality]; extra == "test"
44
44
  Provides-Extra: inventory
45
45
  Requires-Dist: dkist-processing-common[inventory]; extra == "inventory"
46
- Requires-Dist: dkist-inventory==1.4.4rc1; extra == "inventory"
46
+ Requires-Dist: dkist-inventory==1.4.4; extra == "inventory"
47
47
  Provides-Extra: asdf
48
48
  Requires-Dist: dkist-processing-common[asdf]; extra == "asdf"
49
- Requires-Dist: dkist-inventory[asdf]==1.4.4rc1; extra == "asdf"
49
+ Requires-Dist: dkist-inventory[asdf]==1.4.4; extra == "asdf"
50
50
  Provides-Extra: quality
51
- Requires-Dist: dkist-quality==v1.2.0rc1; extra == "quality"
51
+ Requires-Dist: dkist-quality==1.2.0; extra == "quality"
52
52
  Provides-Extra: grogu
53
53
  Requires-Dist: dkist; extra == "grogu"
54
54
  Requires-Dist: pyparsing; extra == "grogu"
55
- Requires-Dist: dkist-inventory>=1.4.4rc1; extra == "grogu"
55
+ Requires-Dist: dkist-inventory>=1.4.4; extra == "grogu"
56
56
  Provides-Extra: docs
57
57
  Requires-Dist: sphinx; extra == "docs"
58
58
  Requires-Dist: sphinx-astropy; extra == "docs"
@@ -88,7 +88,7 @@ e.g. dkist-processing-test -> dkist-processing-vbi and dkist_processing_test ->
88
88
 
89
89
  Deployment
90
90
  ----------
91
- Deployment is done with `turtlebot <https://bitbucket.org/dkistdc/turtlebot/src/master/>`_ and follows
91
+ Deployment is done with `turtlebot <https://bitbucket.org/dkistdc/turtlebot/src/main/>`_ and follows
92
92
  the process detailed in `dkist-processing-core <https://pypi.org/project/dkist-processing-core/>`_
93
93
 
94
94
  Environment Variables
@@ -1,5 +1,4 @@
1
1
  changelog/.gitempty,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- changelog/165.feature.rst,sha256=2twml6N6WK7w8xS6vSCpc4rrG5gEZ-2Xr9HSv_LwUsk,70
3
2
  dkist_processing_cryonirsp/__init__.py,sha256=Z6-kB7fXXUI-F7Vz1HnEaja2h8qgH9IZExRl1lUxvZg,350
4
3
  dkist_processing_cryonirsp/config.py,sha256=xNkUNJ1BeBxJX881mTCIEbirZlD5_5txpV1QqkbfRM0,507
5
4
  dkist_processing_cryonirsp/models/__init__.py,sha256=m6UekKftTahNJ3W5K3mZSz4Y4ZZpHRxF_ZAxuaKYL7o,12
@@ -10,7 +9,7 @@ dkist_processing_cryonirsp/models/tags.py,sha256=1Q2ag0ud9gx3su-XUqa--gwSnf5di7C
10
9
  dkist_processing_cryonirsp/models/task_name.py,sha256=xK4AKwgOx2uANbjhr0Q5Q3R9iPxLfkVKxWYY8wWjKhE,439
11
10
  dkist_processing_cryonirsp/parsers/__init__.py,sha256=m6UekKftTahNJ3W5K3mZSz4Y4ZZpHRxF_ZAxuaKYL7o,12
12
11
  dkist_processing_cryonirsp/parsers/check_for_gains.py,sha256=z5DZ4b4gQILb2mv1SowVulpiVGBZPYZNFsM6i6PjM24,2021
13
- dkist_processing_cryonirsp/parsers/cryonirsp_l0_fits_access.py,sha256=e4vDjsG5ye6N8cSg6WCJDHmlGAgM_2w1DRpp_KSddJw,4453
12
+ dkist_processing_cryonirsp/parsers/cryonirsp_l0_fits_access.py,sha256=iu5GJWVQ1PZfv5TR0u_IS2j2KZBU0yewa1ugxjDfVzk,4568
14
13
  dkist_processing_cryonirsp/parsers/cryonirsp_l1_fits_access.py,sha256=sc8MzxYMc8E1eFrL5KguAGHViCMJhaDfiBtZPml4ELg,886
15
14
  dkist_processing_cryonirsp/parsers/exposure_conditions.py,sha256=Xj466IJyaMXUCudrdTOUFmjsOr_CYENI7BegwwmEjoA,6098
16
15
  dkist_processing_cryonirsp/parsers/map_repeats.py,sha256=PjZ986bqkCdii-EOzU045cWqadxQC_nyyqwWYIpYdls,1566
@@ -38,7 +37,7 @@ dkist_processing_cryonirsp/tasks/parse.py,sha256=MeqdHk1pb5dBlYQBlJrH3qXm9vzJ7d6
38
37
  dkist_processing_cryonirsp/tasks/quality_metrics.py,sha256=r4mS1Qp88tHlbNKsqed-MOsFT_6Zbhr5H8-4hrx9OGw,11424
39
38
  dkist_processing_cryonirsp/tasks/science_base.py,sha256=-BjPNPI5jjiBR7K8p_9fa4vYCEUEdOFx7c2AC5EmFoE,17619
40
39
  dkist_processing_cryonirsp/tasks/sp_beam_boundaries.py,sha256=3bdj6W2H_UiOhmj2xHvADwOzojteLsTL9RkTwvzB6_M,10300
41
- dkist_processing_cryonirsp/tasks/sp_dispersion_axis_correction.py,sha256=y9TKJCtpnc2zA9UsohHDZjCpUPsigs_aXVsO_zh3CK0,19045
40
+ dkist_processing_cryonirsp/tasks/sp_dispersion_axis_correction.py,sha256=Fx3UUPF3iTRLm2qn2acxvbMO4POyq6L6yeSLDpOaCKA,19036
42
41
  dkist_processing_cryonirsp/tasks/sp_geometric.py,sha256=Ym5M1DJR_ZYGqjD1Cy5IQiult3GN5dp0hnJ9sLfMDQM,21860
43
42
  dkist_processing_cryonirsp/tasks/sp_science.py,sha256=FubmQSg_ZrVy08TcT6dRK2nuA2cmGMrMYMmjT6_bYQM,12091
44
43
  dkist_processing_cryonirsp/tasks/sp_solar_gain.py,sha256=WJKenRlqFlsP3zb3IPqRFdxCGcmJZMVlM9Me-myyvn0,18541
@@ -93,11 +92,12 @@ docs/beam_boundary_computation.rst,sha256=khyc_uW5zII6c0vN1lOvrwMAr5WO1XFFIou3QB
93
92
  docs/changelog.rst,sha256=S2jPASsWlQxSlAPqdvNrYvhk9k3FcFWNXFNDYXBSjl4,120
94
93
  docs/ci_science_calibration.rst,sha256=V5JouSw31Yff5t2LIDHl3NCfqKtAwmk0P3iZpJi1toc,1265
95
94
  docs/conf.py,sha256=cv1Gct6NbY_kxJEKqw-mMIoauxtWVZeNzRLFqX1_GUw,2038
96
- docs/index.rst,sha256=FYjkvmzh4fo-LQ16_GzR6X-iWIc1JOpx9Reh6WUF6n0,442
95
+ docs/index.rst,sha256=FZY5WfJ16HQyslyaJxgTLs6XCD73_aFFdH4CjzagNjs,445
97
96
  docs/l0_to_l1_cryonirsp_ci-full-trial.rst,sha256=-uhtnd51ttJYw9T5hs5A9HQWpXJkOJmvfXf1INFT3MI,582
98
97
  docs/l0_to_l1_cryonirsp_ci.rst,sha256=OhGTy9CBTqQJ04XhThTws8KBnGLFiP5vBX0DlX6NXKA,458
99
98
  docs/l0_to_l1_cryonirsp_sp-full-trial.rst,sha256=cKdRI7qVEVYsqqgYuL9nzqFP3uTR4cu305WfjmmyetY,582
100
99
  docs/l0_to_l1_cryonirsp_sp.rst,sha256=4sCQwx4oHoDurWUO7bL_jRjeRd8Cy8_oUgRXrMp2AWg,463
100
+ docs/landing_page.rst,sha256=-RnhwWhecVtl-pn8sjXfMj3qrzod37jz6rSA5WZTcrk,1204
101
101
  docs/linearization.rst,sha256=C1MXjE0rYKBaC6dFP75ZfP02ziubSCtcS4DUVU9DZk8,2549
102
102
  docs/make.bat,sha256=mBAhtURwhQ7yc95pqwJzlhqBSvRknr1aqZ5s8NKvdKs,4513
103
103
  docs/requirements.txt,sha256=Kbl_X4c7RQZw035YTeNB63We6I7pvXFU4T0Uflp2yDY,29
@@ -105,7 +105,7 @@ docs/requirements_table.rst,sha256=FaqSag9kPi77gWPhzeo_tFEhRFjb3qUuNqqQe1K76NM,2
105
105
  docs/scientific_changelog.rst,sha256=01AWBSHg8zElnodCgAq-hMxhk9CkX5rtEENx4iz0sjI,300
106
106
  docs/sp_science_calibration.rst,sha256=fHBOZ2cqySxLjNi737KfynlmHZy9W4EwvuzxnyjDNvk,2597
107
107
  licenses/LICENSE.rst,sha256=piZaQplkzOMmH1NXg6QIdo9wwo9pPCoHkvm2-DmH76E,1462
108
- dkist_processing_cryonirsp-1.4.7rc2.dist-info/METADATA,sha256=evzSq3gnEHbWgqLXEUiKK1lA2Fhv7hfBgWDp_LpSTY4,8431
109
- dkist_processing_cryonirsp-1.4.7rc2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
110
- dkist_processing_cryonirsp-1.4.7rc2.dist-info/top_level.txt,sha256=Sm9b1ddKnsF9Bh3mqDOct1Sm7k8I9aN7vGHgpmu-MlQ,51
111
- dkist_processing_cryonirsp-1.4.7rc2.dist-info/RECORD,,
108
+ dkist_processing_cryonirsp-1.4.9.dist-info/METADATA,sha256=0UAi91L2-0_m5iXA6T_bBzgBuZj7Nm0m5-BjxSnc3r4,8409
109
+ dkist_processing_cryonirsp-1.4.9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
110
+ dkist_processing_cryonirsp-1.4.9.dist-info/top_level.txt,sha256=Sm9b1ddKnsF9Bh3mqDOct1Sm7k8I9aN7vGHgpmu-MlQ,51
111
+ dkist_processing_cryonirsp-1.4.9.dist-info/RECORD,,
docs/index.rst CHANGED
@@ -1,4 +1,4 @@
1
- .. include:: ../README.rst
1
+ .. include:: landing_page.rst
2
2
 
3
3
  .. toctree::
4
4
  :maxdepth: 2
docs/landing_page.rst ADDED
@@ -0,0 +1,17 @@
1
+ Overview
2
+ ========
3
+
4
+ The mission of the Cryogenic Near-IR Spectropolarimeter (Cryo-NIRSP) is to measure the full state of
5
+ polarization of spectral lines at near- and thermal-infrared wavelengths. It measures the relatively
6
+ faint infrared corona and heliosphere, as well as the thermal infrared solar spectrum on disk. Cryo-NIRSP
7
+ has two arms: one scanning slit spectrograph and one imager; both can operate in a polarimetric mode.
8
+
9
+ The `dkist-processing-cryonirsp` code repository contains the implementation of the Cryo-NIRSP
10
+ calibration pipelines, which convert Level 0 files from the telescope into Level 1 output products.
11
+ Pipelines are built on `dkist-processing-common <https://docs.dkist.nso.edu/projects/common/>`_
12
+ tasks and use the `dkist-processing-core <https://docs.dkist.nso.edu/projects/core/>`_ framework.
13
+ Follow links on this page for more information about calibration pipelines.
14
+
15
+ Level 1 data products are available at the `DKIST Data Portal <https://dkist.data.nso.edu/>`_ and can
16
+ be analyzed with `DKIST python user tools <https://docs.dkist.nso.edu/projects/python-tools/>`_. For
17
+ help, please contact the `DKIST Help Desk <https://nso.atlassian.net/servicedesk/customer/portals/>`_.
changelog/165.feature.rst DELETED
@@ -1 +0,0 @@
1
- Bump common to remove Fried parameter when the AO system is unlocked.