diff --git a/sphere/IRDIS/SpectroReduction.py b/sphere/IRDIS/SpectroReduction.py index c53bac7..18e7076 100644 --- a/sphere/IRDIS/SpectroReduction.py +++ b/sphere/IRDIS/SpectroReduction.py @@ -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 @@ -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: @@ -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