flatironinstitute / labbox-ephys

4 stars 5 forks source link

Ensure consistent order for cross-correlograms #441

Closed jsoules closed 3 years ago

jsoules commented 3 years ago

Currently, cross-correlograms in the cross-correlogram widget are laid out in the order in which the units were clicked. This can lead to somewhat confusing display when multiple cross-correlogram views with the same set of selected units are displayed:

image

As the screenshot shows, both windows have units 2, 4, and 7 selected, but the top one has 2's autocorrelogram in the upper left, while the bottom one has 7's autocorrelogram; the other unit pairings similarly don't correspond.

To fix, perhaps sort the selected units in the cross-correlogram local unit selection list during update?

magland commented 3 years ago

transferred to: https://github.com/magland/sortingview/issues/45