diff --git a/oephys2nix/tonix.py b/oephys2nix/tonix.py index b8c6835..cfe5dd0 100644 --- a/oephys2nix/tonix.py +++ b/oephys2nix/tonix.py @@ -35,23 +35,19 @@ class RawToNix: self.block.metadata = sec def append_fish_lines(self): - efishs = [ - "ttl-line", - "global-eod", - "stimulus", - "local-eod", - ] + efishs = ["ttl-line", "global-eod", "stimulus", "local-eod", "sinus"] efish_types = [ "open-ephys.data.sampled", "open-ephys.data.sampled", "open-ephys.data.sampled", "open-ephys.data.sampled", + "open-ephys.data.sampled", ] efish_group = self.block.create_group("efish", "open-ephys.sampled") - efish_neo_data = self.neo_data[0].segments[0].analogsignals[1].load() + efish_neo_data = self.neo_data[0].segments[0].analogsignals[2].load() for i in np.arange(len(efishs)): log.debug(f"Appending efish traces {efishs[i]}")