flatironinstitute / neurosift

Browser-based NWB visualization and DANDI exploration
Apache License 2.0
46 stars 6 forks source link

trials PSTH missing #200

Open bendichter opened 3 months ago

bendichter commented 3 months ago

For this dataset:

https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/assets/07eab05e-7002-4522-8498-359b952ab4a2/download/&dandisetId=000897&dandisetVersion=0.240605.1710

it has a TimeIntervals table called trials and it has a Units table, so I would expect there to be an option to view a PSTH, but there is none. Why is PSTH not an option here?

image
magland commented 3 months ago

You need to use the checkbox to the left, instead of the "raster plot" checkbox.

bendichter commented 3 months ago

@magland Sorry, the accordions and checkboxes I have selected in that screenshot are probably a bit confusing. What I meant was I was expecting to see a "PSTH" button to the left of "trials" similar to this NS page for an IBL file:

image
magland commented 3 months ago

@bendichter This has been fixed, and the handling for launching PSTH is improved in various ways. User no longer needs to use a special button/link in the left (that feature was difficult to find). Instead, whenever a PSTH is available, it will appear next to the TimeIntervals object. If there is more than one units table in the NWB file, this will expand into all of the available options. This has also been updated in WIDGETS tab.

Here's an example of when there are 2 units tables available: https://neurosift.app/?p=/nwb&url=https://tempory.net/f/dendro/f/hello_world_service/hello_neurosift/spike_sorting_post_processing/S9NIGOh4NY5HWELdAd3E/output/post.nwb.lindi.tar&st=lindi&dandisetId=000409&dandisetVersion=draft