fix_trial_order
PURPOSE
SYNOPSIS
function ordered_trial = fix_trial_order(trialdata,meg_channels,meg_indices,eeg_channels,eeg_indices,analog_channels,analog_indices,reference_channels,reference_indices);
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
- plot_meg_data plot_meg_data(samples, chans, freqs,Lo_Pass,Hi_Pass,
- rd_meg_onechan [analog_power,NSamp,Samp_Rate] = power_fft_analog(analog_chans,megfilename);
- run_meg_csdm status = run_meg_csdm(skip_samples,Epoch,MEG_max,EEG_max,EEG_reference,
- run_riv1_csdm status = run_meg_csdm(skip_samples,Epoch,MEG_max,EEG_max,EEG_reference,
- run_riv_csdm status = run_meg_csdm(skip_samples,Epoch,MEG_max,EEG_max,EEG_reference,
SOURCE CODE
0001 function ordered_trial = fix_trial_order(trialdata,meg_channels,meg_indices,eeg_channels,eeg_indices,analog_channels,analog_indices,reference_channels,reference_indices);
0002
0003
0004
0005
0006
0007 ordered_trial(:,meg_channels) = trialdata(:,meg_indices)*(10^12);
0008 ordered_trial(:,eeg_channels) = trialdata(:,eeg_indices)*100;
0009 ordered_trial(:,analog_channels) = trialdata(:,analog_indices)*100;
0010 ordered_trial(:,reference_channels) = trialdata(:,reference_indices)*(10^12);
0011
Generated on Wed 20-Sep-2023 04:00:50 by m2html © 2003