Overview of functionality
A UnfoldSim simulation has four ingredients: Design, Component, Onset and Noise. Here we provide a short overview of the implemented types.
Setup
Click to expand
# Load required packages
using UnfoldSim
using InteractiveUtilsDesign
Designs define the experimental design. They can be nested, e.g. RepeatDesign(SingleSubjectDesign,10) would repeat the generated design-dataframe 10x.
subtypes(AbstractDesign)6-element Vector{Any}:
EffectsDesign
MultiSubjectDesign
RepeatDesign
SequenceDesign
SingleSubjectDesign
UnfoldSim.SubselectDesignComponent
Components define a signal. Some components can be nested, e.g. LinearModelComponent|>MultichannelComponent, see the multi-channel tutorial for more information.
subtypes(AbstractComponent)3-element Vector{Any}:
LinearModelComponent
MixedModelComponent
MultichannelComponentOnsets
Onsets define the distance between events in the continuous signal.
subtypes(AbstractOnset)6-element Vector{Any}:
LogNormalOnset
LogNormalOnsetFormula
NoOnset
ShiftOnsetByOne
UniformOnset
UniformOnsetFormulaNoise
Choose the noise you need!
subtypes(AbstractNoise)7-element Vector{Any}:
ExponentialNoise
NoNoise
PinkNoise
RedNoise
UnfoldSim.AutoRegressiveNoise
UnfoldSim.RealisticNoise
WhiteNoiseThis page was generated using Literate.jl.