# Nesting over Acceleration state

Aim

Pick out the data collected when one or more subjects were in one of the states High acceleration or Low acceleration.

example Select the time intervals when the fish performed swim bursts (for this, use Acceleration state). Next, calculate how much time the fish was in the stimulus zone compared with the rest of the arena during those time fragments (for this, use the variable In zone).

Nesting vs. Nesting over Subjects

Notice the difference when there are multiple subjects in the same arena:

▪To select data of a subject based on the Acceleration state of that subject, choose Acceleration state under Nesting. See the procedure below.

▪To select data of a subject based on the Acceleration state of other subjects, choose Acceleration state under Nesting over Subjects. There you find the Actors tab where you can specify which subjects (Actors) were in a certain Acceleration state. See Nesting over subjects

Procedure

1.In the Data Profile, under Nesting click the button next to Acceleration state.

2.In the Acceleration State window:

▪Under Outlier filter, enter an Averaging interval to smooth the values of acceleration.

▪Under Threshold, enter the threshold that defines the state High acceleration and Low acceleration.

▪Under Calculate nesting for, select the state that the intervals are based on.

For details about how Acceleration state is calculated, see Dependent Variables in Detail > Acceleration state.

3.Click the Body Points tab (when available), and specify the body points that Acceleration is based on. Choose whether Acceleration state is based on all the chosen points being in the same state simultaneously (All selected points) or at least one being in that state (Any selected point).

4.Click OK. Proceed with step 4 in How to select track segments.

See also

▪Nesting over Subjects