adlofts created page: postprocessingscript authored by Andrew Lofts's avatar Andrew Lofts
...@@ -143,7 +143,7 @@ title('Data Channel Classification'); % Set the title of ...@@ -143,7 +143,7 @@ title('Data Channel Classification'); % Set the title of
``` ```
**Calculation->Flag->Mark/Criteria Plot Example** **Calculation->Flag->Mark/Criteria Plot Example**
Below is the code for the s way subplot of calculating channel marks. This code exclusively uses the EEG. calculation matrices for its data. The function ```surf``` can take a multitude of formatting inputs including line style, axis, view, and face alpha. The data needs to be a matrix where the x and y values are gathered from the dimensions of the matrix, and the z values gathered on the data contained at each index. Plot in this example only uses the optional axis location input. Both x and y need to be row matrices containing the co-ordinates of the data points to plot. To plot 2 lines on the same graph add a second row to the row vector, or run the plot command again with the new x row vector after using ```hold on;```. Below is the code for the s way subplot of calculating channel marks. This code exclusively uses the EEG. calculation matrices for its data. The function ```surf``` can take a multitude of formatting inputs including line style, axis, view, and face alpha. The data needs to be a matrix where the x and y values are gathered from the dimensions of the matrix, and the z values gathered on the data contained at each index. ```plot``` in this example only uses the optional axis location input. Both x and y need to be row matrices containing the co-ordinates of the data points to plot. To plot 2 lines on the same graph add a second row to the row vector, or run the plot command again with the new x row vector after using ```hold on;```.
```matlab ```matlab
% Collect Data % Collect Data
...@@ -188,17 +188,13 @@ edit diagnostics ...@@ -188,17 +188,13 @@ edit diagnostics
This will open up the function and you can see behind the scenes. This will open up the function and you can see behind the scenes.
The rest of this wiki is in production.
***
We are currently working on this section of the Wiki. ***
%%%%%%%%%%%%%%%%%%%%%%%%%%
Sample matrix representation of the calculate->flag->mark path for a channel mark.
| | Epoch Number | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | | |
|--------------|------------------|------|------|------|------|------|------|------|------|------|------|----------------|----------------------------|
| Calculation | Criteria (2.326) | 2.11 | 4.34 | 5.78 | 2.31 | 1.23 | 0.98 | 0.54 | 1.99 | 2.38 | 3.86 | | |
| Flag | Criteria (0.1) | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 4/10 (0.4,40%) | Result: Channel is flagged |
***
# Fin Script QA # Fin Script QA
* Data Visualisation * Data Visualisation
... ...
......