Skip to content
Snippets Groups Projects
Commit fccdc303 authored by Stephane Chavin's avatar Stephane Chavin
Browse files

correct

parent 9dd4da84
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ for j in range (len(df)):
df.loc[j,('annot')] = names[int(df.espece.iloc[j])]
print('Calculating the positions','\n')
df['midl'] = (df.x*8)+(df.idx.astype(int))
df['midl'] = (df.x*DUREE_SPECTRO)+(df.idx.astype(int))
df['freq_center'] = (1-df.y)*(SR/2)
df['freq_min'] = df.freq_center - (df.h*(SR/2))/2
df['freq_max'] = df.freq_center + (df.h*(SR/2))/2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment