Open dlevenstein opened 7 years ago
The final merged function should have the option to take a structure: x.data x.timestamps x.????
and return the selection of data from the intervals in the form: x.data x.timestamps x.???
as well as the existing functionality
I just tried loading intervals using bs_GetLFP.m. It gives a 1 x nIntervals lfp struct. I might have done it differently. Do we like it that way? How do we handle multiple intervals in general?
There are a suite of interval utilities, i.e. InIntervals, FindInIntervals, RestrictInts, which have somewhat overlapping functionality.
1) A census/guide should be created of these functions and any that can be merged (maintaining all functionality) should be merged
2) Calls to these functions within buzcode will need to be updated to reflect any mergers.