waha
This commit is contained in:
parent
fa105a017c
commit
5cd62554fa
@ -14,8 +14,6 @@ dataset = '2018-11-14-al-invivo-1'
|
|||||||
# read eod and time of baseline
|
# read eod and time of baseline
|
||||||
time, eod = read_baseline_eod(os.path.join(data_dir, dataset))
|
time, eod = read_baseline_eod(os.path.join(data_dir, dataset))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# read spikes during baseline activity
|
# read spikes during baseline activity
|
||||||
spikes = read_baseline_spikes(os.path.join(data_dir, dataset))
|
spikes = read_baseline_spikes(os.path.join(data_dir, dataset))
|
||||||
# calculate interpike intervals and plot them
|
# calculate interpike intervals and plot them
|
||||||
@ -31,14 +29,11 @@ ax.spines["top"].set_visible(False)
|
|||||||
ax.spines["right"].set_visible(False)
|
ax.spines["right"].set_visible(False)
|
||||||
fig.tight_layout()
|
fig.tight_layout()
|
||||||
plt.show()
|
plt.show()
|
||||||
#plt.show()
|
plt.show()
|
||||||
<<<<<<< HEAD
|
|
||||||
#plt.savefig('isis.pdf')
|
#plt.savefig('isis.pdf')
|
||||||
exit()
|
exit()
|
||||||
=======
|
|
||||||
plt.savefig('isis.png')
|
plt.savefig('isis.png')
|
||||||
|
|
||||||
>>>>>>> b9573c65638c8a716e57d75fbe550f0a1ef8859f
|
|
||||||
|
|
||||||
# calculate coefficient of variation
|
# calculate coefficient of variation
|
||||||
mu = np.mean(interspikeintervals)
|
mu = np.mean(interspikeintervals)
|
||||||
|
Loading…
Reference in New Issue
Block a user