aces / Loris

LORIS is a web-accessible database solution for longitudinal multi-site studies.
GNU General Public License v3.0
141 stars 173 forks source link

[EEG] Montage color map #9273

Closed laemtl closed 1 month ago

laemtl commented 1 month ago

Add a colormap to flag specific channels in the EEG montage:

Screenshot 2024-06-04 at 10 04 26 AM

To enable it, add the following in In modules/electrophysiology_browser/jsx/electrophysiologySessionView.js

<EEGMontage colorMap={
    { 
      color: '#FF0000',
      ids: [1,2,4,7] // index of electrodes to include in the colorMap
    }
 } />
laemtl commented 1 month ago

@christinerogers @jeffersoncasimir For visibility

laemtl commented 1 month ago

@ridz1208 Ready

christinerogers commented 1 month ago

amazing, thanks team. could we get a merge for the release?

driusan commented 1 month ago

This doesn't have any description. What is it doing and why?

laemtl commented 1 month ago

@driusan done