From 116bee2272722f3164f5976a858fdf97ead84901 Mon Sep 17 00:00:00 2001 From: wendtalexander Date: Wed, 8 Oct 2025 16:03:58 +0200 Subject: [PATCH] [tonix] testing data analog signal is at 3 now --- oephys2nix/tonix.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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]}")