File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
PythonGUI_apps/OceanOptics_acquire Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -205,11 +205,14 @@ def x_y_scan(self):
205
205
self .pi_device .MVR (axes = self .axes , values = [- x_scan_size , y_step ])
206
206
207
207
self .ui .status_textBrowser .append ("Scan Complete!\n Saving Data..." )
208
- # TODO add ocean optics acquisition params to the save dict
208
+
209
209
save_dict = {"Wavelengths" : self .spec .wavelengths (), "Intensities" : data_array ,
210
210
"Scan Parameters" :{"X scan start (um)" : x_start , "Y scan start (um)" : y_start ,
211
211
"X scan size (um)" : x_scan_size , "Y scan size (um)" : y_scan_size ,
212
- "X step size (um)" : x_step , "Y step size (um)" : y_step }
212
+ "X step size (um)" : x_step , "Y step size (um)" : y_step },
213
+ "OceanOptics Parameters" :{"Integration Time (ms)" : self .ui .intg_time_spinBox .value (),
214
+ "Scans Averages" : self .ui .scan_to_avg_spinBox .value (),
215
+ "Correct Dark Counts" : self .ui .correct_dark_counts_checkBox .isChecked ()}
213
216
}
214
217
215
218
pickle .dump (save_dict , open (self .save_folder + "/" + self .ui .lineEdit .text ()+ "_raw_PL_spectra_data.pkl" , "wb" ))
You can’t perform that action at this time.
0 commit comments