Skip to content

Commit

Permalink
support roi extraction of 2-channel data in GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
itsb committed Jan 27, 2024
1 parent 193e7f1 commit 1a1bd5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions suite2p/gui/drawroi.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ def proc_ROI(self):
self.p0.addItem(self.scatter[-1])
if not os.path.isfile(self.parent.ops["reg_file"]):
self.parent.ops["reg_file"] = os.path.join(self.parent.basename, "data.bin")
if 'reg_file_chan2' in self.parent.ops and not os.path.isfile(self.parent.ops["reg_file_chan2"]):
self.parent.ops["reg_file_chan2"] = os.path.join(self.parent.basename, "data_chan2.bin")

F, Fneu, F_chan2, Fneu_chan2, spks, ops, stat = masks_and_traces(
self.parent.ops, stat0, self.parent.stat)
Expand Down

0 comments on commit 1a1bd5b

Please sign in to comment.