-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EEG Browser] Addition of new changes to signal plot of electrophysiology_browser module from EEGNet #8415
[EEG Browser] Addition of new changes to signal plot of electrophysiology_browser module from EEGNet #8415
Changes from 138 commits
bf21506
589a798
92a288b
5308237
42cb9f5
0952b40
4ea55ce
ae0b226
eba0c0b
c909fc6
32aab7c
83a464c
5bbdd1e
9515e5f
7abe6fb
a76520b
7938762
e8b08f8
bb4b11f
aaae443
1ddc04a
eef8b9c
7fd9029
9e0bbe3
9fc0a71
93469da
43c1b25
681d82f
b1a1623
b3843ab
69ffe7c
2a674eb
0f0b60b
f1b104b
bc17fd9
cd59c99
d55af05
2510cbc
c3ea3f4
eb7dd02
223ac30
e31dc69
22159e5
0c7cfd8
692ea2a
41ab72b
0680c38
6f2d370
859b41e
b71ea34
0f10610
e320315
cd5ab5e
22e483d
3203aac
b3cf5ff
4555acb
43a4afe
34d987b
539f897
f38b8c9
7a42906
2e8b1d8
08758ae
caede9f
9596183
fc155c3
bc7c665
20f9627
9f92ee3
ce000f3
b9bf709
3aae190
63f27d0
2dbf4a6
c5c8945
db403c2
7bbdaca
d58307a
862f256
6374fe1
12bbe76
8746a81
de4c770
1844b61
b7d64ea
2ecd28f
e6fee29
86004ed
e1b6dd0
b1dcfa9
b4bec34
14cee2c
cac99f1
8bb546c
61fe7e3
c41c5fa
5b13f16
47332cb
f74f863
162cbea
b220942
6ea467f
b7d4b67
a91ef44
5a848f9
c224343
6f7a65b
d030540
af9f520
bfd9c88
2aa6701
3adaf8a
21eceff
b4b2a25
e45ec20
3d37990
41f0e74
3b50bf1
25e029a
ddc462b
5ddf0dc
cc5b3e9
900fe52
e446503
1024119
2414804
30cd35e
f6e4521
f592cee
b6598d9
b15cd8f
60095fe
223fc33
652f801
21ec40c
8924a0f
e014119
ee346b7
d96d32a
79571dd
8a12eae
5b79bd5
d2e140a
7411521
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# EEG Browser Visualization | ||
|
||
## Main dependencies | ||
|
||
- [Ramda](https://ramdajs.com) | ||
A practical functional library for JavaScript programmers. | ||
|
||
|
@@ -32,24 +31,52 @@ The EEG Browser visualization component adds support for some useful visual help | |
### Signal Viewer | ||
 <br/><br/> | ||
Several tools can be used to navigate through the Signal Viewer: | ||
- The **Timeline Range View** (1) can be used to change the boundaries of the viewed timeline. | ||
- The **Amplitude** and **Filter** tools (2) can be used to increase/reduce the amplitude scale and apply high or low-pass filters. | ||
- The **Channel navigation** (3) can be used to navigate through the viewed channels. | ||
- The **Event Panel** (4) can be used to display information about the events when event data is available. | ||
- If the selected timeline range contains more than 100 events, a message (5) indicates the user to reduce the boundaries of the timeline in order to display the event data. | ||
- The **Zoom Controls** (1) can be used to increase or reduce the time interval while maintaining the same midpoint. | ||
- *Reset*: Set 'zoom' level to default value (5 second interval). | ||
- *+ / -*: Zoom in or out, respectively. | ||
- *Region*: This button becomes available when a region is highlighted on the plot (left-click drag). Pressing it sets the time interval to the selected region. | ||
- The **Timeline Range View** (2) can be used to change the boundaries of the viewed timeline. | ||
- *[<] / [>]*: These arrows translate the interval bounds backwards or forwards, respectively, by 1 second. | ||
- *[<<] / [>>]*: These arrows translate the interval bounds backwards or forwards, respectively, by the value of the interval. | ||
- *Text fields*: The text fields can be edited to manually set the interval. | ||
- *Sliders*: The sliders can be dragged as an alternative way to set the interval range. | ||
- The **Amplitude** and **Filter** tools and the **Show/Hide Overflow** button (3) can be used to increase/reduce the amplitude scale, apply high or low-pass filters, or toggle the visibility of signal spillage, respectively. | ||
- The **Channel Navigation** (4) toolbar can be used to navigate through the viewed channels. | ||
- *Dropdown*: This dropdown allow to change the number of displayed channels. Currently supported values are: 4, 8 16, 32 or 64 visible channels. | ||
- *Text field*: This can be used to manually set the starting index of the displayed channels. | ||
- *[<] / [>]*: These arrows translate the visible channel range backwards or forwards, respectively, by 1 channel. | ||
- *[<<] / [>>]*: These arrows translate the visible channel range backwards or forwards, respectively, by the number of displayed channel. | ||
- The **Channel Adjustment** (5) buttons can be used to vertically adjust the position of the signals. | ||
- *DC/NO Offset*: This button toggles the subtraction of DC offset from the signals, used to center them with respect to their assigned row. | ||
- *Stack/Spread*: This button toggles the channels from being in their assigned row to being all stacked on the same row. [[Stacked View Demo](#stacked-view)] | ||
- The **Event Panel** (6) can be used to display information about the events when event data is available. | ||
- If the selected timeline range contains more than 500 events, a message inside the panel indicates the user to reduce the boundaries of the timeline in order to display the event data. | ||
<br/><br/> | ||
<p align="center"> | ||
<img width="650" src="./../../images/signal-values.png"/><br/> | ||
<sub>Signal Viewer with signal values and event data displayed.</sub> | ||
<p style="text-align: center;"> | ||
<img width src="./../../images/signal-values.png"/><br/> | ||
<sub>Signal Viewer with hovered signal value and event data displayed.</sub> | ||
</p> | ||
|
||
|
||
### Stacked View | ||
Hovering channel names while in 'stacked' or 'spread (default)' view will thicken the respective signal(s). While in stacked view, a feature called "Isolate" becomes available. [[Isolate Mode Demo](#isolate-mode)] | ||
<br/><br/> <br/> | ||
|
||
|
||
### Isolate Mode | ||
Hovering channel names while in 'isolate' mode will make that signal the only visible signal on the plot. | ||
<br/><br/> <br/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think these images should be here. The sentences make sense without them and I don't think they add enough value to justify the cost of adding binary files to our github repo. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know if we have the option to host the files on a server to avoid committing the images. Documentation wise, I think those images were a good addition to document the module's new features. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @driusan This PR updates a README that was already containing images. Maybe we can discuss the images issue later to not hold this PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, once images are committed they're in the repo forever and need to be downloaded with every clone. |
||
|
||
|
||
### Electrode Map | ||
The current implementation of the Electrode Map supports 2 display modes: 2D and 3D. | ||
|
||
| 2D View | 3D View | | ||
|:-------------------------:|:-------------------------:| | ||
|<img width="300" src="./../../images/electrodes-2d-hover.png"/><br/> The 2D view is a stereographic projection of the electrodes position. Electrodes are indexed and their name is displayed on mouse hover. | <img width="300" src="./../../images/electrodes-3d.png" /><br/> The 3D view displays the exact position of the electrodes on the brain. | | ||
|
||
|
||
### Future developements to come | ||
A signal annotation feature is currently under development. | ||
|
||
|
||
A signal annotation feature is currently under development. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think these images should be here. The sentences make sense without them and I don't think they add enough value to justify the cost of adding binary files to our github repo.