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.
- pyreduce/__init__.py +67 -0
- pyreduce/__main__.py +322 -0
- pyreduce/cli.py +342 -0
- pyreduce/clib/Release/_slitfunc_2d.cp311-win_amd64.exp +0 -0
- pyreduce/clib/Release/_slitfunc_2d.cp311-win_amd64.lib +0 -0
- pyreduce/clib/Release/_slitfunc_2d.cp312-win_amd64.exp +0 -0
- pyreduce/clib/Release/_slitfunc_2d.cp312-win_amd64.lib +0 -0
- pyreduce/clib/Release/_slitfunc_2d.cp313-win_amd64.exp +0 -0
- pyreduce/clib/Release/_slitfunc_2d.cp313-win_amd64.lib +0 -0
- pyreduce/clib/Release/_slitfunc_2d.cp314-win_amd64.exp +0 -0
- pyreduce/clib/Release/_slitfunc_2d.cp314-win_amd64.lib +0 -0
- pyreduce/clib/Release/_slitfunc_2d.obj +0 -0
- pyreduce/clib/Release/_slitfunc_bd.cp311-win_amd64.exp +0 -0
- pyreduce/clib/Release/_slitfunc_bd.cp311-win_amd64.lib +0 -0
- pyreduce/clib/Release/_slitfunc_bd.cp312-win_amd64.exp +0 -0
- pyreduce/clib/Release/_slitfunc_bd.cp312-win_amd64.lib +0 -0
- pyreduce/clib/Release/_slitfunc_bd.cp313-win_amd64.exp +0 -0
- pyreduce/clib/Release/_slitfunc_bd.cp313-win_amd64.lib +0 -0
- pyreduce/clib/Release/_slitfunc_bd.cp314-win_amd64.exp +0 -0
- pyreduce/clib/Release/_slitfunc_bd.cp314-win_amd64.lib +0 -0
- pyreduce/clib/Release/_slitfunc_bd.obj +0 -0
- pyreduce/clib/__init__.py +0 -0
- pyreduce/clib/_slitfunc_2d.cp311-win_amd64.pyd +0 -0
- pyreduce/clib/_slitfunc_2d.cp312-win_amd64.pyd +0 -0
- pyreduce/clib/_slitfunc_2d.cp313-win_amd64.pyd +0 -0
- pyreduce/clib/_slitfunc_2d.cp314-win_amd64.pyd +0 -0
- pyreduce/clib/_slitfunc_bd.cp311-win_amd64.pyd +0 -0
- pyreduce/clib/_slitfunc_bd.cp312-win_amd64.pyd +0 -0
- pyreduce/clib/_slitfunc_bd.cp313-win_amd64.pyd +0 -0
- pyreduce/clib/_slitfunc_bd.cp314-win_amd64.pyd +0 -0
- pyreduce/clib/build_extract.py +75 -0
- pyreduce/clib/slit_func_2d_xi_zeta_bd.c +1313 -0
- pyreduce/clib/slit_func_2d_xi_zeta_bd.h +55 -0
- pyreduce/clib/slit_func_bd.c +362 -0
- pyreduce/clib/slit_func_bd.h +17 -0
- pyreduce/clipnflip.py +147 -0
- pyreduce/combine_frames.py +861 -0
- pyreduce/configuration.py +191 -0
- pyreduce/continuum_normalization.py +329 -0
- pyreduce/cwrappers.py +404 -0
- pyreduce/datasets.py +238 -0
- pyreduce/echelle.py +413 -0
- pyreduce/estimate_background_scatter.py +130 -0
- pyreduce/extract.py +1362 -0
- pyreduce/extraction_width.py +77 -0
- pyreduce/instruments/__init__.py +0 -0
- pyreduce/instruments/aj.py +9 -0
- pyreduce/instruments/aj.yaml +51 -0
- pyreduce/instruments/andes.py +102 -0
- pyreduce/instruments/andes.yaml +72 -0
- pyreduce/instruments/common.py +711 -0
- pyreduce/instruments/common.yaml +57 -0
- pyreduce/instruments/crires_plus.py +103 -0
- pyreduce/instruments/crires_plus.yaml +101 -0
- pyreduce/instruments/filters.py +195 -0
- pyreduce/instruments/harpn.py +203 -0
- pyreduce/instruments/harpn.yaml +140 -0
- pyreduce/instruments/harps.py +312 -0
- pyreduce/instruments/harps.yaml +144 -0
- pyreduce/instruments/instrument_info.py +140 -0
- pyreduce/instruments/jwst_miri.py +29 -0
- pyreduce/instruments/jwst_miri.yaml +53 -0
- pyreduce/instruments/jwst_niriss.py +98 -0
- pyreduce/instruments/jwst_niriss.yaml +60 -0
- pyreduce/instruments/lick_apf.py +35 -0
- pyreduce/instruments/lick_apf.yaml +60 -0
- pyreduce/instruments/mcdonald.py +123 -0
- pyreduce/instruments/mcdonald.yaml +56 -0
- pyreduce/instruments/metis_ifu.py +45 -0
- pyreduce/instruments/metis_ifu.yaml +62 -0
- pyreduce/instruments/metis_lss.py +45 -0
- pyreduce/instruments/metis_lss.yaml +62 -0
- pyreduce/instruments/micado.py +45 -0
- pyreduce/instruments/micado.yaml +62 -0
- pyreduce/instruments/models.py +257 -0
- pyreduce/instruments/neid.py +156 -0
- pyreduce/instruments/neid.yaml +61 -0
- pyreduce/instruments/nirspec.py +215 -0
- pyreduce/instruments/nirspec.yaml +63 -0
- pyreduce/instruments/nte.py +42 -0
- pyreduce/instruments/nte.yaml +55 -0
- pyreduce/instruments/uves.py +46 -0
- pyreduce/instruments/uves.yaml +65 -0
- pyreduce/instruments/xshooter.py +39 -0
- pyreduce/instruments/xshooter.yaml +63 -0
- pyreduce/make_shear.py +607 -0
- pyreduce/masks/mask_crires_plus_det1.fits.gz +0 -0
- pyreduce/masks/mask_crires_plus_det2.fits.gz +0 -0
- pyreduce/masks/mask_crires_plus_det3.fits.gz +0 -0
- pyreduce/masks/mask_ctio_chiron.fits.gz +0 -0
- pyreduce/masks/mask_elodie.fits.gz +0 -0
- pyreduce/masks/mask_feros3.fits.gz +0 -0
- pyreduce/masks/mask_flames_giraffe.fits.gz +0 -0
- pyreduce/masks/mask_harps_blue.fits.gz +0 -0
- pyreduce/masks/mask_harps_red.fits.gz +0 -0
- pyreduce/masks/mask_hds_blue.fits.gz +0 -0
- pyreduce/masks/mask_hds_red.fits.gz +0 -0
- pyreduce/masks/mask_het_hrs_2x5.fits.gz +0 -0
- pyreduce/masks/mask_jwst_miri_lrs_slitless.fits.gz +0 -0
- pyreduce/masks/mask_jwst_niriss_gr700xd.fits.gz +0 -0
- pyreduce/masks/mask_lick_apf_.fits.gz +0 -0
- pyreduce/masks/mask_mcdonald.fits.gz +0 -0
- pyreduce/masks/mask_nes.fits.gz +0 -0
- pyreduce/masks/mask_nirspec_nirspec.fits.gz +0 -0
- pyreduce/masks/mask_sarg.fits.gz +0 -0
- pyreduce/masks/mask_sarg_2x2a.fits.gz +0 -0
- pyreduce/masks/mask_sarg_2x2b.fits.gz +0 -0
- pyreduce/masks/mask_subaru_hds_red.fits.gz +0 -0
- pyreduce/masks/mask_uves_blue.fits.gz +0 -0
- pyreduce/masks/mask_uves_blue_binned_2_2.fits.gz +0 -0
- pyreduce/masks/mask_uves_middle.fits.gz +0 -0
- pyreduce/masks/mask_uves_middle_2x2_split.fits.gz +0 -0
- pyreduce/masks/mask_uves_middle_binned_2_2.fits.gz +0 -0
- pyreduce/masks/mask_uves_red.fits.gz +0 -0
- pyreduce/masks/mask_uves_red_2x2.fits.gz +0 -0
- pyreduce/masks/mask_uves_red_2x2_split.fits.gz +0 -0
- pyreduce/masks/mask_uves_red_binned_2_2.fits.gz +0 -0
- pyreduce/masks/mask_xshooter_nir.fits.gz +0 -0
- pyreduce/pipeline.py +619 -0
- pyreduce/rectify.py +138 -0
- pyreduce/reduce.py +2065 -0
- pyreduce/settings/settings_AJ.json +19 -0
- pyreduce/settings/settings_ANDES.json +89 -0
- pyreduce/settings/settings_CRIRES_PLUS.json +89 -0
- pyreduce/settings/settings_HARPN.json +73 -0
- pyreduce/settings/settings_HARPS.json +69 -0
- pyreduce/settings/settings_JWST_MIRI.json +55 -0
- pyreduce/settings/settings_JWST_NIRISS.json +55 -0
- pyreduce/settings/settings_LICK_APF.json +62 -0
- pyreduce/settings/settings_MCDONALD.json +58 -0
- pyreduce/settings/settings_METIS_IFU.json +77 -0
- pyreduce/settings/settings_METIS_LSS.json +77 -0
- pyreduce/settings/settings_MICADO.json +78 -0
- pyreduce/settings/settings_NEID.json +73 -0
- pyreduce/settings/settings_NIRSPEC.json +58 -0
- pyreduce/settings/settings_NTE.json +60 -0
- pyreduce/settings/settings_UVES.json +54 -0
- pyreduce/settings/settings_XSHOOTER.json +78 -0
- pyreduce/settings/settings_pyreduce.json +184 -0
- pyreduce/settings/settings_schema.json +850 -0
- pyreduce/tools/__init__.py +0 -0
- pyreduce/tools/combine.py +117 -0
- pyreduce/trace.py +979 -0
- pyreduce/util.py +1366 -0
- pyreduce/wavecal/MICADO_HK_3arcsec_chip5.npz +0 -0
- pyreduce/wavecal/atlas/thar.fits +4946 -13
- pyreduce/wavecal/atlas/thar_list.txt +4172 -0
- pyreduce/wavecal/atlas/une.fits +0 -0
- pyreduce/wavecal/convert.py +38 -0
- pyreduce/wavecal/crires_plus_J1228_Open_det1.npz +0 -0
- pyreduce/wavecal/crires_plus_J1228_Open_det2.npz +0 -0
- pyreduce/wavecal/crires_plus_J1228_Open_det3.npz +0 -0
- pyreduce/wavecal/harpn_harpn_2D.npz +0 -0
- pyreduce/wavecal/harps_blue_2D.npz +0 -0
- pyreduce/wavecal/harps_blue_pol_2D.npz +0 -0
- pyreduce/wavecal/harps_red_2D.npz +0 -0
- pyreduce/wavecal/harps_red_pol_2D.npz +0 -0
- pyreduce/wavecal/mcdonald.npz +0 -0
- pyreduce/wavecal/metis_lss_l_2D.npz +0 -0
- pyreduce/wavecal/metis_lss_m_2D.npz +0 -0
- pyreduce/wavecal/nirspec_K2.npz +0 -0
- pyreduce/wavecal/uves_blue_360nm_2D.npz +0 -0
- pyreduce/wavecal/uves_blue_390nm_2D.npz +0 -0
- pyreduce/wavecal/uves_blue_437nm_2D.npz +0 -0
- pyreduce/wavecal/uves_middle_2x2_2D.npz +0 -0
- pyreduce/wavecal/uves_middle_565nm_2D.npz +0 -0
- pyreduce/wavecal/uves_middle_580nm_2D.npz +0 -0
- pyreduce/wavecal/uves_middle_600nm_2D.npz +0 -0
- pyreduce/wavecal/uves_middle_665nm_2D.npz +0 -0
- pyreduce/wavecal/uves_middle_860nm_2D.npz +0 -0
- pyreduce/wavecal/uves_red_580nm_2D.npz +0 -0
- pyreduce/wavecal/uves_red_600nm_2D.npz +0 -0
- pyreduce/wavecal/uves_red_665nm_2D.npz +0 -0
- pyreduce/wavecal/uves_red_760nm_2D.npz +0 -0
- pyreduce/wavecal/uves_red_860nm_2D.npz +0 -0
- pyreduce/wavecal/xshooter_nir.npz +0 -0
- pyreduce/wavelength_calibration.py +1871 -0
- pyreduce_astro-0.7a4.dist-info/METADATA +106 -0
- pyreduce_astro-0.7a4.dist-info/RECORD +182 -0
- pyreduce_astro-0.7a4.dist-info/WHEEL +4 -0
- pyreduce_astro-0.7a4.dist-info/entry_points.txt +2 -0
- pyreduce_astro-0.7a4.dist-info/licenses/LICENSE +674 -0
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"__instrument__": "MICADO",
|
|
3
|
+
"flat":{
|
|
4
|
+
"bias_scaling": "number_of_files"
|
|
5
|
+
},
|
|
6
|
+
"orders": {
|
|
7
|
+
"degree": 5,
|
|
8
|
+
"degree_before_merge": "best",
|
|
9
|
+
"bias_scaling": "exposure_time",
|
|
10
|
+
"filter_y": 300,
|
|
11
|
+
"min_cluster": 500,
|
|
12
|
+
"noise": 100,
|
|
13
|
+
"border_width": 5,
|
|
14
|
+
"auto_merge_threshold": 0.9,
|
|
15
|
+
"merge_min_threshold": 0.01,
|
|
16
|
+
"manual": true,
|
|
17
|
+
"min_width": 0
|
|
18
|
+
},
|
|
19
|
+
"scatter": {
|
|
20
|
+
"bias_scaling": "number_of_files",
|
|
21
|
+
"extraction_width": 0.45,
|
|
22
|
+
"border_width": 20
|
|
23
|
+
},
|
|
24
|
+
"norm_flat": {
|
|
25
|
+
"smooth_slitfunction": 1e3,
|
|
26
|
+
"smooth_spectrum": 1e-7,
|
|
27
|
+
"extraction_width": 0.14,
|
|
28
|
+
"oversampling": 12,
|
|
29
|
+
"swath_width": 200,
|
|
30
|
+
"threshold": 1000
|
|
31
|
+
},
|
|
32
|
+
"curvature": {
|
|
33
|
+
"extraction_method": "arc",
|
|
34
|
+
"dimensionality": "2D",
|
|
35
|
+
"curv_degree": 1,
|
|
36
|
+
"collapse_function": "mean",
|
|
37
|
+
"extraction_width": 350,
|
|
38
|
+
"extraction_cutoff": 10,
|
|
39
|
+
"curvature_cutoff": 10,
|
|
40
|
+
"peak_threshold": 10,
|
|
41
|
+
"peak_width":2,
|
|
42
|
+
"window_width": 5,
|
|
43
|
+
"peak_function": "lorentzian",
|
|
44
|
+
"bias_scaling": "exposure_time",
|
|
45
|
+
"degree": [
|
|
46
|
+
1,
|
|
47
|
+
1
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"wavecal_master": {
|
|
51
|
+
"extraction_method": "arc",
|
|
52
|
+
"collapse_function": "mean",
|
|
53
|
+
"extraction_width": 350,
|
|
54
|
+
"extraction_cutoff": 20,
|
|
55
|
+
"bias_scaling": "exposure_time"
|
|
56
|
+
},
|
|
57
|
+
"wavecal": {
|
|
58
|
+
"extraction_method": "optimal",
|
|
59
|
+
"bias_scaling": "number_of_files",
|
|
60
|
+
"threshold": 80,
|
|
61
|
+
"iterations": 3,
|
|
62
|
+
"dimensionality": "2D",
|
|
63
|
+
"extraction_width": 350,
|
|
64
|
+
"degree": [
|
|
65
|
+
5,
|
|
66
|
+
5
|
|
67
|
+
],
|
|
68
|
+
"manual": true,
|
|
69
|
+
"shift_window": 0.1
|
|
70
|
+
},
|
|
71
|
+
"science": {
|
|
72
|
+
"oversampling": 10,
|
|
73
|
+
"extraction_width": 0.14235,
|
|
74
|
+
"swath_width": 400,
|
|
75
|
+
"smooth_slitfunction": 2,
|
|
76
|
+
"smooth_spectrum": 0.5e-5
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -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,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"__instrument__": "NIRSPEC",
|
|
3
|
+
"instrument": {
|
|
4
|
+
"#": "The calibration dir points to the location of the calibration data, since the default data download seperates the science and the calibration into different directories. It is relative to the science directory.",
|
|
5
|
+
"calibration_dir": ""
|
|
6
|
+
},
|
|
7
|
+
"orders": {
|
|
8
|
+
"degree": 4,
|
|
9
|
+
"filter_y": 50,
|
|
10
|
+
"min_cluster": 2000,
|
|
11
|
+
"border_width": 0,
|
|
12
|
+
"noise": 40,
|
|
13
|
+
"merge_min_threshold": 0.2,
|
|
14
|
+
"manual": true
|
|
15
|
+
},
|
|
16
|
+
"scatter": {
|
|
17
|
+
"extraction_width": 35
|
|
18
|
+
},
|
|
19
|
+
"norm_flat": {
|
|
20
|
+
"smooth_slitfunction": 2,
|
|
21
|
+
"smooth_spectrum": 0,
|
|
22
|
+
"extraction_width": 35,
|
|
23
|
+
"oversampling": 12,
|
|
24
|
+
"swath_width": 300,
|
|
25
|
+
"threshold": 1000
|
|
26
|
+
},
|
|
27
|
+
"wavecal_master": {
|
|
28
|
+
"extraction_width": 0.25
|
|
29
|
+
},
|
|
30
|
+
"wavecal": {
|
|
31
|
+
"threshold": 100,
|
|
32
|
+
"dimensionality": "2D",
|
|
33
|
+
"degree": [2, 6],
|
|
34
|
+
"manual": false
|
|
35
|
+
},
|
|
36
|
+
"freq_comb_master": {
|
|
37
|
+
"extraction_width": 0.25
|
|
38
|
+
},
|
|
39
|
+
"freq_comb": {
|
|
40
|
+
"dimensionality": "2D",
|
|
41
|
+
"degree": [6, 6]
|
|
42
|
+
},
|
|
43
|
+
"curvature": {
|
|
44
|
+
"extraction_width": 35,
|
|
45
|
+
"dimensionality": "1D",
|
|
46
|
+
"degree": 2
|
|
47
|
+
},
|
|
48
|
+
"science": {
|
|
49
|
+
"oversampling": 10,
|
|
50
|
+
"extraction_width": [35, 35],
|
|
51
|
+
"swath_width": 300,
|
|
52
|
+
"smooth_slitfunction": 0.3,
|
|
53
|
+
"smooth_spectrum": 0
|
|
54
|
+
},
|
|
55
|
+
"finalize": {
|
|
56
|
+
"filename": "{input}.fits"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./settings_schema.json",
|
|
3
|
+
"__instrument__": "NTE",
|
|
4
|
+
"orders": {
|
|
5
|
+
"degree": 5,
|
|
6
|
+
"filter_y": 80,
|
|
7
|
+
"min_cluster": 200,
|
|
8
|
+
"noise": 8,
|
|
9
|
+
"manual": false
|
|
10
|
+
},
|
|
11
|
+
"scatter": {
|
|
12
|
+
"extraction_width": 0.5,
|
|
13
|
+
"scatter_degree": 2
|
|
14
|
+
},
|
|
15
|
+
"norm_flat": {
|
|
16
|
+
"threshold": 1000,
|
|
17
|
+
"extraction_width": 0.45,
|
|
18
|
+
"smooth_slitfunction": 10,
|
|
19
|
+
"maxiter": 100,
|
|
20
|
+
"swath_width": 512,
|
|
21
|
+
"threshold_lower": 0.001
|
|
22
|
+
},
|
|
23
|
+
"wavecal_master": {
|
|
24
|
+
"collapse_function": "sum",
|
|
25
|
+
"extraction_width": 0.5
|
|
26
|
+
},
|
|
27
|
+
"wavecal_init": {
|
|
28
|
+
"element": "sky"
|
|
29
|
+
},
|
|
30
|
+
"wavecal": {
|
|
31
|
+
},
|
|
32
|
+
"freq_comb_master":{
|
|
33
|
+
"extraction_method": "optimal",
|
|
34
|
+
"extraction_width": 0.45,
|
|
35
|
+
"oversampling": 10,
|
|
36
|
+
"swath_width": 300,
|
|
37
|
+
"maxiter": 20,
|
|
38
|
+
"smooth_slitfunction": 0.1,
|
|
39
|
+
"smooth_spectrum": 1e-7,
|
|
40
|
+
"extraction_cutoff": 20,
|
|
41
|
+
"norm_scaling": "none"
|
|
42
|
+
},
|
|
43
|
+
"freq_comb": {
|
|
44
|
+
},
|
|
45
|
+
"curvature": {
|
|
46
|
+
"extraction_method": "arc",
|
|
47
|
+
"collapse_function": "sum",
|
|
48
|
+
"extraction_width": 0.5,
|
|
49
|
+
"peak_threshold": 0.1,
|
|
50
|
+
"peak_width": 1,
|
|
51
|
+
"window_width": 5,
|
|
52
|
+
"dimensionality": "2D",
|
|
53
|
+
"degree": [1, 1],
|
|
54
|
+
"curv_degree": 1,
|
|
55
|
+
"peak_function": "gaussian",
|
|
56
|
+
"bias_scaling": "exposure_time"
|
|
57
|
+
},
|
|
58
|
+
"science": {
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./settings_schema.json",
|
|
3
|
+
"__instrument__": "UVES",
|
|
4
|
+
"orders": {
|
|
5
|
+
"degree": 5,
|
|
6
|
+
"filter_y": 80,
|
|
7
|
+
"min_cluster": 2000,
|
|
8
|
+
"noise": 8,
|
|
9
|
+
"manual": true,
|
|
10
|
+
"split_sigma": 5
|
|
11
|
+
},
|
|
12
|
+
"scatter": {
|
|
13
|
+
"extraction_width": 0.45,
|
|
14
|
+
"border_width": 20
|
|
15
|
+
},
|
|
16
|
+
"norm_flat": {
|
|
17
|
+
"smooth_slitfunction": 2,
|
|
18
|
+
"smooth_spectrum": 0,
|
|
19
|
+
"extraction_width": 0.45,
|
|
20
|
+
"oversampling": 8,
|
|
21
|
+
"swath_width": 200,
|
|
22
|
+
"threshold": 1000
|
|
23
|
+
},
|
|
24
|
+
"wavecal_master": {
|
|
25
|
+
},
|
|
26
|
+
"wavecal_init": {
|
|
27
|
+
},
|
|
28
|
+
"wavecal": {
|
|
29
|
+
"threshold": 100,
|
|
30
|
+
"dimensionality": "2D",
|
|
31
|
+
"degree": [6, 6],
|
|
32
|
+
"shift_window": 0.01,
|
|
33
|
+
"manual": false
|
|
34
|
+
},
|
|
35
|
+
"freq_comb_master":{
|
|
36
|
+
},
|
|
37
|
+
"freq_comb": {
|
|
38
|
+
"dimensionality": "2D",
|
|
39
|
+
"degree": [6, 6]
|
|
40
|
+
},
|
|
41
|
+
"curvature": {
|
|
42
|
+
"dimensionality": "1D",
|
|
43
|
+
"degree": 1,
|
|
44
|
+
"curv_degree": 1,
|
|
45
|
+
"peak_width": 1
|
|
46
|
+
},
|
|
47
|
+
"science": {
|
|
48
|
+
"oversampling": 8,
|
|
49
|
+
"extraction_width": 0.2,
|
|
50
|
+
"swath_width": 300,
|
|
51
|
+
"smooth_slitfunction": 0.1,
|
|
52
|
+
"smooth_spectrum": 0
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"__instrument__": "XSHOOTER",
|
|
3
|
+
"bias": {
|
|
4
|
+
"degree": 1
|
|
5
|
+
},
|
|
6
|
+
"flat":{
|
|
7
|
+
"bias_scaling": "exposure_time"
|
|
8
|
+
},
|
|
9
|
+
"orders": {
|
|
10
|
+
"degree": 5,
|
|
11
|
+
"degree_before_merge": 2,
|
|
12
|
+
"bias_scaling": "exposure_time",
|
|
13
|
+
"filter_y": 20,
|
|
14
|
+
"min_cluster": 500,
|
|
15
|
+
"noise": 10,
|
|
16
|
+
"border_width": 50,
|
|
17
|
+
"auto_merge_threshold": 0.7,
|
|
18
|
+
"merge_min_threshold": 0.4,
|
|
19
|
+
"manual": true,
|
|
20
|
+
"min_width": 0
|
|
21
|
+
},
|
|
22
|
+
"scatter": {
|
|
23
|
+
"bias_scaling": "exposure_time",
|
|
24
|
+
"extraction_width": 0.45,
|
|
25
|
+
"border_width": 20
|
|
26
|
+
},
|
|
27
|
+
"norm_flat": {
|
|
28
|
+
"smooth_slitfunction": 1e3,
|
|
29
|
+
"smooth_spectrum": 1e-7,
|
|
30
|
+
"extraction_width": 0.5,
|
|
31
|
+
"oversampling": 12,
|
|
32
|
+
"swath_width": 200,
|
|
33
|
+
"threshold": 1000
|
|
34
|
+
},
|
|
35
|
+
"curvature": {
|
|
36
|
+
"bias_scaling": "exposure_time",
|
|
37
|
+
"dimensionality": "2D",
|
|
38
|
+
"curv_degree": 1,
|
|
39
|
+
"extraction_width": 0.45,
|
|
40
|
+
"degree": [
|
|
41
|
+
1,
|
|
42
|
+
1
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"wavecal_master": {
|
|
46
|
+
"extraction_method": "arc",
|
|
47
|
+
"bias_scaling": "exposure_time"
|
|
48
|
+
},
|
|
49
|
+
"wavecal": {
|
|
50
|
+
"threshold": 200,
|
|
51
|
+
"iterations": 3,
|
|
52
|
+
"dimensionality": "2D",
|
|
53
|
+
"degree": [
|
|
54
|
+
7,
|
|
55
|
+
8
|
|
56
|
+
],
|
|
57
|
+
"manual": false,
|
|
58
|
+
"shift_window": 0
|
|
59
|
+
},
|
|
60
|
+
"freq_comb_master": {
|
|
61
|
+
"bias_scaling": "exposure_time"
|
|
62
|
+
},
|
|
63
|
+
"freq_comb": {
|
|
64
|
+
"dimensionality": "2D",
|
|
65
|
+
"degree": [
|
|
66
|
+
6,
|
|
67
|
+
6
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"science": {
|
|
71
|
+
"bias_scaling": "exposure_time",
|
|
72
|
+
"oversampling": 10,
|
|
73
|
+
"extraction_width": 0.45,
|
|
74
|
+
"swath_width": 400,
|
|
75
|
+
"smooth_slitfunction": 2,
|
|
76
|
+
"smooth_spectrum": 0.5e-5
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./settings_schema.json",
|
|
3
|
+
"__instrument__": "DEFAULT",
|
|
4
|
+
"reduce": {
|
|
5
|
+
"base_dir": "./",
|
|
6
|
+
"input_dir": "raw",
|
|
7
|
+
"output_dir": "reduced"
|
|
8
|
+
},
|
|
9
|
+
"instrument": {},
|
|
10
|
+
"mask": {},
|
|
11
|
+
"bias": {
|
|
12
|
+
"degree": 0,
|
|
13
|
+
"plot": true,
|
|
14
|
+
"plot_title": "Bias"
|
|
15
|
+
},
|
|
16
|
+
"flat": {
|
|
17
|
+
"bias_scaling": "number_of_files",
|
|
18
|
+
"norm_scaling": "none",
|
|
19
|
+
"plot": true,
|
|
20
|
+
"plot_title": "Flat"
|
|
21
|
+
},
|
|
22
|
+
"orders": {
|
|
23
|
+
"degree": 4,
|
|
24
|
+
"degree_before_merge": 2,
|
|
25
|
+
"bias_scaling": "number_of_files",
|
|
26
|
+
"norm_scaling": "none",
|
|
27
|
+
"regularization": 0,
|
|
28
|
+
"closing_shape": [
|
|
29
|
+
5,
|
|
30
|
+
5
|
|
31
|
+
],
|
|
32
|
+
"opening_shape": [
|
|
33
|
+
2,
|
|
34
|
+
2
|
|
35
|
+
],
|
|
36
|
+
"auto_merge_threshold": 0.9,
|
|
37
|
+
"merge_min_threshold": 0.1,
|
|
38
|
+
"split_sigma": 0,
|
|
39
|
+
"filter_x": 0,
|
|
40
|
+
"filter_y": null,
|
|
41
|
+
"filter_type": "boxcar",
|
|
42
|
+
"min_cluster": null,
|
|
43
|
+
"min_width": null,
|
|
44
|
+
"noise": null,
|
|
45
|
+
"border_width": null,
|
|
46
|
+
"manual": true,
|
|
47
|
+
"plot": true,
|
|
48
|
+
"plot_title": "Order Tracing"
|
|
49
|
+
},
|
|
50
|
+
"scatter": {
|
|
51
|
+
"scatter_degree": 4,
|
|
52
|
+
"scatter_cutoff": 2,
|
|
53
|
+
"border_width": null,
|
|
54
|
+
"extraction_width": 0.3,
|
|
55
|
+
"bias_scaling": "number_of_files",
|
|
56
|
+
"norm_scaling": "divide",
|
|
57
|
+
"plot": true,
|
|
58
|
+
"plot_title": "Background Scatter"
|
|
59
|
+
},
|
|
60
|
+
"norm_flat": {
|
|
61
|
+
"extraction_method": "normalize",
|
|
62
|
+
"smooth_slitfunction": 4,
|
|
63
|
+
"smooth_spectrum": 1e-7,
|
|
64
|
+
"oversampling": 10,
|
|
65
|
+
"maxiter": 20,
|
|
66
|
+
"swath_width": 200,
|
|
67
|
+
"extraction_width": 0.2,
|
|
68
|
+
"threshold": 0.6,
|
|
69
|
+
"threshold_lower": 0,
|
|
70
|
+
"extraction_cutoff": 20,
|
|
71
|
+
"plot": true,
|
|
72
|
+
"plot_title": "Normalized Flat"
|
|
73
|
+
},
|
|
74
|
+
"wavecal_master": {
|
|
75
|
+
"extraction_method": "arc",
|
|
76
|
+
"collapse_function": "median",
|
|
77
|
+
"extraction_width": 0.5,
|
|
78
|
+
"extraction_cutoff": 20,
|
|
79
|
+
"bias_scaling": "number_of_files",
|
|
80
|
+
"norm_scaling": "divide",
|
|
81
|
+
"maxiter": 20,
|
|
82
|
+
"plot": true,
|
|
83
|
+
"plot_title": "Wavelength Calibration Spectrum"
|
|
84
|
+
},
|
|
85
|
+
"wavecal_init": {
|
|
86
|
+
"degree": 2,
|
|
87
|
+
"element": "thar",
|
|
88
|
+
"medium": "vac",
|
|
89
|
+
"wave_delta": 20,
|
|
90
|
+
"nwalkers": 100,
|
|
91
|
+
"steps": 50000,
|
|
92
|
+
"resid_delta": 1000,
|
|
93
|
+
"cutoff": 0.01,
|
|
94
|
+
"smoothing": 0,
|
|
95
|
+
"plot": true,
|
|
96
|
+
"plot_title": "Wavelength Calibration Initial"
|
|
97
|
+
},
|
|
98
|
+
"wavecal": {
|
|
99
|
+
"manual": false,
|
|
100
|
+
"threshold": 100,
|
|
101
|
+
"iterations": 3,
|
|
102
|
+
"dimensionality": "2D",
|
|
103
|
+
"degree": [
|
|
104
|
+
6,
|
|
105
|
+
6
|
|
106
|
+
],
|
|
107
|
+
"nstep": 0,
|
|
108
|
+
"correlate_cols": 0,
|
|
109
|
+
"shift_window": 0.01,
|
|
110
|
+
"element": "thar",
|
|
111
|
+
"medium": "vac",
|
|
112
|
+
"plot": true,
|
|
113
|
+
"plot_title": "Wavelength Calibration"
|
|
114
|
+
},
|
|
115
|
+
"freq_comb_master":{
|
|
116
|
+
"extraction_method": "arc",
|
|
117
|
+
"collapse_function": "median",
|
|
118
|
+
"extraction_width": 0.5,
|
|
119
|
+
"extraction_cutoff": 20,
|
|
120
|
+
"bias_scaling": "number_of_files",
|
|
121
|
+
"norm_scaling": "divide",
|
|
122
|
+
"plot": true,
|
|
123
|
+
"plot_title": "Frequency Comb Spectrum"
|
|
124
|
+
},
|
|
125
|
+
"freq_comb": {
|
|
126
|
+
"lfc_peak_width": 3,
|
|
127
|
+
"dimensionality": "2D",
|
|
128
|
+
"nstep": 0,
|
|
129
|
+
"degree": [
|
|
130
|
+
6,
|
|
131
|
+
6
|
|
132
|
+
],
|
|
133
|
+
"threshold": 100,
|
|
134
|
+
"plot": true,
|
|
135
|
+
"plot_title": "Frequency Comb"
|
|
136
|
+
},
|
|
137
|
+
"curvature": {
|
|
138
|
+
"dimensionality": "1D",
|
|
139
|
+
"degree": 2,
|
|
140
|
+
"curv_degree": 2,
|
|
141
|
+
"extraction_method": "arc",
|
|
142
|
+
"collapse_function": "median",
|
|
143
|
+
"extraction_width": 0.2,
|
|
144
|
+
"curvature_cutoff": 3,
|
|
145
|
+
"extraction_cutoff": 20,
|
|
146
|
+
"peak_threshold": 10,
|
|
147
|
+
"peak_width": 1,
|
|
148
|
+
"window_width": 9,
|
|
149
|
+
"peak_function": "gaussian",
|
|
150
|
+
"bias_scaling": "number_of_files",
|
|
151
|
+
"norm_scaling": "divide",
|
|
152
|
+
"plot": true,
|
|
153
|
+
"plot_title": "Slit Curvature"
|
|
154
|
+
},
|
|
155
|
+
"rectify": {
|
|
156
|
+
"extraction_width": 0.5,
|
|
157
|
+
"input_files": "science",
|
|
158
|
+
"plot": true,
|
|
159
|
+
"plot_title": "Rectified Image"
|
|
160
|
+
},
|
|
161
|
+
"science": {
|
|
162
|
+
"extraction_method": "optimal",
|
|
163
|
+
"extraction_width": 0.25,
|
|
164
|
+
"oversampling": 10,
|
|
165
|
+
"swath_width": 300,
|
|
166
|
+
"maxiter": 20,
|
|
167
|
+
"smooth_slitfunction": 0.1,
|
|
168
|
+
"smooth_spectrum": 1e-7,
|
|
169
|
+
"extraction_cutoff": 20,
|
|
170
|
+
"bias_scaling": "number_of_files",
|
|
171
|
+
"norm_scaling": "divide",
|
|
172
|
+
"plot": true,
|
|
173
|
+
"plot_title": "Science Data"
|
|
174
|
+
},
|
|
175
|
+
"continuum": {
|
|
176
|
+
"plot": true,
|
|
177
|
+
"plot_title": "Continuum Normalization"
|
|
178
|
+
},
|
|
179
|
+
"finalize": {
|
|
180
|
+
"filename": "{instrument}.{night}_{number}.final.fits",
|
|
181
|
+
"plot": true,
|
|
182
|
+
"plot_title": "Final Science Product"
|
|
183
|
+
}
|
|
184
|
+
}
|