NeurodataWithoutBorders / nwbwidgets

Explore the hierarchical structure of NWB 2.0 files and visualize data with Jupyter widgets.
https://nwb-widgets.readthedocs.io/en/latest/
Other
48 stars 21 forks source link

[Feature]: Generalize 'trial-aligned' visualization to 'intervals-aligned' #268

Closed CodyCBakerPhD closed 1 week ago

CodyCBakerPhD commented 1 year ago

What would you like to see added to NWB Widgets?

I love the trial-aligned visualization, but some types of experiments (like MICrONS) might not have a specific trials table in the nwbfile.intervals and instead, they have multiple types of TimeIntervals

It would be nice to be able to generalize the trial-aligned visualization to allow the user to specify which table to pull start_times, start_times, and any other _times from (not to mention categorical columns)

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

JohnStout commented 2 months ago

Wondering if this has been complete. I just ran into this issue myself and would love to see a way to align neural data to general TimeInterval objects! See screenshot.

Screenshot 2024-06-19 132334

Thanks!