Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
avigan committed Jul 2, 2020
1 parent c22c857 commit 799c8d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sphere/IRDIS/SpectroReduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_wavelength_calibration(filter_comb, wave_calib, centers, wave_min, wave_
wave_map[(wave_map < wave_min) | (wave_max < wave_map)] = np.nan

if filter_comb == 'S_LR':
wave_map[:, 650:] = np.nan
wave_map[:, 630:] = np.nan
wave_map[:, :400] = np.nan

wave_ext = 10
Expand Down Expand Up @@ -1828,6 +1828,8 @@ def sph_ird_wavelength_recalibration(self, fit_scaling=True, plot=True):
use_d = ' <=='
use_r = ''
use_f = ''

wave_final[:, fidx] = wave
elif filter_comb == 'S_MR':
use_d = ''
if fit_scaling:
Expand Down Expand Up @@ -2080,7 +2082,7 @@ def sph_ird_combine_data(self, cpix=True, psf_dim=80, science_dim=800, correct_m
# final arrays
psf_cube = np.zeros((2, nfiles, nwave, psf_dim))
psf_posang = np.zeros(nfiles)

# final center
if cpix:
cc = psf_dim // 2
Expand Down

0 comments on commit 799c8d5

Please sign in to comment.