-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Union of multiple interval sets #217
Comments
Hi, is this what you are looking for @BalzaniEdoardo
|
Hi Nilesh, thanks for your answer. Not exactly, I probably did not formulate my thoughts well enough, my bad. What I had in mind is more something like an iset_group = IntervalSetGroup({"stimlus A": ep1, "stimulus B": ep2, "light phase": ep3, "dark phase":ep4}) And with that the possibility to do stuff like, tsd.restrict( iset_group.intersect("simulus A", "stimulus B", "dark_phase")) To get the data of the specific condition. Which is basically a way to represent your experiment and facilitate playing around with the conditions |
you could do any such set operations, in a sense. So, instead of dealing with multiple IntervalSets having the possibility of having a single variable. One could have, similarly to TsGroup, a summary of the various conditions in the repr |
First of all, I am really enjoying learning pynapple so thanks for the package!
I would like to have a way to perform the union of an arbitrary number of interval sets. It would be great to have a
classmethod
for that.Thanks
The text was updated successfully, but these errors were encountered: