Incoherent Summing with Standard Layers#

Analysing data containing domains using standard layers models is done in a similar way to a normal standard layers model, but with a couple of additional steps.

A normal standard layers model defines parameters, which are grouped into layers, and then these are arranged into contrasts. For sample containing domains, the layers are first grouped into domain ‘contrasts’, which are just groupings of layers with none of the additional parameters of a contrast (such as resolutions etc). Then, the actual experimental contrasts are built in the usual way, but with the model set as any two of the domains.

Domains graph

To control the ratio between the domains, we can add domain ratios as described in Standard Layers Domains. And each contrast has an additional field for domain ratios which is set as one of the values from this block.

This example can be run as a script or interactively using the instructions below.

Run Script:

root = getappdata(0, 'root');
cd(fullfile(root, 'examples', 'domains', 'standardLayers'));
domainsStandardLayersScript

Run Interactively:

root = getappdata(0, 'root');
cd(fullfile(root, 'examples', 'domains', 'standardLayers'));
edit domainsStandardLayersSheet.mlx

Run Script:

python RATapi.examples.domains.domains_standard_layers.py

Run as Function:

import RATapi as RAT
problem, results = RATapi.examples.domains.domains_standard_layers()

Run Interactively:

jupyter notebook RATapi.examples.domains.domains_standard_layers.ipynb