fix dt/reset のXmaxを決めるときに使うpython
#fix dt/reset のXmax決める用 temp = 0 timing = 0 for i in range(M-1): if abs(x_detec1[i+1] - x_detec1[i])>temp: temp = abs(x_detec1[i+1] - x_detec[i]) timing = i print(temp) print(timing)
#fix dt/reset のXmax決める用 temp = 0 timing = 0 for i in range(M-1): if abs(x_detec1[i+1] - x_detec1[i])>temp: temp = abs(x_detec1[i+1] - x_detec[i]) timing = i print(temp) print(timing)