You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

advviz-3-configuration.dox 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /**
  2. \page Doc_Mensia_AdvViz_Configuration Configuration
  3. By design, all the boxes included in the Mensia Advanced Visualization Toolset share a common behavior
  4. when it comes to configuring the boxes, in the scenario edition or during its execution.
  5. In this section we describe the common configuration parameters you find when using these boxes.
  6. \section Doc_Mensia_AdvViz_Configuration_BoxSettings Box settings
  7. You may encounter different settings, common to all or a subset of boxes, depending on the paradigms.
  8. \subsection Doc_Mensia_AdvViz_Configuration_ChannelLocalization Channel localisation
  9. Specify here where to find the file listing the coordinates of every electrodes by their names.
  10. Please see \ref Doc_Mensia_AdvViz_Concepts_ChannelLocalization for more details.
  11. For conveniency, we provide a default file <tt> ${AdvancedViz_ChannelLocalisation} </tt> (<i>../share/mensia /openvibe-plugins/cartesian.txt</i>) which contains
  12. the cartesian coordinates of all electrodes in the extended 10-20 system.
  13. This settings is obviously <b> mandatory for the Topographic views </b>,
  14. but can also be useful for the other paradigms: at runtime, you can re-arrange the channels spatially by their names (from left to right hemisphere, or from front to top).
  15. This is useful when dealing with dense EEG (128 or more channels), which can bring a new light, new contrast on a rather opaque data display.
  16. \image html Settings_ChannelLocalisation.png "Spatial reorganization on a dense signal display using a Continuous Oscillator"
  17. \image latex Settings_ChannelLocalisation.png "Spatial reorganization on a dense signal display using a Continuous Oscillator" width=\textwidth
  18. \subsection Doc_Mensia_AdvViz_Configuration_Caption Caption
  19. If this field is used, this label will be displayed in the window, on top of the rendering area.
  20. \subsection Doc_Mensia_AdvViz_Configuration_Color Color
  21. The color gradient you want to use to display the data. You can use the color picker to chose the gradient manually, or use one of the presets.
  22. Several presets exist in form of configuration tokens <tt>${AdvancedViz_ColorGradient_X}</tt>, where X can be:
  23. - <tt>Matlab</tt> or <tt>Matlab_Discrete</tt> (as in <a href="http://www.mathworks.fr/products/matlab/"> Matlab</a> / <a href="http://sccn.ucsd.edu/wiki/BCILAB"> BCILAB toolbox</a>)
  24. - <tt>Icon</tt> or <tt>Icon_Discrete</tt> (as in <a href="https://sites.google.com/site/marcocongedo/software/icon"> ICoN </a>)
  25. - <tt>Elan</tt> or <tt>Elan_Discrete</tt> (as in <a href="http://elan.lyon.inserm.fr/"> Elan </a>)
  26. - <tt>Fire</tt> or <tt>Fire_Discrete</tt>
  27. - <tt>IceAndFire</tt> or <tt>IceAndFire_Discrete</tt>
  28. The default values <tt>AdvancedViz_DefaultColorGradient</tt> or <tt>AdvancedViz_DefaultColorGradient_Discrete</tt> are equal to <tt>Matlab</tt> and <tt>Matlab_Discrete</tt>.
  29. Here is an example of 2D topography rendering using these color gradients:
  30. \image html 2DTopography_ColorGradients.png "The color gradient presets available, illustrated with the 2D topography"
  31. \image latex 2DTopography_ColorGradients.png "The color gradient presets available, illustrated with the 2D topography" width=\textwidth
  32. \subsection Doc_Mensia_AdvViz_Configuration_BoxSettings_Translucency Translucency
  33. This setting expects a value between 0 and 1, where 0 is complete transparency and 1 complete opacity.
  34. The translucency parameter is very useful when dealing with overlapping rendering, i.e. when some parts of the visualizations end up on each other.
  35. By adding some translucency the data can still be visible, and it can also smoothen dense readings for more confort.
  36. \image html Settings_Translucency-1-05.png "Using the translucency to allow dense yet smooth EEG reading"
  37. \image latex Settings_Translucency-1-05.png "Using the translucency to allow dense yet smooth EEG reading" width=\textwidth
  38. \subsection Doc_Mensia_AdvViz_Configuration_BoxSettings_PositiveData Positive data only
  39. By ticking this checkbox, you shift the vertical scale of the visualization in order to have the 0 at the bottom (no negative values will be displayed)
  40. This setting can be activated when dealing with spectral amplitude or any kind of positive-only "levels".
  41. \image html ContinuousBars_Display.png "Displaying a positive level (Global Field Power) using Continuous Bars"
  42. \image latex ContinuousBars_Display.png "Displaying a positive level (Global Field Power) using Continuous Bars" width=10cm
  43. \subsection Doc_Mensia_AdvViz_Configuration_BoxSettings_Gain Gain
  44. If set, all samples in the input stream are multiplied by this scalar value before display.
  45. This can be useful when you need to display all at once different type of data on the same relative scale, with a good contrast on every view.
  46. \subsection Doc_Mensia_AdvViz_Configuration_BoxSettings_TemporalCoherence Temporal Coherence
  47. Tells the box whether the input stream is expected to be <b>Time-locked</b> or <b>Independent</b>.
  48. In the first case the box should use a Time scale (in seconds, for <b>continuous</b> data), and for the second case a Matrix count (number of data block received, for <b>discontinuous</b> data).
  49. \subsection Doc_Mensia_AdvViz_Configuration_BoxSettings_TimeScale Time scale
  50. The time scale (in seconds) drives the number of values to be displayed in continuous or stacked views before going back to the origin.
  51. Using a time scale is meaningful only when dealing with an input stream made of continuous epochs, e.g. signal display, time-frequency analysis.
  52. \subsection Doc_Mensia_AdvViz_Configuration_BoxSettings_MatrixCount Matrix count
  53. The number of input epochs to display before going back to the origin. For example in stacked bitmaps this setting is the number of bitmaps to be stacked before going back to the bottom of the stack.
  54. An illustration for this setting would be the visualization of Event-Related Potentials such as P300.
  55. In such scenario, we usually select epochs of data uncontinuously, e.g. by extracting 600ms of signal around a target stimulation.
  56. Setting the Temporal coherence parameter to <em> Independent</em> will make the box display every epochs one after another, without trying to use the epoch timings.
  57. For example, set to <em> Independent</em> when you want to stack P300 target trials on a bitmap view, with a matrix count equal to the number of trials you want to stack.
  58. \image html StackedBitmapVert_ERPDisplay.png "Using a Stacked Bitmap (Vertical) to display the 3 first xDAWN components of all 99 Target trials of a P300 session"
  59. \image latex StackedBitmapVert_ERPDisplay.png "Using a Stacked Bitmap (Vertical) to display the 3 first xDAWN components of all 99 Target trials of a P300 session" width=10cm
  60. \section Doc_Mensia_AdvViz_Configuration_RuntimeToolbar Runtime Settings
  61. This section covers the different settings available at runtime (i.e. when the scenario is currently beeing played).
  62. Clicking on the <b> toolbar </b> will open-up the runtime visualization settings.
  63. - <b> Sort Channels </b> : rearrange the channels <b> by their name </b> (alphabetically or reversed order), or <b> by their position on the scalp </b> (left to right or front to back).
  64. This last option is possible only if the channel are named according to the 10-20 system, and if you provided a channel localisation file in the box settings.
  65. - <b> Select Channels </b> : Select in a list the channels you want to see in the visualization window.
  66. Use the <tt>Ctrl</tt> or <tt>Shift</tt> key to add channels to your selection, <tt>Ctrl+a</tt> to select all channels.
  67. - <b> Show scales </b> : show or hide all the scales around the visualization widget; allows nice snapshots.
  68. This setting is <b> global </b>, meaning that it affects all the other advanced visualization windows currently running in your scenario.
  69. Doing so preserves the widgets alignment when displaying synchronized data.
  70. This setting can be turned on or off also by a <b> double left-click </b> in the visualization windows itself.
  71. - <b> Positive data </b> : this setting is a runtime duplicate of the box setting <em> Positive data only </em>.
  72. If checked, the vertical axis is shifted so that 0 is at the bottom. Negative values wont be displayed.
  73. Depending on the temporal coherence selected in the box settings, you may find:
  74. - <b> Time scale </b> : this setting is a runtime duplicate of the box setting <em> Time scale </em>.
  75. - <b> Matrix count </b> : this setting is a runtime duplicate of the box setting <em> Matrix count </em>.
  76. When the visualization box implements an <b> Instant </b> paradigm for <b> streamed matrices or signal input </b> data, a new setting is available:
  77. - <b> Epoch replay </b> : replays the last epoch received.
  78. Topographies also expose the ERP replay in adequat conditions.
  79. This feature is <b> global </b>, meaning that the replay is performed simultaneously on every compatible boxes.
  80. This allows for example on-demand replays of ERPs, simultaneously on a signal display and a topography.
  81. \image html 3DTopography_ERPReplay.png "Using the ERP replay feature on a 3D topography to catch the spatial course of the potential"
  82. \image latex 3DTopography_ERPReplay.png "Using the ERP replay feature on a 3D topography to catch the spatial course of the potential" width=10cm
  83. \section Doc_Mensia_AdvViz_Configuration_RuntimeControls Runtime Controls
  84. All the visualization boxes share common controls at runtime, for a user-friendly, natural interaction.
  85. Using the mouse, one can:
  86. - Maintain <b> right click </b> and move the mouse up or down to <b> zoom in or out on the data scale </b>
  87. - Maintain <b> left click </b> and move the mouse to <b> rotate </b> a 3D model
  88. - Maintain <b> middle click </b> and move the mouse to <b> zoom in or out on a 3D model </b>
  89. - <b> Double left click </b> in the vizualisation window to remove all the scales from the frame
  90. All these controls are <b> global </b> , meaning that if you change the scale in one visualization window, it will change the scale in every visualization windows accordingly.
  91. */