remove unneeded test ploting
This commit is contained in:
parent
98c0c1ed1d
commit
15166042be
@ -101,17 +101,17 @@ def array_and_time_points_equal(stimulus, start, duration, step_size):
|
||||
|
||||
return False
|
||||
|
||||
stim_per_point = []
|
||||
for t in time:
|
||||
stim_per_point.append(stimulus.value_at_time_in_s(t))
|
||||
|
||||
stim_per_point = np.around(np.array(stim_per_point), precision)
|
||||
fig, axes = plt.subplots(1, 1, sharex="all")
|
||||
axes.plot(time, array, label="array")
|
||||
axes.plot(time, stim_per_point, label="individual")
|
||||
axes.set_title("stimulus values")
|
||||
axes.legend()
|
||||
|
||||
plt.show()
|
||||
# stim_per_point = []
|
||||
# for t in time:
|
||||
# stim_per_point.append(stimulus.value_at_time_in_s(t))
|
||||
#
|
||||
# stim_per_point = np.around(np.array(stim_per_point), precision)
|
||||
# fig, axes = plt.subplots(1, 1, sharex="all")
|
||||
# axes.plot(time, array, label="array")
|
||||
# axes.plot(time, stim_per_point, label="individual")
|
||||
# axes.set_title("stimulus values")
|
||||
# axes.legend()
|
||||
#
|
||||
# plt.show()
|
||||
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user