nirs.modules.default_modules.group_analysis

See also nirs.modules.default_modules.basic_processing,
nirs.modules.default_modules.FIR_model,
nirs.modules.default_modules.group_analysis,
nirs.modules.default_modules.image_recon,
nirs.modules.default_modules.single_subject_dOD, and
nirs.modules.default_modules.single_subject.

Untitled

nirs.modules.default_modules.group_analysis

This module runs a default modules to get group level statistical analysis.
The following modules are included in this default: nirs.modules.RemoveStimLess, nirs.modules.FixNaNs, nirs.modules.Resample, nirs.modules.OpticalDensity, nirs.modules.TrimBaseLine, nirs.modules.AR_IRLS, and nirs.modules.MixedEffects.
Example Usage:
for i = 1:10
raw(i) = nirs.testing.simData([], @(t)nirs.testing.blockedStimDesign(t,15,25,2));
% task-based 15s duration, 25s between onset, and 2 conditions
end
 
job = nirs.modules.default_modules.group_analysis();
GroupStats = job.run(raw);
Import data module skipped: Data provided HFinished 10 of 10. SubjStats created in workspace GroupStats created in workspace
GroupStats.conditions
ans = 2×1 cell
‘A’
‘B’