-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 40 additions & 6 deletions
46
modules/electrophysiology_browser/jsx/react-series-data-viewer/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,55 @@ | ||
# EEG Browser Visualization | ||
|
||
## Main dependencies | ||
|
||
### Ramda (https://ramdajs.com) | ||
- [Ramda](https://ramdajs.com) | ||
A practical functional library for JavaScript programmers. | ||
|
||
### Redux (https://redux.js.org) | ||
- [Redux](https://redux.js.org): | ||
A Predictable State Container for JS Apps | ||
|
||
### Visx (https://airbnb.io/visx) | ||
- [Visx](https://airbnb.io/visx): | ||
A collection of expressive, low-level visualization primitives for React. | ||
|
||
### RxJS (https://rxjs-dev.firebaseapp.com/guide/overview) | ||
- [RxJS](https://rxjs-dev.firebaseapp.com/guide/overview): | ||
RxJS is a library for composing asynchronous and event-based programs by using observable sequences. | ||
It provides one core type, the Observable, satellite types (Observer, Schedulers, Subjects) and operators to allow handling asynchronous events as collections. | ||
|
||
### TypeScript (https://www.typescriptlang.org) | ||
- [TypeScript](https://www.typescriptlang.org) | ||
A static type checker for javascript. | ||
|
||
### Protocol Buffers (https://developers.google.com/protocol-buffers) | ||
- [Protocol Buffers](https://developers.google.com/protocol-buffers) | ||
To install the Protocol Buffers Compiler (protoc), run: | ||
`apt install -y protobuf-compiler` | ||
|
||
|
||
## User manual | ||
|
||
The EEG Browser visualization component adds support for some useful visual helpers: The **Signal Viewer** and the **Electrode Map**. | ||
|
||
![Overall View](./../../images/overall-view.png) | ||
|
||
### Signal Viewer | ||
![Signal Viewer](./../../images/signal-values-details.png) <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. | ||
<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> | ||
|
||
### 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. |