


simtb_main() - Main function for performing simulations
For each subject:
- Generates time courses (TC) and spatial maps (SM)
- Multiplies TC*SM and adds scaled activations to baseline (B) to make dataset (D)
- Simulates dataset motion (OPTIONAL)
- Adds Rician noise to dataset (OPTIONAL)
- Saves parameters, TC, SM, dataset, motions parameters and any figures displayed.
Usage:
>> simtb_main(sP)
INPUTS:
sP = simulation parameter structure
OUTPUTS:
(none, all outputs are saved to file).
If sP.verbose_display, will display and save images of parameters and output
see also: simtb_create_sP(), simtb_params()