-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip:add functionality for variable rois
tests fail for pointing mode sample data (but not for the miniscan). the shapes and datatypes etc all match up, but the signature values are different. This is expected because it seems, at least for the pointing mode, the values in the TDMS file are written as (roi1_cycle0,...,roi10_cycle0, roi1_cycle1,...,roi10_cycle1, roi1_cycle2,...) and we are reading the first cycles_per_trial values for roi0. But I don't understand why the miniscan test passes? However, this code does create a reasonable-looking variable roi file for real life data (more tests needed in the future for this though) The failure is related to the order of things inside the TDMS file, and the code executed in the two inner loops (channel and roi) of _write_roi_data. But I am struggling to figure out how one would do this well. Maybe we need to handle legacy and variable roi code completely separately, although it would be more elegant if we didn't have to do this.
- Loading branch information
1 parent
cb0e263
commit 187c3e3
Showing
2 changed files
with
54 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters