... | ... | @@ -31,7 +31,7 @@ ve_eegplot and ve_edit function both contain different key actions in them, some |
|
|
| 'qcf' | ? | Flags a channel |
|
|
|
| 'sm' | ? | Selects a mark |
|
|
|
| 'awm' | 'name_of mark' | Creates a mark on the data selected by the winrej |
|
|
|
| 'awr' | ? | Removes a mark on the data selected by the winrej |
|
|
|
| 'rwm' | ? | Removes a mark on the data selected by the winrej |
|
|
|
| 'apm' | 'name_of_mark' | Applies a mark to the whole page window |
|
|
|
| 'rpm' | ? | Removes a mark from the whole page window |
|
|
|
| 'pf' | ? | Moves 1 page forward, based on the time displayed |
|
... | ... | @@ -57,6 +57,39 @@ You can change these fields by typing or by clicking the `| ... |` button and us |
|
|
# Editing Marks Visually
|
|
|
When you click the `| Ok |`button at the bottom of the interface it should bring you a scroll plot of your data that is set up the way you specified in the configuration. If you get an error in the matlab command window, make sure you have [set up you default renderer](https://git.sharcnet.ca/bucanl_eeglab_extensions/vised_marks/wikis/home#set-up-figure-renderer) correctly.
|
|
|
|
|
|
Marks can either be in the time (y - axis) or in the channels (x - axis) depending on what functions you are using.
|
|
|
* If you are selecting a channel you will see the whole channel get selected. In the case of a removal this will remove the whole channel from the data.
|
|
|
* If you are selecting using the winrej tool or in the time axis you will be selecting a particular time but also be selecting all of the channels. **The vertical location of the color indicator on the screen does not matter**, as it is applied to all of the channels during the selected time frame. If you scroll up and down through the channels you will see that the color marks do not move. In the case of doing a removal you will be deleting all of the channel data during that time. The collapsed data will then have a boundary in it accounting for the missing time.
|
|
|
|
|
|
# Adding a Mark
|
|
|
To start add marks use the winrej tool **and** hover your mouse over the selected data and try start using the hotkeys you have assigned.
|
|
|
In the example below a ***awm*** mark was created called ***custom_mark*** by using the string:
|
|
|
|
|
|
```matlab
|
|
|
m,ve_edit('awm','custom_mark')
|
|
|
```
|
|
|
Using an addition mark for the first time will cause this pop up to appear.
|
|
|
|
|
|

|
|
|
|
|
|
It should already be populated with most of the information you provided. Make sure you select a color for the mark to be. You can either type in the RGB or you can click the `| |` button and select from a pallet. once you finish with this pop up you should see the mark appear.
|
|
|
|
|
|

|
|
|
In this example the navy blue mark called *custom_mark* (see the name on the right side of the window), was added where the winrej highlighted from approximately 84 to 87 seconds.
|
|
|
|
|
|
# Removing a Mark
|
|
|
The process to remove a mark is very similar. Start by using the winrej tool to select and area where you would like to remove a mark keep you mouse hovered over the selection on press your remove key. In the example below part of the navy blue mark called *custom_mark* will be removed with the ***rwm*** command specified to remove ***custom_mark*** by using the string:
|
|
|
|
|
|
```matlab
|
|
|
M,ve_edit('rwm','custom_mark')
|
|
|
```
|
|
|
No pop ups will apear when using a removal for the first time as you will have specified everything needed already.
|
|
|

|
|
|
|
|
|
***
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
***
|
... | ... | |