add title for an debug plot

This commit is contained in:
a.ott 2020-07-14 17:27:13 +02:00
parent a334d45ec1
commit b525539ec4

View File

@ -359,6 +359,7 @@ class FICurveCellData(FICurve):
or max(time) < stim_start + stim_duration:
continue
fig, ax = plt.subplots(1, 1, figsize=(8, 8))
ax.set_title("Stimulus value: {:.2f}".format(c))
ax.plot(time, frequency)
start_idx, end_idx = hF.time_window_detect_f_baseline(time[0], stim_start, sampling_interval)
ax.plot((time[start_idx], time[end_idx]), (self.f_baseline_frequencies[i], self.f_baseline_frequencies[i]),