pyreduce-astro 0.7a4__cp314-cp314-win_amd64.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.
Files changed (182) hide show
  1. pyreduce/__init__.py +67 -0
  2. pyreduce/__main__.py +322 -0
  3. pyreduce/cli.py +342 -0
  4. pyreduce/clib/Release/_slitfunc_2d.cp311-win_amd64.exp +0 -0
  5. pyreduce/clib/Release/_slitfunc_2d.cp311-win_amd64.lib +0 -0
  6. pyreduce/clib/Release/_slitfunc_2d.cp312-win_amd64.exp +0 -0
  7. pyreduce/clib/Release/_slitfunc_2d.cp312-win_amd64.lib +0 -0
  8. pyreduce/clib/Release/_slitfunc_2d.cp313-win_amd64.exp +0 -0
  9. pyreduce/clib/Release/_slitfunc_2d.cp313-win_amd64.lib +0 -0
  10. pyreduce/clib/Release/_slitfunc_2d.cp314-win_amd64.exp +0 -0
  11. pyreduce/clib/Release/_slitfunc_2d.cp314-win_amd64.lib +0 -0
  12. pyreduce/clib/Release/_slitfunc_2d.obj +0 -0
  13. pyreduce/clib/Release/_slitfunc_bd.cp311-win_amd64.exp +0 -0
  14. pyreduce/clib/Release/_slitfunc_bd.cp311-win_amd64.lib +0 -0
  15. pyreduce/clib/Release/_slitfunc_bd.cp312-win_amd64.exp +0 -0
  16. pyreduce/clib/Release/_slitfunc_bd.cp312-win_amd64.lib +0 -0
  17. pyreduce/clib/Release/_slitfunc_bd.cp313-win_amd64.exp +0 -0
  18. pyreduce/clib/Release/_slitfunc_bd.cp313-win_amd64.lib +0 -0
  19. pyreduce/clib/Release/_slitfunc_bd.cp314-win_amd64.exp +0 -0
  20. pyreduce/clib/Release/_slitfunc_bd.cp314-win_amd64.lib +0 -0
  21. pyreduce/clib/Release/_slitfunc_bd.obj +0 -0
  22. pyreduce/clib/__init__.py +0 -0
  23. pyreduce/clib/_slitfunc_2d.cp311-win_amd64.pyd +0 -0
  24. pyreduce/clib/_slitfunc_2d.cp312-win_amd64.pyd +0 -0
  25. pyreduce/clib/_slitfunc_2d.cp313-win_amd64.pyd +0 -0
  26. pyreduce/clib/_slitfunc_2d.cp314-win_amd64.pyd +0 -0
  27. pyreduce/clib/_slitfunc_bd.cp311-win_amd64.pyd +0 -0
  28. pyreduce/clib/_slitfunc_bd.cp312-win_amd64.pyd +0 -0
  29. pyreduce/clib/_slitfunc_bd.cp313-win_amd64.pyd +0 -0
  30. pyreduce/clib/_slitfunc_bd.cp314-win_amd64.pyd +0 -0
  31. pyreduce/clib/build_extract.py +75 -0
  32. pyreduce/clib/slit_func_2d_xi_zeta_bd.c +1313 -0
  33. pyreduce/clib/slit_func_2d_xi_zeta_bd.h +55 -0
  34. pyreduce/clib/slit_func_bd.c +362 -0
  35. pyreduce/clib/slit_func_bd.h +17 -0
  36. pyreduce/clipnflip.py +147 -0
  37. pyreduce/combine_frames.py +861 -0
  38. pyreduce/configuration.py +191 -0
  39. pyreduce/continuum_normalization.py +329 -0
  40. pyreduce/cwrappers.py +404 -0
  41. pyreduce/datasets.py +238 -0
  42. pyreduce/echelle.py +413 -0
  43. pyreduce/estimate_background_scatter.py +130 -0
  44. pyreduce/extract.py +1362 -0
  45. pyreduce/extraction_width.py +77 -0
  46. pyreduce/instruments/__init__.py +0 -0
  47. pyreduce/instruments/aj.py +9 -0
  48. pyreduce/instruments/aj.yaml +51 -0
  49. pyreduce/instruments/andes.py +102 -0
  50. pyreduce/instruments/andes.yaml +72 -0
  51. pyreduce/instruments/common.py +711 -0
  52. pyreduce/instruments/common.yaml +57 -0
  53. pyreduce/instruments/crires_plus.py +103 -0
  54. pyreduce/instruments/crires_plus.yaml +101 -0
  55. pyreduce/instruments/filters.py +195 -0
  56. pyreduce/instruments/harpn.py +203 -0
  57. pyreduce/instruments/harpn.yaml +140 -0
  58. pyreduce/instruments/harps.py +312 -0
  59. pyreduce/instruments/harps.yaml +144 -0
  60. pyreduce/instruments/instrument_info.py +140 -0
  61. pyreduce/instruments/jwst_miri.py +29 -0
  62. pyreduce/instruments/jwst_miri.yaml +53 -0
  63. pyreduce/instruments/jwst_niriss.py +98 -0
  64. pyreduce/instruments/jwst_niriss.yaml +60 -0
  65. pyreduce/instruments/lick_apf.py +35 -0
  66. pyreduce/instruments/lick_apf.yaml +60 -0
  67. pyreduce/instruments/mcdonald.py +123 -0
  68. pyreduce/instruments/mcdonald.yaml +56 -0
  69. pyreduce/instruments/metis_ifu.py +45 -0
  70. pyreduce/instruments/metis_ifu.yaml +62 -0
  71. pyreduce/instruments/metis_lss.py +45 -0
  72. pyreduce/instruments/metis_lss.yaml +62 -0
  73. pyreduce/instruments/micado.py +45 -0
  74. pyreduce/instruments/micado.yaml +62 -0
  75. pyreduce/instruments/models.py +257 -0
  76. pyreduce/instruments/neid.py +156 -0
  77. pyreduce/instruments/neid.yaml +61 -0
  78. pyreduce/instruments/nirspec.py +215 -0
  79. pyreduce/instruments/nirspec.yaml +63 -0
  80. pyreduce/instruments/nte.py +42 -0
  81. pyreduce/instruments/nte.yaml +55 -0
  82. pyreduce/instruments/uves.py +46 -0
  83. pyreduce/instruments/uves.yaml +65 -0
  84. pyreduce/instruments/xshooter.py +39 -0
  85. pyreduce/instruments/xshooter.yaml +63 -0
  86. pyreduce/make_shear.py +607 -0
  87. pyreduce/masks/mask_crires_plus_det1.fits.gz +0 -0
  88. pyreduce/masks/mask_crires_plus_det2.fits.gz +0 -0
  89. pyreduce/masks/mask_crires_plus_det3.fits.gz +0 -0
  90. pyreduce/masks/mask_ctio_chiron.fits.gz +0 -0
  91. pyreduce/masks/mask_elodie.fits.gz +0 -0
  92. pyreduce/masks/mask_feros3.fits.gz +0 -0
  93. pyreduce/masks/mask_flames_giraffe.fits.gz +0 -0
  94. pyreduce/masks/mask_harps_blue.fits.gz +0 -0
  95. pyreduce/masks/mask_harps_red.fits.gz +0 -0
  96. pyreduce/masks/mask_hds_blue.fits.gz +0 -0
  97. pyreduce/masks/mask_hds_red.fits.gz +0 -0
  98. pyreduce/masks/mask_het_hrs_2x5.fits.gz +0 -0
  99. pyreduce/masks/mask_jwst_miri_lrs_slitless.fits.gz +0 -0
  100. pyreduce/masks/mask_jwst_niriss_gr700xd.fits.gz +0 -0
  101. pyreduce/masks/mask_lick_apf_.fits.gz +0 -0
  102. pyreduce/masks/mask_mcdonald.fits.gz +0 -0
  103. pyreduce/masks/mask_nes.fits.gz +0 -0
  104. pyreduce/masks/mask_nirspec_nirspec.fits.gz +0 -0
  105. pyreduce/masks/mask_sarg.fits.gz +0 -0
  106. pyreduce/masks/mask_sarg_2x2a.fits.gz +0 -0
  107. pyreduce/masks/mask_sarg_2x2b.fits.gz +0 -0
  108. pyreduce/masks/mask_subaru_hds_red.fits.gz +0 -0
  109. pyreduce/masks/mask_uves_blue.fits.gz +0 -0
  110. pyreduce/masks/mask_uves_blue_binned_2_2.fits.gz +0 -0
  111. pyreduce/masks/mask_uves_middle.fits.gz +0 -0
  112. pyreduce/masks/mask_uves_middle_2x2_split.fits.gz +0 -0
  113. pyreduce/masks/mask_uves_middle_binned_2_2.fits.gz +0 -0
  114. pyreduce/masks/mask_uves_red.fits.gz +0 -0
  115. pyreduce/masks/mask_uves_red_2x2.fits.gz +0 -0
  116. pyreduce/masks/mask_uves_red_2x2_split.fits.gz +0 -0
  117. pyreduce/masks/mask_uves_red_binned_2_2.fits.gz +0 -0
  118. pyreduce/masks/mask_xshooter_nir.fits.gz +0 -0
  119. pyreduce/pipeline.py +619 -0
  120. pyreduce/rectify.py +138 -0
  121. pyreduce/reduce.py +2065 -0
  122. pyreduce/settings/settings_AJ.json +19 -0
  123. pyreduce/settings/settings_ANDES.json +89 -0
  124. pyreduce/settings/settings_CRIRES_PLUS.json +89 -0
  125. pyreduce/settings/settings_HARPN.json +73 -0
  126. pyreduce/settings/settings_HARPS.json +69 -0
  127. pyreduce/settings/settings_JWST_MIRI.json +55 -0
  128. pyreduce/settings/settings_JWST_NIRISS.json +55 -0
  129. pyreduce/settings/settings_LICK_APF.json +62 -0
  130. pyreduce/settings/settings_MCDONALD.json +58 -0
  131. pyreduce/settings/settings_METIS_IFU.json +77 -0
  132. pyreduce/settings/settings_METIS_LSS.json +77 -0
  133. pyreduce/settings/settings_MICADO.json +78 -0
  134. pyreduce/settings/settings_NEID.json +73 -0
  135. pyreduce/settings/settings_NIRSPEC.json +58 -0
  136. pyreduce/settings/settings_NTE.json +60 -0
  137. pyreduce/settings/settings_UVES.json +54 -0
  138. pyreduce/settings/settings_XSHOOTER.json +78 -0
  139. pyreduce/settings/settings_pyreduce.json +184 -0
  140. pyreduce/settings/settings_schema.json +850 -0
  141. pyreduce/tools/__init__.py +0 -0
  142. pyreduce/tools/combine.py +117 -0
  143. pyreduce/trace.py +979 -0
  144. pyreduce/util.py +1366 -0
  145. pyreduce/wavecal/MICADO_HK_3arcsec_chip5.npz +0 -0
  146. pyreduce/wavecal/atlas/thar.fits +4946 -13
  147. pyreduce/wavecal/atlas/thar_list.txt +4172 -0
  148. pyreduce/wavecal/atlas/une.fits +0 -0
  149. pyreduce/wavecal/convert.py +38 -0
  150. pyreduce/wavecal/crires_plus_J1228_Open_det1.npz +0 -0
  151. pyreduce/wavecal/crires_plus_J1228_Open_det2.npz +0 -0
  152. pyreduce/wavecal/crires_plus_J1228_Open_det3.npz +0 -0
  153. pyreduce/wavecal/harpn_harpn_2D.npz +0 -0
  154. pyreduce/wavecal/harps_blue_2D.npz +0 -0
  155. pyreduce/wavecal/harps_blue_pol_2D.npz +0 -0
  156. pyreduce/wavecal/harps_red_2D.npz +0 -0
  157. pyreduce/wavecal/harps_red_pol_2D.npz +0 -0
  158. pyreduce/wavecal/mcdonald.npz +0 -0
  159. pyreduce/wavecal/metis_lss_l_2D.npz +0 -0
  160. pyreduce/wavecal/metis_lss_m_2D.npz +0 -0
  161. pyreduce/wavecal/nirspec_K2.npz +0 -0
  162. pyreduce/wavecal/uves_blue_360nm_2D.npz +0 -0
  163. pyreduce/wavecal/uves_blue_390nm_2D.npz +0 -0
  164. pyreduce/wavecal/uves_blue_437nm_2D.npz +0 -0
  165. pyreduce/wavecal/uves_middle_2x2_2D.npz +0 -0
  166. pyreduce/wavecal/uves_middle_565nm_2D.npz +0 -0
  167. pyreduce/wavecal/uves_middle_580nm_2D.npz +0 -0
  168. pyreduce/wavecal/uves_middle_600nm_2D.npz +0 -0
  169. pyreduce/wavecal/uves_middle_665nm_2D.npz +0 -0
  170. pyreduce/wavecal/uves_middle_860nm_2D.npz +0 -0
  171. pyreduce/wavecal/uves_red_580nm_2D.npz +0 -0
  172. pyreduce/wavecal/uves_red_600nm_2D.npz +0 -0
  173. pyreduce/wavecal/uves_red_665nm_2D.npz +0 -0
  174. pyreduce/wavecal/uves_red_760nm_2D.npz +0 -0
  175. pyreduce/wavecal/uves_red_860nm_2D.npz +0 -0
  176. pyreduce/wavecal/xshooter_nir.npz +0 -0
  177. pyreduce/wavelength_calibration.py +1871 -0
  178. pyreduce_astro-0.7a4.dist-info/METADATA +106 -0
  179. pyreduce_astro-0.7a4.dist-info/RECORD +182 -0
  180. pyreduce_astro-0.7a4.dist-info/WHEEL +4 -0
  181. pyreduce_astro-0.7a4.dist-info/entry_points.txt +2 -0
  182. pyreduce_astro-0.7a4.dist-info/licenses/LICENSE +674 -0
@@ -0,0 +1,19 @@
1
+ {
2
+ "__instrument__": "AJ",
3
+ "orders": {
4
+ "degree": 4,
5
+ "noise": 0,
6
+ "min_cluster": 2000,
7
+ "min_width": 0.5,
8
+ "filter_y": 8,
9
+ "border_width": 0,
10
+ "closing_shape": [1, 1],
11
+ "manual": false,
12
+ "auto_merge_threshold": 1.0
13
+ },
14
+ "science": {
15
+ "extraction_method": "optimal",
16
+ "extraction_width": 0.5,
17
+ "oversampling": 6
18
+ }
19
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "__instrument__": "ANDES",
3
+ "instrument": {},
4
+ "bias": {
5
+ "degree": 1
6
+ },
7
+ "flat": {
8
+ "bias_scaling": "exposure_time"
9
+ },
10
+ "orders": {
11
+ "degree": 3,
12
+ "degree_before_merge": 1,
13
+ "filter_y": 100,
14
+ "min_cluster": 200000,
15
+ "border_width": 0,
16
+ "noise": 0,
17
+ "manual": false,
18
+ "auto_merge_threshold": 1,
19
+ "merge_min_threshold": 0.9,
20
+ "bias_scaling": "exposure_time"
21
+ },
22
+ "scatter": {
23
+ "extraction_width": 0.45,
24
+ "border_width": 50,
25
+ "bias_scaling": "exposure_time"
26
+ },
27
+ "norm_flat": {
28
+ "smooth_slitfunction": 2,
29
+ "smooth_spectrum": 0,
30
+ "extraction_width": 100,
31
+ "oversampling": 12,
32
+ "swath_width": 200,
33
+ "threshold": 1000
34
+ },
35
+ "wavecal_master": {
36
+ "extraction_method": "optimal",
37
+ "extraction_width": 100,
38
+ "oversampling": 5,
39
+ "swath_width": 2000,
40
+ "smooth_slitfunction": 1,
41
+ "smooth_spectrum": 1e-7,
42
+ "extraction_cutoff": 20,
43
+ "bias_scaling": "exposure_time"
44
+ },
45
+ "wavecal_init": {
46
+ "element": "UNe",
47
+ "medium": "vac",
48
+ "cutoff": 5,
49
+ "smoothing": 1
50
+ },
51
+ "wavecal": {
52
+ "threshold": 100,
53
+ "closing": 0,
54
+ "dimensionality": "2D",
55
+ "element": null,
56
+ "degree": [5,5],
57
+ "manual": false
58
+ },
59
+ "freq_comb_master": {
60
+ "extraction_width": 10,
61
+ "bias_scaling": "exposure_time"
62
+ },
63
+ "freq_comb": {
64
+ "threshold": 100,
65
+ "dimensionality": "2D",
66
+ "degree": [8, 8]
67
+ },
68
+ "curvature": {
69
+ "peak_threshold": 1,
70
+ "window_width": 15,
71
+ "extraction_width": 100,
72
+ "dimensionality": "2D",
73
+ "degree": [
74
+ 1,
75
+ 1
76
+ ],
77
+ "curv_degree": 1,
78
+ "peak_function": "lorentzian",
79
+ "bias_scaling": "exposure_time"
80
+ },
81
+ "science": {
82
+ "oversampling": 1,
83
+ "extraction_width": 10,
84
+ "swath_width": 300,
85
+ "smooth_slitfunction": 0.1,
86
+ "smooth_spectrum": 0,
87
+ "bias_scaling": "exposure_time"
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "__instrument__": "CRIRES_PLUS",
3
+ "instrument": {},
4
+ "bias": {
5
+ "degree": 1
6
+ },
7
+ "flat": {
8
+ "bias_scaling": "exposure_time"
9
+ },
10
+ "orders": {
11
+ "degree": 3,
12
+ "degree_before_merge": 1,
13
+ "filter_y": 100,
14
+ "min_cluster": 200000,
15
+ "border_width": 0,
16
+ "noise": 0,
17
+ "manual": false,
18
+ "auto_merge_threshold": 1,
19
+ "merge_min_threshold": 0.9,
20
+ "bias_scaling": "exposure_time"
21
+ },
22
+ "scatter": {
23
+ "extraction_width": 0.45,
24
+ "border_width": 50,
25
+ "bias_scaling": "exposure_time"
26
+ },
27
+ "norm_flat": {
28
+ "smooth_slitfunction": 2,
29
+ "smooth_spectrum": 0,
30
+ "extraction_width": 100,
31
+ "oversampling": 12,
32
+ "swath_width": 200,
33
+ "threshold": 1000
34
+ },
35
+ "wavecal_master": {
36
+ "extraction_method": "optimal",
37
+ "extraction_width": 100,
38
+ "oversampling": 5,
39
+ "swath_width": 2000,
40
+ "smooth_slitfunction": 1,
41
+ "smooth_spectrum": 1e-7,
42
+ "extraction_cutoff": 20,
43
+ "bias_scaling": "exposure_time"
44
+ },
45
+ "wavecal_init": {
46
+ "element": "UNe",
47
+ "medium": "vac",
48
+ "cutoff": 5,
49
+ "smoothing": 1
50
+ },
51
+ "wavecal": {
52
+ "threshold": 100,
53
+ "closing": 0,
54
+ "dimensionality": "2D",
55
+ "element": null,
56
+ "degree": [5,5],
57
+ "manual": false
58
+ },
59
+ "freq_comb_master": {
60
+ "extraction_width": 10,
61
+ "bias_scaling": "exposure_time"
62
+ },
63
+ "freq_comb": {
64
+ "threshold": 100,
65
+ "dimensionality": "2D",
66
+ "degree": [8, 8]
67
+ },
68
+ "curvature": {
69
+ "peak_threshold": 1,
70
+ "window_width": 15,
71
+ "extraction_width": 100,
72
+ "dimensionality": "2D",
73
+ "degree": [
74
+ 1,
75
+ 1
76
+ ],
77
+ "curv_degree": 1,
78
+ "peak_function": "lorentzian",
79
+ "bias_scaling": "exposure_time"
80
+ },
81
+ "science": {
82
+ "oversampling": 1,
83
+ "extraction_width": 10,
84
+ "swath_width": 300,
85
+ "smooth_slitfunction": 0.1,
86
+ "smooth_spectrum": 0,
87
+ "bias_scaling": "exposure_time"
88
+ }
89
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "__instrument__": "HARPN",
3
+ "instrument": {
4
+ "fiber": "A"
5
+ },
6
+ "orders": {
7
+ "degree": 4,
8
+ "filter_y": 80,
9
+ "min_cluster": 2000,
10
+ "noise": 8,
11
+ "manual": false
12
+ },
13
+ "scatter": {
14
+ "extraction_width": 10
15
+ },
16
+ "norm_flat": {
17
+ "smooth_slitfunction": 2,
18
+ "smooth_spectrum": 1e-7,
19
+ "extraction_width": 10,
20
+ "oversampling": 12,
21
+ "swath_width": 200,
22
+ "threshold": 1000
23
+ },
24
+ "wavecal_master": {
25
+ "extraction_width": 5,
26
+ "collapse_function" : "median",
27
+ "bias_scaling" : "number_of_files"
28
+ },
29
+ "wavecal_init": {
30
+ "element": "thar",
31
+ "medium": "vac"
32
+ },
33
+ "wavecal": {
34
+ "threshold": 100,
35
+ "dimensionality": "2D",
36
+ "degree": [
37
+ 5,
38
+ 5
39
+ ],
40
+ "manual": false,
41
+ "element": "thar",
42
+ "medium": "vac",
43
+ "correlate_cols": 0
44
+ },
45
+ "freq_comb_master": {
46
+ "extraction_width": 10
47
+ },
48
+ "freq_comb": {
49
+ "threshold": 100,
50
+ "dimensionality": "2D",
51
+ "nstep": 7,
52
+ "degree": [
53
+ 9,
54
+ 7
55
+ ]
56
+ },
57
+ "curvature": {
58
+ "extraction_width": 10,
59
+ "peak_threshold": 0,
60
+ "peak_width": 3,
61
+ "window_width": 5,
62
+ "dimensionality": "1D",
63
+ "curv_degree": 1,
64
+ "degree": 3
65
+ },
66
+ "science": {
67
+ "oversampling": 10,
68
+ "extraction_width": 10,
69
+ "swath_width": 300,
70
+ "smooth_slitfunction": 1,
71
+ "smooth_spectrum": 0
72
+ }
73
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "__instrument__": "HARPS",
3
+ "instrument": {
4
+ "polarimetry": false,
5
+ "fiber": "A"
6
+ },
7
+ "orders": {
8
+ "degree": 4,
9
+ "filter_y": 80,
10
+ "min_cluster": 2000,
11
+ "noise": 8,
12
+ "manual": false
13
+ },
14
+ "scatter": {
15
+ "extraction_width": 10
16
+ },
17
+ "norm_flat": {
18
+ "smooth_slitfunction": 2,
19
+ "smooth_spectrum": 1e-7,
20
+ "extraction_width": 10,
21
+ "oversampling": 12,
22
+ "swath_width": 200,
23
+ "threshold": 1000
24
+ },
25
+ "wavecal_master": {
26
+ "extraction_width": 10
27
+ },
28
+ "wavecal_init": {
29
+ "element": "thar",
30
+ "medium": "vac"
31
+ },
32
+ "wavecal": {
33
+ "threshold": 100,
34
+ "dimensionality": "2D",
35
+ "degree": [
36
+ 3,
37
+ 6
38
+ ],
39
+ "manual": false
40
+ },
41
+ "freq_comb_master": {
42
+ "extraction_width": 10
43
+ },
44
+ "freq_comb": {
45
+ "threshold": 100,
46
+ "dimensionality": "2D",
47
+ "nstep": 7,
48
+ "degree": [
49
+ 9,
50
+ 7
51
+ ]
52
+ },
53
+ "curvature": {
54
+ "extraction_width": 10,
55
+ "peak_threshold": 0,
56
+ "peak_width": 3,
57
+ "window_width": 5,
58
+ "dimensionality": "1D",
59
+ "curv_degree": 1,
60
+ "degree": 3
61
+ },
62
+ "science": {
63
+ "oversampling": 10,
64
+ "extraction_width": 10,
65
+ "swath_width": 300,
66
+ "smooth_slitfunction": 1,
67
+ "smooth_spectrum": 0
68
+ }
69
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "__instrument__": "JWST_MIRI",
3
+ "instrument": {},
4
+ "orders": {
5
+ "degree": 4,
6
+ "filter_y": 1,
7
+ "min_cluster": 0,
8
+ "noise": 0,
9
+ "border_width": 0,
10
+ "auto_merge_threshold": 0,
11
+ "merge_min_threshold": 0,
12
+ "manual": false
13
+ },
14
+ "scatter":{
15
+ "extraction_width": 15
16
+ },
17
+ "norm_flat": {
18
+ "smooth_slitfunction": 2,
19
+ "smooth_spectrum": 0,
20
+ "extraction_width": 15,
21
+ "oversampling": 12,
22
+ "swath_width": 100,
23
+ "threshold": 1000
24
+ },
25
+ "wavecal_master": {
26
+ "extraction_width": 10
27
+ },
28
+ "wavecal": {
29
+ "threshold": 100,
30
+ "dimensionality": "1D",
31
+ "degree": 2,
32
+ "manual": false
33
+ },
34
+ "freq_comb_master": {
35
+ "extraction_width": 10
36
+ },
37
+ "freq_comb": {
38
+ "threshold": 100,
39
+ "dimensionality": "2D",
40
+ "nstep": 0,
41
+ "degree": [19, 10]
42
+ },
43
+ "curvature": {
44
+ "extraction_width": 10,
45
+ "dimensionality": "2D",
46
+ "degree": [3, 6]
47
+ },
48
+ "science": {
49
+ "oversampling": 5,
50
+ "extraction_width": 25,
51
+ "swath_width": 100,
52
+ "smooth_slitfunction": 1,
53
+ "smooth_spectrum": 0
54
+ }
55
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "__instrument__": "JWST_NIRISS",
3
+ "instrument": {},
4
+ "orders": {
5
+ "degree": 4,
6
+ "filter_y": 50,
7
+ "min_cluster": 500,
8
+ "noise": 10,
9
+ "border_width": 0,
10
+ "auto_merge_threshold": 1,
11
+ "merge_min_threshold": 1,
12
+ "manual": false
13
+ },
14
+ "scatter": {
15
+ "extraction_width": 15
16
+ },
17
+ "norm_flat": {
18
+ "smooth_slitfunction": 2,
19
+ "smooth_spectrum": 0,
20
+ "extraction_width": 15,
21
+ "oversampling": 12,
22
+ "swath_width": 200,
23
+ "threshold": 1000
24
+ },
25
+ "wavecal_master": {
26
+ "extraction_width": 10
27
+ },
28
+ "wavecal": {
29
+ "threshold": 100,
30
+ "dimensionality": "1D",
31
+ "degree": 2,
32
+ "manual": false
33
+ },
34
+ "freq_comb_master": {
35
+ "extraction_width": 10
36
+ },
37
+ "freq_comb": {
38
+ "threshold": 100,
39
+ "dimensionality": "2D",
40
+ "nstep": 0,
41
+ "degree": [19, 10]
42
+ },
43
+ "curvature": {
44
+ "extraction_width": 10,
45
+ "dimensionality": "2D",
46
+ "degree": [3, 6]
47
+ },
48
+ "science": {
49
+ "oversampling": 5,
50
+ "extraction_width": 15,
51
+ "swath_width": 300,
52
+ "smooth_slitfunction": 0.1,
53
+ "smooth_spectrum": 0
54
+ }
55
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "__instrument__": "LICK_APF",
3
+ "instrument": {},
4
+ "bias": {
5
+ },
6
+ "flat": {
7
+ },
8
+ "orders": {
9
+ "degree": 4,
10
+ "filter_y": 15,
11
+ "min_cluster": 700,
12
+ "border_width": 0,
13
+ "noise": 10,
14
+ "merge_min_threshold": 0.01,
15
+ "auto_merge_threshold": 0.1,
16
+ "closing_shape": [3, 10],
17
+ "manual": true
18
+ },
19
+ "scatter": {
20
+ "extraction_width": [9, 9]
21
+ },
22
+ "norm_flat": {
23
+ "smooth_slitfunction": 2,
24
+ "smooth_spectrum": 0,
25
+ "extraction_width": [9, 9],
26
+ "oversampling": 12,
27
+ "swath_width": 300
28
+ },
29
+ "wavecal_master": {
30
+ "extraction_width": 0.25
31
+ },
32
+ "wavecal": {
33
+ "threshold": 100,
34
+ "dimensionality": "2D",
35
+ "degree": [2, 6],
36
+ "manual": false
37
+ },
38
+ "freq_comb_master": {
39
+ "extraction_width": 0.25
40
+ },
41
+ "freq_comb": {
42
+ "dimensionality": "2D",
43
+ "degree": [6, 6]
44
+ },
45
+ "curvature": {
46
+ "extraction_width": 0.25,
47
+ "dimensionality": "1D",
48
+ "degree": 2
49
+ },
50
+ "science": {
51
+ "oversampling": 10,
52
+ "extraction_width": [8, 8],
53
+ "swath_width": 800,
54
+ "smooth_slitfunction": 6,
55
+ "smooth_spectrum": 0
56
+ },
57
+ "continuum": {
58
+ },
59
+ "finalize": {
60
+ "filename": "{input}.fits"
61
+ }
62
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "__instrument__": "MCDONALD",
3
+ "instrument": {},
4
+ "orders": {
5
+ "degree": 4,
6
+ "degree_before_merge": 2,
7
+ "regularization": 0,
8
+ "closing_shape": [3, 10],
9
+ "filter_y": 30,
10
+ "min_cluster": 200,
11
+ "noise": 50,
12
+ "auto_merge_threshold": 0.9,
13
+ "merge_min_threshold": 0.5,
14
+ "manual": true
15
+ },
16
+ "scatter":{
17
+ "extraction_width": 0.3
18
+ },
19
+ "norm_flat": {
20
+ "smooth_slitfunction": 2,
21
+ "smooth_spectrum": 0,
22
+ "extraction_width": 0.4,
23
+ "oversampling": 12,
24
+ "swath_width": 200,
25
+ "threshold": 1000
26
+ },
27
+ "wavecal_master": {
28
+ "extraction_width": 10
29
+ },
30
+ "wavecal": {
31
+ "threshold": 500,
32
+ "dimensionality": "1D",
33
+ "degree": 8,
34
+ "manual": false,
35
+ "element": "thar",
36
+ "medium": "vac"
37
+ },
38
+ "freq_comb_master": {
39
+ "extraction_width": 10
40
+ },
41
+ "freq_comb": {
42
+ "threshold": 100,
43
+ "dimensionality": "2D",
44
+ "degree": [6, 6]
45
+ },
46
+ "curvature": {
47
+ "extraction_width": 10,
48
+ "dimensionality": "2D",
49
+ "degree": [3, 6]
50
+ },
51
+ "science": {
52
+ "oversampling": 1,
53
+ "extraction_width": 10,
54
+ "swath_width": 300,
55
+ "smooth_slitfunction": 0.1,
56
+ "smooth_spectrum": 0
57
+ }
58
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "__instrument__": "METIS_IFU",
3
+ "flat":{
4
+ "bias_scaling": "number_of_files",
5
+ "plot": false
6
+ },
7
+ "orders": {
8
+ "degree": 4,
9
+ "degree_before_merge": "best",
10
+ "bias_scaling": "number_of_files",
11
+ "filter_y": 20,
12
+ "min_cluster": 100,
13
+ "noise": 120,
14
+ "border_width": 6,
15
+ "auto_merge_threshold": 0.9,
16
+ "merge_min_threshold": 0.01,
17
+ "manual": false,
18
+ "min_width": 0,
19
+ "plot": false
20
+ },
21
+ "scatter": {
22
+ "bias_scaling": "number_of_files",
23
+ "extraction_width": 0.45,
24
+ "border_width": 20
25
+ },
26
+ "norm_flat": {
27
+ "smooth_slitfunction": 1e3,
28
+ "smooth_spectrum": 1e-7,
29
+ "extraction_width": 0.14,
30
+ "oversampling": 12,
31
+ "swath_width": 200,
32
+ "threshold": 1000
33
+ },
34
+ "curvature": {
35
+ "extraction_method": "arc",
36
+ "dimensionality": "1D",
37
+ "curv_degree": 2,
38
+ "collapse_function": "mean",
39
+ "extraction_width": 0.77,
40
+ "extraction_cutoff": 20,
41
+ "curvature_cutoff": 3,
42
+ "peak_threshold": 0.9725,
43
+ "peak_width": 1,
44
+ "window_width": 1,
45
+ "peak_function": "lorentzian",
46
+ "bias_scaling": "exposure_time",
47
+ "degree": 2
48
+ },
49
+ "wavecal_master": {
50
+ "extraction_method": "arc",
51
+ "collapse_function": "median",
52
+ "extraction_width": 0.7825,
53
+ "extraction_cutoff": 10,
54
+ "bias_scaling": "exposure_time"
55
+ },
56
+ "wavecal": {
57
+ "extraction_method": "optimal",
58
+ "bias_scaling": "exposure_time",
59
+ "threshold": 70,
60
+ "iterations": 3,
61
+ "dimensionality": "2D",
62
+ "extraction_width": 0.7825,
63
+ "degree": [
64
+ 4,
65
+ 4
66
+ ],
67
+ "manual": true,
68
+ "shift_window": 0.1
69
+ },
70
+ "science": {
71
+ "oversampling": 10,
72
+ "extraction_width": 0.14235,
73
+ "swath_width": 400,
74
+ "smooth_slitfunction": 2,
75
+ "smooth_spectrum": 0.5e-5
76
+ }
77
+ }