Skip to content

Commit

Permalink
add mcdonald initial wavecal
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Mar 22, 2022
1 parent 7c1b8dc commit f5676a2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyreduce/instruments/mcdonald.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def add_header_info(self, header, mode, **kwargs):
def get_wavecal_filename(self, header, mode, **kwargs):
"""Get the filename of the wavelength calibration config file"""
cwd = os.path.dirname(__file__)
fname = "{instrument}_{mode}_2D.npz".format(instrument="mcdonald", mode=mode)
fname = "mcdonald.npz"
fname = os.path.join(cwd, "..", "wavecal", fname)
return fname

Expand Down
10 changes: 6 additions & 4 deletions pyreduce/settings/settings_MCDONALD.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@
"extraction_width": 10
},
"wavecal": {
"threshold": 100,
"dimensionality": "2D",
"degree": [6, 6],
"manual": false
"threshold": 500,
"dimensionality": "1D",
"degree": 8,
"manual": false,
"element": "thar",
"medium": "vac"
},
"freq_comb_master": {
"extraction_width": 10
Expand Down
Binary file added pyreduce/wavecal/mcdonald.npz
Binary file not shown.

0 comments on commit f5676a2

Please sign in to comment.