-
Notifications
You must be signed in to change notification settings - Fork 4
4. Plot
Functions for plotting decoding results over time, in sensor space or on the template brain.
-
plot_time_results
Plots decoding results (e.g. accuracy) over time, with a shaded error bar/confidence interval. Significant segments can be highlighted. Can be called within a loop to plot multiple traces in one figure, with corresponding legends added. -
plot_temporal_generalization
Plots temporal generalization accuracies as time by time heatmaps, outlining significant segments if required. -
plot_sensor_results
Plots decoding results (e.g. accuracy) as topographies on the MEG sensor map using Fieldtrip's topoplotting function. Significant channels can be highlighted and searchlight accuracies are assigned to the corresponding centroids. Requires Fieldtrip neighbours structure (or output fromget_sensor_info
). -
plot_source_results
Plots decoding results (e.g. accuracy) on the template/inflated brain using Fieldtrip's source plotting function. To mask non-significant results, set those sources to NaN/0 or use ROI masking based on AAL atlas. Searchlight accuracies are assigned to the corresponding centroids (default) or to the entire cluster (note: the latter can lead to some inaccuracies when overlapping searchlights are partially overwritten). Requires spatial information (cell array fromget_source_info
).
-
movie_sensor_results
Plots sensor-space decoding results over time as a movie using the template sensor map. -
movie_source_results
Plots source-space decoding results over time as a movie using the template brain surface. -
rotating_source_results
Plots source-space decoding results on a revolving template brain (no time dimension).