def activity_preview(session,area,s,upsample=6,cut=1): nch,t = shape(s) z = packArrayDataInterpolate(session,area,s) for i in range(t): j = z[:,:,i] j = dct_cut_antialias(j,cut) j = dct_upsample(j,upsample) plot_complex(j)
def event_preview(session,area,event,upsample=6,cut=2): t,f,s = event z = packArrayDataInterpolate(session,area,s) for i,t in en(t): j = z[:,:,i] j = dct_cut_antialias(j,cut) j = dct_upsample(j,6) plot_complex(j)