pyreduce-astro 0.6.0__cp312-cp312-macosx_11_0_arm64.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 (154) hide show
  1. pyreduce/__init__.py +67 -0
  2. pyreduce/__main__.py +106 -0
  3. pyreduce/clib/__init__.py +0 -0
  4. pyreduce/clib/_slitfunc_2d.cpython-311-darwin.so +0 -0
  5. pyreduce/clib/_slitfunc_2d.cpython-312-darwin.so +0 -0
  6. pyreduce/clib/_slitfunc_bd.cpython-311-darwin.so +0 -0
  7. pyreduce/clib/_slitfunc_bd.cpython-312-darwin.so +0 -0
  8. pyreduce/clib/build_extract.py +75 -0
  9. pyreduce/clib/slit_func_2d_xi_zeta_bd.c +1313 -0
  10. pyreduce/clib/slit_func_2d_xi_zeta_bd.h +55 -0
  11. pyreduce/clib/slit_func_bd.c +362 -0
  12. pyreduce/clib/slit_func_bd.h +17 -0
  13. pyreduce/clipnflip.py +147 -0
  14. pyreduce/combine_frames.py +855 -0
  15. pyreduce/configuration.py +186 -0
  16. pyreduce/continuum_normalization.py +329 -0
  17. pyreduce/cwrappers.py +404 -0
  18. pyreduce/datasets.py +231 -0
  19. pyreduce/echelle.py +413 -0
  20. pyreduce/estimate_background_scatter.py +129 -0
  21. pyreduce/extract.py +1361 -0
  22. pyreduce/extraction_width.py +77 -0
  23. pyreduce/instruments/__init__.py +0 -0
  24. pyreduce/instruments/andes.json +61 -0
  25. pyreduce/instruments/andes.py +102 -0
  26. pyreduce/instruments/common.json +46 -0
  27. pyreduce/instruments/common.py +683 -0
  28. pyreduce/instruments/crires_plus.json +63 -0
  29. pyreduce/instruments/crires_plus.py +103 -0
  30. pyreduce/instruments/filters.py +195 -0
  31. pyreduce/instruments/harpn.json +136 -0
  32. pyreduce/instruments/harpn.py +201 -0
  33. pyreduce/instruments/harps.json +155 -0
  34. pyreduce/instruments/harps.py +310 -0
  35. pyreduce/instruments/instrument_info.py +140 -0
  36. pyreduce/instruments/instrument_schema.json +318 -0
  37. pyreduce/instruments/jwst_miri.json +53 -0
  38. pyreduce/instruments/jwst_miri.py +29 -0
  39. pyreduce/instruments/jwst_niriss.json +52 -0
  40. pyreduce/instruments/jwst_niriss.py +98 -0
  41. pyreduce/instruments/lick_apf.json +53 -0
  42. pyreduce/instruments/lick_apf.py +35 -0
  43. pyreduce/instruments/mcdonald.json +59 -0
  44. pyreduce/instruments/mcdonald.py +123 -0
  45. pyreduce/instruments/metis_ifu.json +63 -0
  46. pyreduce/instruments/metis_ifu.py +45 -0
  47. pyreduce/instruments/metis_lss.json +65 -0
  48. pyreduce/instruments/metis_lss.py +45 -0
  49. pyreduce/instruments/micado.json +53 -0
  50. pyreduce/instruments/micado.py +45 -0
  51. pyreduce/instruments/neid.json +51 -0
  52. pyreduce/instruments/neid.py +154 -0
  53. pyreduce/instruments/nirspec.json +56 -0
  54. pyreduce/instruments/nirspec.py +215 -0
  55. pyreduce/instruments/nte.json +47 -0
  56. pyreduce/instruments/nte.py +42 -0
  57. pyreduce/instruments/uves.json +59 -0
  58. pyreduce/instruments/uves.py +46 -0
  59. pyreduce/instruments/xshooter.json +66 -0
  60. pyreduce/instruments/xshooter.py +39 -0
  61. pyreduce/make_shear.py +606 -0
  62. pyreduce/masks/mask_crires_plus_det1.fits.gz +0 -0
  63. pyreduce/masks/mask_crires_plus_det2.fits.gz +0 -0
  64. pyreduce/masks/mask_crires_plus_det3.fits.gz +0 -0
  65. pyreduce/masks/mask_ctio_chiron.fits.gz +0 -0
  66. pyreduce/masks/mask_elodie.fits.gz +0 -0
  67. pyreduce/masks/mask_feros3.fits.gz +0 -0
  68. pyreduce/masks/mask_flames_giraffe.fits.gz +0 -0
  69. pyreduce/masks/mask_harps_blue.fits.gz +0 -0
  70. pyreduce/masks/mask_harps_red.fits.gz +0 -0
  71. pyreduce/masks/mask_hds_blue.fits.gz +0 -0
  72. pyreduce/masks/mask_hds_red.fits.gz +0 -0
  73. pyreduce/masks/mask_het_hrs_2x5.fits.gz +0 -0
  74. pyreduce/masks/mask_jwst_miri_lrs_slitless.fits.gz +0 -0
  75. pyreduce/masks/mask_jwst_niriss_gr700xd.fits.gz +0 -0
  76. pyreduce/masks/mask_lick_apf_.fits.gz +0 -0
  77. pyreduce/masks/mask_mcdonald.fits.gz +0 -0
  78. pyreduce/masks/mask_nes.fits.gz +0 -0
  79. pyreduce/masks/mask_nirspec_nirspec.fits.gz +0 -0
  80. pyreduce/masks/mask_sarg.fits.gz +0 -0
  81. pyreduce/masks/mask_sarg_2x2a.fits.gz +0 -0
  82. pyreduce/masks/mask_sarg_2x2b.fits.gz +0 -0
  83. pyreduce/masks/mask_subaru_hds_red.fits.gz +0 -0
  84. pyreduce/masks/mask_uves_blue.fits.gz +0 -0
  85. pyreduce/masks/mask_uves_blue_binned_2_2.fits.gz +0 -0
  86. pyreduce/masks/mask_uves_middle.fits.gz +0 -0
  87. pyreduce/masks/mask_uves_middle_2x2_split.fits.gz +0 -0
  88. pyreduce/masks/mask_uves_middle_binned_2_2.fits.gz +0 -0
  89. pyreduce/masks/mask_uves_red.fits.gz +0 -0
  90. pyreduce/masks/mask_uves_red_2x2.fits.gz +0 -0
  91. pyreduce/masks/mask_uves_red_2x2_split.fits.gz +0 -0
  92. pyreduce/masks/mask_uves_red_binned_2_2.fits.gz +0 -0
  93. pyreduce/masks/mask_xshooter_nir.fits.gz +0 -0
  94. pyreduce/rectify.py +138 -0
  95. pyreduce/reduce.py +2205 -0
  96. pyreduce/settings/settings_ANDES.json +89 -0
  97. pyreduce/settings/settings_CRIRES_PLUS.json +89 -0
  98. pyreduce/settings/settings_HARPN.json +73 -0
  99. pyreduce/settings/settings_HARPS.json +69 -0
  100. pyreduce/settings/settings_JWST_MIRI.json +55 -0
  101. pyreduce/settings/settings_JWST_NIRISS.json +55 -0
  102. pyreduce/settings/settings_LICK_APF.json +62 -0
  103. pyreduce/settings/settings_MCDONALD.json +58 -0
  104. pyreduce/settings/settings_METIS_IFU.json +77 -0
  105. pyreduce/settings/settings_METIS_LSS.json +77 -0
  106. pyreduce/settings/settings_MICADO.json +78 -0
  107. pyreduce/settings/settings_NEID.json +73 -0
  108. pyreduce/settings/settings_NIRSPEC.json +58 -0
  109. pyreduce/settings/settings_NTE.json +60 -0
  110. pyreduce/settings/settings_UVES.json +54 -0
  111. pyreduce/settings/settings_XSHOOTER.json +78 -0
  112. pyreduce/settings/settings_pyreduce.json +178 -0
  113. pyreduce/settings/settings_schema.json +827 -0
  114. pyreduce/tools/__init__.py +0 -0
  115. pyreduce/tools/combine.py +117 -0
  116. pyreduce/trace_orders.py +645 -0
  117. pyreduce/util.py +1288 -0
  118. pyreduce/wavecal/MICADO_HK_3arcsec_chip5.npz +0 -0
  119. pyreduce/wavecal/atlas/thar.fits +4946 -13
  120. pyreduce/wavecal/atlas/thar_list.txt +4172 -0
  121. pyreduce/wavecal/atlas/une.fits +0 -0
  122. pyreduce/wavecal/convert.py +38 -0
  123. pyreduce/wavecal/crires_plus_J1228_Open_det1.npz +0 -0
  124. pyreduce/wavecal/crires_plus_J1228_Open_det2.npz +0 -0
  125. pyreduce/wavecal/crires_plus_J1228_Open_det3.npz +0 -0
  126. pyreduce/wavecal/harpn_harpn_2D.npz +0 -0
  127. pyreduce/wavecal/harps_blue_2D.npz +0 -0
  128. pyreduce/wavecal/harps_blue_pol_2D.npz +0 -0
  129. pyreduce/wavecal/harps_red_2D.npz +0 -0
  130. pyreduce/wavecal/harps_red_pol_2D.npz +0 -0
  131. pyreduce/wavecal/mcdonald.npz +0 -0
  132. pyreduce/wavecal/metis_lss_l_2D.npz +0 -0
  133. pyreduce/wavecal/metis_lss_m_2D.npz +0 -0
  134. pyreduce/wavecal/nirspec_K2.npz +0 -0
  135. pyreduce/wavecal/uves_blue_360nm_2D.npz +0 -0
  136. pyreduce/wavecal/uves_blue_390nm_2D.npz +0 -0
  137. pyreduce/wavecal/uves_blue_437nm_2D.npz +0 -0
  138. pyreduce/wavecal/uves_middle_2x2_2D.npz +0 -0
  139. pyreduce/wavecal/uves_middle_565nm_2D.npz +0 -0
  140. pyreduce/wavecal/uves_middle_580nm_2D.npz +0 -0
  141. pyreduce/wavecal/uves_middle_600nm_2D.npz +0 -0
  142. pyreduce/wavecal/uves_middle_665nm_2D.npz +0 -0
  143. pyreduce/wavecal/uves_middle_860nm_2D.npz +0 -0
  144. pyreduce/wavecal/uves_red_580nm_2D.npz +0 -0
  145. pyreduce/wavecal/uves_red_600nm_2D.npz +0 -0
  146. pyreduce/wavecal/uves_red_665nm_2D.npz +0 -0
  147. pyreduce/wavecal/uves_red_760nm_2D.npz +0 -0
  148. pyreduce/wavecal/uves_red_860nm_2D.npz +0 -0
  149. pyreduce/wavecal/xshooter_nir.npz +0 -0
  150. pyreduce/wavelength_calibration.py +1873 -0
  151. pyreduce_astro-0.6.0.dist-info/METADATA +114 -0
  152. pyreduce_astro-0.6.0.dist-info/RECORD +154 -0
  153. pyreduce_astro-0.6.0.dist-info/WHEEL +6 -0
  154. pyreduce_astro-0.6.0.dist-info/licenses/LICENSE +674 -0
@@ -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_size": 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_size": 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_size": 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_size": 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_size": 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_size": 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_size": 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}.ech"
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_size": 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_size": 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
+ }