Update EStiMo_GUI.py
a minor correction
This commit is contained in:
parent
506eeb753d
commit
479b16d801
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ class AppForm(QMainWindow):
|
|||
ch_sum = 0
|
||||
for i in range(self.second_to_analyze.shape[0]):
|
||||
a_seg = np.zeros([2, self.second_to_analyze.shape[1]])
|
||||
a_seg[0,:] = self.second_to_analyze[0]#*1e6
|
||||
a_seg[0,:] = self.second_to_analyze[i]#*1e6
|
||||
a_seg[1,:] = np.linspace(0,1,self.Fs)
|
||||
matrix_dist = scipy.spatial.distance.cdist(a_seg, a_seg, 'euclidean')
|
||||
ch_sum += sum(np.diagonal(matrix_dist,1))
|
||||
|
|
Loading…
Reference in a new issue