-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wave rms refactor #1672
wave rms refactor #1672
Changes from 8 commits
804a451
7120c9c
8833ff9
f5c3d29
0f9c8de
861ac97
71d36f7
0fe4451
12eb635
222545b
254c7f8
1207c19
92195df
a110d41
d896dab
ad36b23
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -322,7 +322,8 @@ def config_specific_par(self, scifile, inp_par=None): | |
par['calibrations']['slitedges']['fit_min_spec_length'] = 0.5 | ||
|
||
# Wavelengths | ||
par['calibrations']['wavelengths']['rms_threshold'] = 1.0 # Might be grating dependent.. | ||
par['calibrations']['wavelengths']['rms_thresh_frac_fwhm'] = 0.4 # Might be grating dependent.. | ||
par['calibrations']['wavelengths']['fwhm'] = 2.5 | ||
par['calibrations']['wavelengths']['sigdetect'] = 5.0 | ||
par['calibrations']['wavelengths']['lamps'] = ['OH_GNIRS'] | ||
# par['calibrations']['wavelengths']['nonlinear_counts'] = self.detector[0]['nonlinear'] * self.detector[0]['saturation'] | ||
|
@@ -354,7 +355,7 @@ def config_specific_par(self, scifile, inp_par=None): | |
par['calibrations']['slitedges']['sync_predict'] = 'nearest' | ||
|
||
# Wavelengths | ||
par['calibrations']['wavelengths']['rms_threshold'] = 1.0 # Might be grating dependent.. | ||
par['calibrations']['wavelengths']['rms_thresh_frac_fwhm'] = 1.0 # Might be grating dependent.. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here. we should inspect the solutions for GNIRS and see if this makes sense.. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I may have forgotten to change this. I checked the values in the Dev Suite and rms is ~0.1 (fwhm ~3pixels), so I changed this to 0.05 |
||
par['calibrations']['wavelengths']['sigdetect'] = 5.0 | ||
par['calibrations']['wavelengths']['lamps'] = ['Ar_IR_GNIRS'] | ||
# par['calibrations']['wavelengths']['nonlinear_counts'] = self.detector[0]['nonlinear'] * self.detector[0]['saturation'] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,7 +145,8 @@ def default_pypeit_par(cls): | |
|
||
# Wavelengths | ||
# 1D wavelength solution with OH lines | ||
par['calibrations']['wavelengths']['rms_threshold'] = 1.0 | ||
par['calibrations']['wavelengths']['rms_thresh_frac_fwhm'] = 0.2 | ||
par['calibrations']['wavelengths']['fwhm'] = 5. | ||
par['calibrations']['wavelengths']['sigdetect']=[5,10,10,10,10,20,30,30,30,30,30,10,30,30,60,30,30,10,20,30,10] | ||
par['calibrations']['wavelengths']['n_first']=2 | ||
par['calibrations']['wavelengths']['n_final']=[3,3,3,2,4,4,4,3,4,4,4,3,4,4,4,4,4,4,6,6,4] | ||
|
@@ -391,9 +392,9 @@ def default_pypeit_par(cls): | |
|
||
# Wavelengths | ||
# 1D wavelength solution with arc lines | ||
par['calibrations']['wavelengths']['rms_threshold'] = 1.0 | ||
par['calibrations']['wavelengths']['rms_thresh_frac_fwhm'] = 0.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should this be 0.05 given we reduced the FWHM? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I changed to 0.05, but it does not matter much, since FIRE long uses the |
||
par['calibrations']['wavelengths']['sigdetect']=3 | ||
par['calibrations']['wavelengths']['fwhm'] = 20 | ||
par['calibrations']['wavelengths']['fwhm'] = 10 | ||
par['calibrations']['wavelengths']['n_first']=2 | ||
par['calibrations']['wavelengths']['n_final']=4 | ||
par['calibrations']['wavelengths']['lamps'] = ['ArI', 'ArII', 'ThAr', 'NeI'] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am a bit surprised at how high this is, but it was before.
@jhennawi -- does this make sense to you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know where I got 2.5 for
fwhm
, it's more like 4 (the default) from the dev suite. I changed that. The RMS values for32/mm
are pretty high in the Dev Suite (even before these changes), the calibration wasn't that great. See below.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.