diff options
-rw-r--r-- | eitControl.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eitControl.py b/eitControl.py index 94054b1..97a7ef9 100644 --- a/eitControl.py +++ b/eitControl.py @@ -174,9 +174,10 @@ class Experiment: # self.data['x'].append(tic) # self.data['x']=self.data[self.xChannelName] x=self.data[self.xChannelName][-1] - x=(x-self.fCent)/1e3; # shift and convert to kHz - self.xlabel=f'Frequency offset (kHz) relative center {self.fCent/1e6} MHz ' + x=(x-self.fCent) self.data['x'].append(x) + self.dataPlot.setLabel('bottom', 'Frequency offset', units='Hz') + self.dataPlot.setLabel('left', 'Signal', units='V') stop = datetime.now() runTime = (stop-start).seconds + float((stop-start).microseconds)/1000000 |