add title for an debug plot
This commit is contained in:
parent
a334d45ec1
commit
b525539ec4
@ -359,6 +359,7 @@ class FICurveCellData(FICurve):
|
|||||||
or max(time) < stim_start + stim_duration:
|
or max(time) < stim_start + stim_duration:
|
||||||
continue
|
continue
|
||||||
fig, ax = plt.subplots(1, 1, figsize=(8, 8))
|
fig, ax = plt.subplots(1, 1, figsize=(8, 8))
|
||||||
|
ax.set_title("Stimulus value: {:.2f}".format(c))
|
||||||
ax.plot(time, frequency)
|
ax.plot(time, frequency)
|
||||||
start_idx, end_idx = hF.time_window_detect_f_baseline(time[0], stim_start, sampling_interval)
|
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]),
|
ax.plot((time[start_idx], time[end_idx]), (self.f_baseline_frequencies[i], self.f_baseline_frequencies[i]),
|
||||||
|
Loading…
Reference in New Issue
Block a user