# Nesting over a Multi condition

Aim

To pick out the track segments corresponding to a Multi condition. To get an idea of what a Multi condition is, see Multi condition in the Analysis profile.

You can also define complex selections by combining two or more Nesting boxes. See Multiple nesting criteria. However, there are limitations. For example, you cannot select the points when “Distance to zone was less than 10 cm” using a Nest box. However, you can do that by creating a Multi condition.

example Select all the points in the track when (a) the subject’s Body elongation state was Stretched and (b) its Distance from the zone Object was less than 10 cm. Then, create a heatmap.

Procedure

1.In the Data Profile, under Nesting click the button next to Multi condition.

2.In the Multi Condition window, specify the single conditions that define the Multi condition.

3.Combine the conditions with either All conditions are true (AND logic) or Any condition is true (OR logic).

For details, see Dependent Variables in Detail > Multi condition.

4.Click OK. Insert the resulting Nest box in the appropriate position between the Start and the Result box. See How to select track segments

Nesting vs. Nesting over Subjects

If your trials contain multiple subjects and you want to analyze one subject in Multi condition based on the behavior of another subject, click Multi condition under Nesting over Subjects. See Nesting vs. Nesting over subjects

Notes

▪Note the difference:

▪You define a Multi condition in the Data Profile when you want to analyze any dependent variable within the resulting track segment. For example, to calculate the average velocity of the subject when a Multi condition is true.

▪You define a Multi condition in the Analysis Profile when you want to analyze the interval itself. For example when you want to know the total duration of the Multi condition being true. However, you won’t get, for example, the average velocity in the resulting track segment. See Free interval in the Analysis profile