This commit is contained in:
Jan Grewe 2018-11-12 11:19:22 +01:00
parent 13258dfa3a
commit 64bc20b8fe

View File

@ -1,6 +1,5 @@
import numpy as np
import os
from IPython import embed
def load_chirp_spikes(dataset):
@ -46,7 +45,7 @@ def load_chirp_eod(dataset):
if "index" in l and "chirp" not in l:
index = int(l.split(":")[-1])
if "deltaf" in l and "true" not in l:
df = l.split(":")[-1]
df = l.split(":")[-1]
if "contrast" in l and "true" not in l:
contrast = l.split(":")[-1]
if "chirpsize" in l:
@ -92,5 +91,4 @@ if __name__ == "__main__":
spikes = load_chirp_spikes(os.path.join(data_dir, dataset))
chirp_times = load_chirp_times(os.path.join(data_dir, dataset))
chirp_eod = load_chirp_eod(os.path.join(data_dir, dataset))
embed()