Loading .gitignore +2 −0 Original line number Diff line number Diff line Loading @@ -162,3 +162,5 @@ dmypy.json /DataReductionGIANOB/Files/Configuration_Path/* /DataReductionGIANOB/Files/Configuration_Path/ !/DataReductionGIANOB/Files/Configuration_Path/.gitkeep /DataReductionGIANOB/test_new_phase_njd.py /data_out/ DataReductionGIANOB/Frame_Gofio.py +6 −4 Original line number Diff line number Diff line Loading @@ -1772,8 +1772,9 @@ class Frame_Gofio: def wcal_auto(self): target = self.chosen_target_var.get() _, _, _, _, _, _, _, _, _, _, vsys, _, _, _, _, stellar_teff, _, _, _, _, _, _, _, _, _ = DataInterface.get_target_info( self.path_target, target) _, _, _, _, _, _, _, _, _, _, vsys, _, _, _, _, stellar_teff, _, _, _, _, _, _, _, _, _, _, _ = DataInterface.get_target_info( self.path_target, target ) instrument = self.chosen_instrument_var_post.get() with open(str(Path(self.path_default, "DataReductionGIANOB", "Instruments", instrument + ".yaml")), "r") as f: yaml_file = yaml.safe_load(f) Loading Loading @@ -1858,8 +1859,9 @@ class Frame_Gofio: def test_wlen_calib(self): target = self.chosen_target_var.get() _, _, _, _, _, _, _, _, _, _, vsys, _, _, _, _, stellar_teff, _, _, _, _, _, _, _, _, _ = DataInterface.get_target_info( self.path_target, target) _, _, _, _, _, _, _, _, _, _, vsys, _, _, _, _, stellar_teff, _, _, _, _, _, _, _, _, _, _, _ = DataInterface.get_target_info( self.path_target, target ) instrument = self.chosen_instrument_var_post.get() path_instrument = str( Path(self.path_target, target, "HR_Instruments", self.chosen_rad_mode_var_post.get(), instrument)) Loading DataReductionGIANOB/Image.py +1 −0 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ class ImageAnalysis: hdul = fits.open(file_image) # Extract the data array from the FITS extension specified in the YAML configuration # This contains the raw spectral flux values organized by order and pixel print(file_image) if yaml_file["index_data"] != "None": data_fits = hdul[yaml_file["index_data"]].data # ======================== DATA AND SNR EXTRACTION ======================== Loading Loading
.gitignore +2 −0 Original line number Diff line number Diff line Loading @@ -162,3 +162,5 @@ dmypy.json /DataReductionGIANOB/Files/Configuration_Path/* /DataReductionGIANOB/Files/Configuration_Path/ !/DataReductionGIANOB/Files/Configuration_Path/.gitkeep /DataReductionGIANOB/test_new_phase_njd.py /data_out/
DataReductionGIANOB/Frame_Gofio.py +6 −4 Original line number Diff line number Diff line Loading @@ -1772,8 +1772,9 @@ class Frame_Gofio: def wcal_auto(self): target = self.chosen_target_var.get() _, _, _, _, _, _, _, _, _, _, vsys, _, _, _, _, stellar_teff, _, _, _, _, _, _, _, _, _ = DataInterface.get_target_info( self.path_target, target) _, _, _, _, _, _, _, _, _, _, vsys, _, _, _, _, stellar_teff, _, _, _, _, _, _, _, _, _, _, _ = DataInterface.get_target_info( self.path_target, target ) instrument = self.chosen_instrument_var_post.get() with open(str(Path(self.path_default, "DataReductionGIANOB", "Instruments", instrument + ".yaml")), "r") as f: yaml_file = yaml.safe_load(f) Loading Loading @@ -1858,8 +1859,9 @@ class Frame_Gofio: def test_wlen_calib(self): target = self.chosen_target_var.get() _, _, _, _, _, _, _, _, _, _, vsys, _, _, _, _, stellar_teff, _, _, _, _, _, _, _, _, _ = DataInterface.get_target_info( self.path_target, target) _, _, _, _, _, _, _, _, _, _, vsys, _, _, _, _, stellar_teff, _, _, _, _, _, _, _, _, _, _, _ = DataInterface.get_target_info( self.path_target, target ) instrument = self.chosen_instrument_var_post.get() path_instrument = str( Path(self.path_target, target, "HR_Instruments", self.chosen_rad_mode_var_post.get(), instrument)) Loading
DataReductionGIANOB/Image.py +1 −0 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ class ImageAnalysis: hdul = fits.open(file_image) # Extract the data array from the FITS extension specified in the YAML configuration # This contains the raw spectral flux values organized by order and pixel print(file_image) if yaml_file["index_data"] != "None": data_fits = hdul[yaml_file["index_data"]].data # ======================== DATA AND SNR EXTRACTION ======================== Loading