cleanup
This commit is contained in:
parent
13258dfa3a
commit
64bc20b8fe
@ -1,6 +1,5 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import os
|
import os
|
||||||
from IPython import embed
|
|
||||||
|
|
||||||
|
|
||||||
def load_chirp_spikes(dataset):
|
def load_chirp_spikes(dataset):
|
||||||
@ -46,7 +45,7 @@ def load_chirp_eod(dataset):
|
|||||||
if "index" in l and "chirp" not in l:
|
if "index" in l and "chirp" not in l:
|
||||||
index = int(l.split(":")[-1])
|
index = int(l.split(":")[-1])
|
||||||
if "deltaf" in l and "true" not in l:
|
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:
|
if "contrast" in l and "true" not in l:
|
||||||
contrast = l.split(":")[-1]
|
contrast = l.split(":")[-1]
|
||||||
if "chirpsize" in l:
|
if "chirpsize" in l:
|
||||||
@ -92,5 +91,4 @@ if __name__ == "__main__":
|
|||||||
spikes = load_chirp_spikes(os.path.join(data_dir, dataset))
|
spikes = load_chirp_spikes(os.path.join(data_dir, dataset))
|
||||||
chirp_times = load_chirp_times(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))
|
chirp_eod = load_chirp_eod(os.path.join(data_dir, dataset))
|
||||||
embed()
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user