File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -886,7 +886,7 @@ def set_black(self):
886886 self ._bnc .stop ()
887887
888888 for key in tp_scopes :
889- tp_scopes [key ] /= p_N_c # Correct averaging
889+ tp_scopes [key ] = tp_scopes [ key ] / p_N_c # Correct averaging
890890
891891 self .spectra_storage .putBlack (tp_scopes ) # Put in spectrum storage
892892 experiment_logger .info ("Black set." )
@@ -971,7 +971,7 @@ def set_white(self):
971971 tp_scopes = spectra
972972
973973 for key in tp_scopes :
974- tp_scopes [key ] /= p_N_c
974+ tp_scopes [key ] = tp_scopes [ key ] / p_N_c
975975
976976 self ._bnc .stop ()
977977 self .spectra_storage .putWhite (tp_scopes )
@@ -1159,7 +1159,7 @@ def experiment(self):
11591159
11601160 # Correct error caused by adding spectra
11611161 for key in tp_scopes :
1162- tp_scopes [key ] /= p_N_c
1162+ tp_scopes [key ] = tp_scopes [ key ] / p_N_c
11631163
11641164 # Store Spectrum, and display it
11651165 self .spectra_storage .putSpectra (raw_timestamp , n_d , tp_scopes )
You can’t perform that action at this time.
0 commit comments