Changes for page Widget TimeSeries
Last modified by ldomide on 2023/05/23 14:34
From version 47.1
edited by rominabaila
on 2023/05/15 15:58
on 2023/05/15 15:58
Change comment:
There is no comment for this version
To version 39.1
edited by rominabaila
on 2023/05/15 14:16
on 2023/05/15 14:16
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -106,21 +106,26 @@ 106 106 107 107 Starting with //**tvb-widgets version 1.5.0**//, we introduced a second TS Widget, which uses the **plotly.py** library to create the interactive plot. Below you can watch small tutorials on how to use and interact with this widget. 108 108 109 -=== 2.1. Basic controlsoftheplot ===109 +=== 2.1. Moving through the timeline and channels list === 110 110 111 - If youhoverover a signal, atooltip will appear where youcan seetheexactvalue fromthat point and thenameofthechannelyou are hoveringover.Next,you can zoom in, by draggingand creating an areainsidetheplotorfromtheplotly tools areaandzoomout,from the same tools area.Tocome back to the original view, you canclick the'Resetaxes'button(house icon) fromthetoolsarea.111 +To move through the timeline or channels list, go to your cursor over the X (for timeline) and Y (for channels) axes and drag it to navigate. 112 112 113 -To the right of the plot there is a legend, showing the channels which are plotted. The '**[R]**' notation means that the signal is **resampled** so that all of it can be viewed inside the plot. The '**~~20**' notation means that 20 consecutive points are aggregated into a single point in the plot. As you zoom in in the plot, the number of aggregated points decreases. This is all done using the [[**plotly-resampler**>>https://predict-idlab.github.io/plotly-resampler/]] package. 114 - 115 -Moreover, clicking on a channel name from the legend will toggle its visibility inside the plot. This means that the signal corresponding to that channel //is not removed, but just invisible// in the plot. Double clicking on a channel from the legend will isolate it, meaning that will be the only visible channel in the plot and the rest of them will be hidden. Double clicking again will make all the channels visible again. If you wish to hide all the channels or make all of them visible, use the 'Hide All' and 'Show All' buttons. 116 - 117 117 {{html}} 118 -<iframe width="840" height="480" src="https://www.youtube.com/embed/x 4ksyKIFUAk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>114 +<iframe width="840" height="480" src="https://www.youtube.com/embed/nZYZxHui-Ao" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> 119 119 {{/html}} 120 120 117 +=== 2.2. Modify spacing between channels === 121 121 122 -=== 2.2. Moving through the timeline and channels list === 123 123 120 +{{html}}<iframe width="840" height="480" src="https://www.youtube.com/embed/q_olB7uRSc4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>{{/html}} 121 + 122 + 123 +== 2. TS Widget with plotly == 124 + 125 +Starting with //**tvb-widgets version 1.5.0**//, we introduced a second TS Widget, which uses the **plotly.py** library to create the interactive plot. Below you can watch small tutorials on how to use and interact with this widget. 126 + 127 +=== 2.1. Moving through the timeline and channels list === 128 + 124 124 To move through the timeline or channels list, go to your cursor over the X (for timeline) and Y (for channels) axes and drag it to navigate. 125 125 126 126 {{html}} ... ... @@ -127,32 +127,36 @@ 127 127 <iframe width="840" height="480" src="https://www.youtube.com/embed/nZYZxHui-Ao" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> 128 128 {{/html}} 129 129 130 -=== 2. 3. Modify spacing between channels ===135 +=== 2.2. Modify spacing between channels === 131 131 132 -To modify the spacing between the channels, go with your cursor over the beginning/end of the Y axis (where the channels list is) and drag it to the outside of the plot area. To decrease the spacing, drag your cursor to the inside of the plot area. To reset the spacing to the default values, click on the 'Reset axes' button (Home icon) from the plotly tools area. 133 133 134 134 {{html}}<iframe width="840" height="480" src="https://www.youtube.com/embed/q_olB7uRSc4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>{{/html}} 135 135 136 136 137 -== =2.4.Modifysignalscaling===141 +== 2. TS Widget with plotly == 138 138 139 - To modifythe scaling(amplitude)of asignal,use the sliderbelow the plot.Totherightoftheslideryouwillseethescalingfactor,i.e.the numberbywhich the signalsare multiplied.143 +Starting with //**tvb-widgets version 1.5.0**//, we introduced a second TS Widget, which uses the **plotly.py** library to create the interactive plot. Below you can watch small tutorials on how to use and interact with this widget. 140 140 145 +=== 2.1. Moving through the timeline and channels list === 146 + 147 +To move through the timeline or channels list, go to your cursor over the X (for timeline) and Y (for channels) axes and drag it to navigate. 148 + 141 141 {{html}} 142 -<iframe width="840" height="480" src="https://www.youtube.com/embed/ mYitFiHy_Qs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>150 +<iframe width="840" height="480" src="https://www.youtube.com/embed/nZYZxHui-Ao" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> 143 143 {{/html}} 144 144 145 -== =2.5.Channelsanddimensionsselection===153 +== 2. TS Widget with plotly == 146 146 147 - To select whichchannelsareplotted/removedfromtheplot (sonotjustvisible/hidden),youcanuse the'Channels'area to therightofthe plot& legend.Whenyouexpendit, thefirst visible elementis a 'Submitselection'button,whichmustbeusedevery timeachangeis done inthisChannels area.155 +Starting with //**tvb-widgets version 1.5.0**//, we introduced a second TS Widget, which uses the **plotly.py** library to create the interactive plot. Below you can watch small tutorials on how to use and interact with this widget. 148 148 149 - Underneaththisbutton thereare a 'Statevariable'anda 'Mode' selection sections, whichare mostly relevant whentheinput data (timeseries)has 3 or 4 dimensions.157 +=== 2.1. Moving through the timeline and channels list === 150 150 151 -Below are the 'Select all' and 'Unselect all' buttons, which will plot/remove all the signals in/from the plot. 159 +{{html}} 160 +<iframe width="840" height="480" src="https://www.youtube.com/embed/nZYZxHui-Ao" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> 161 +{{/html}} 152 152 153 - Finally,belowyoucan see a list of checkboxes, where each checkbox corresponds to one signal from theplot.Unchecking a checkbox for a signalwill removethatsignal from theplot.163 +== 2. TS Widget with plotly == 154 154 155 - Onceagain,alwaysrememberthatforeachselection,be it adimensionora signalselection,youmustuse the'Submitselection'button to seeachange intheplot.165 +Starting with //**tvb-widgets version 1.5.0**//, we introduced a second TS Widget, which uses the **plotly.py** library to create the interactive plot. Below you can watch small tutorials on how to use and interact with this widget. 156 156 157 -{{html}}<iframe width="840" height="480" src="https://www.youtube.com/embed/Ehj_n5JAYI8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>{{/html}} 158 - 167 +=== 2.1. Moving through the timeline and channels list ===