Hi,
I have a channel file that contains NIRS and EEG channels, and I was wondering if it was possible to display them simultaneously instead of in two separate figures?
thx
You could probably use directly the function view_channels.m to add the EEG electrodes to the NIRS figure. Set the hFig handle to the existing NIRS figure.
function [hFig, iDS, iFig] = view_channels(ChannelFile, Modality, isMarkers, isLabels, hFig, is3DElectrodes, selChannels)
% VIEW_CHANNELS: Display a channel file in all the associated 3DViz figure.
%
% USAGE: view_channels(ChannelFile, Modality, isMarker=1, isLabels=1, hFig=[], is3DElectrodes=0, selChannels=[])
% view_channels(ChannelFile, Modality)
% OUTPUT:
% - hFig : Matlab handle to the 3DViz figure that was created or updated
% - iDS : DataSet index in the GlobalData variable
% - iFig : Indice of returned figure in the GlobalData(iDS).Figure array
% @=============================================================================
% This function is part of the Brainstorm software:
% https://neuroimage.usc.edu/brainstorm
%
% Copyright (c)2000-2020 University of Southern California & McGill University
% This software is distributed under the terms of the GNU General Public License
% as published by the Free Software Foundation. Further details on the GPLv3
% license can be found at http://www.gnu.org/copyleft/gpl.html.
%
% FOR RESEARCH PURPOSES ONLY. THE SOFTWARE IS PROVIDED "AS IS," AND THE
This file has been truncated. show original