From 15166042be088c2eccdfe0d15bdc473db2d0499a Mon Sep 17 00:00:00 2001 From: "a.ott" Date: Mon, 9 Mar 2020 09:56:57 +0100 Subject: [PATCH] remove unneeded test ploting --- unittests/testSinusAmplitudeModulation.py | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/unittests/testSinusAmplitudeModulation.py b/unittests/testSinusAmplitudeModulation.py index 8988d7b..c69bd07 100644 --- a/unittests/testSinusAmplitudeModulation.py +++ b/unittests/testSinusAmplitudeModulation.py @@ -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