You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are there plans to, or has anyone modified the AmplitudesWidget to handle multi-segment sorting analyzers? I'd like to be able to plot unit summaries for my multi-segment analyzers, but currently the AmplitudesWidget can only handle a single segment. Happy to draft a PR for this and incorporate people's thoughts, if we think this would be good to have. I'm imagining a plot across a single set of axes, with vertical dashed lines separating the segment boundaries? Would appreciate opinions on what should be the default setting (segment 0, as now, or all available segments) and generally with any considerations for maintaining backwards compatibility
The text was updated successfully, but these errors were encountered:
Hey Jake,
There was recently a PR making a BaseRasterWidget, which AmplitudesWidget, RasterWidget, DriftRasterMapWidget and (soon) LocationsWidget inherit from. Just to say: if you can make it work there, it'll automatically work for all those, which would be great!!
I think your suggestion sounds good, and you should have a go at a PR!
Sounds good! The segment index param currently only applies to these subclasses, and isn't inherently handled by BaseRasterWidget - would your suggestion be to edit the base class to handle this, and just have the subclasses pass the segment indices on? Or to just handle segment concatenation in each subclass separately. I guess it might need to be the latter given that the various y axis data need to be computed differently, and they all require segment information
Hmmm, I reckon I'd edit the base class to handle multi-segments. Maybe allow for spike_train_data and y_axis_data to be dicts of dicts? Then edit the data-wrangling in each subclass, and finally edit the plotting itself in the BaseRasterWidget plotting functions.
Just to note, a few external things like sortingview depends on the Widgets. So, to start, you might have to keep the current behaviour as default and let the user specify that they want to plot multi-segments.
Are there plans to, or has anyone modified the
AmplitudesWidget
to handle multi-segment sorting analyzers? I'd like to be able to plot unit summaries for my multi-segment analyzers, but currently theAmplitudesWidget
can only handle a single segment. Happy to draft a PR for this and incorporate people's thoughts, if we think this would be good to have. I'm imagining a plot across a single set of axes, with vertical dashed lines separating the segment boundaries? Would appreciate opinions on what should be the default setting (segment 0, as now, or all available segments) and generally with any considerations for maintaining backwards compatibilityThe text was updated successfully, but these errors were encountered: