Update
This commit is contained in:
@@ -245,15 +245,15 @@ class ProgrammedSequence(fc.Drivable): # Drivable only for kill() funcitonality
|
||||
|
||||
def read_value(self):
|
||||
newvals = {}
|
||||
#try:
|
||||
d = self.tnmr().get_data()
|
||||
newvals['reals'] = d[0]
|
||||
newvals['imags'] = d[1]
|
||||
newvals['t'] = [ self.compiled_parameters['acquisition_time'] * i/len(d[0]) for i in range(0, len(d[0])) ]
|
||||
#except:
|
||||
# newvals['reals'] = []
|
||||
# newvals['imags'] = []
|
||||
# newvals['t'] = []
|
||||
try:
|
||||
d = self.tnmr().get_data()
|
||||
newvals['reals'] = d[0]
|
||||
newvals['imags'] = d[1]
|
||||
newvals['t'] = [ self.compiled_parameters['acquisition_time'] * i/len(d[0]) for i in range(0, len(d[0])) ]
|
||||
except:
|
||||
newvals['reals'] = []
|
||||
newvals['imags'] = []
|
||||
newvals['t'] = []
|
||||
return newvals
|
||||
|
||||
def read_num_acqs_actual(self):
|
||||
|
||||
Reference in New Issue
Block a user