# Nesting over Side by side

Aim

To pick out data occurring when two subjects were side by side within a proximity threshold distance.

example Calculate the average velocity of the subject when it was side-by-side with another subject, pointing to the same direction.

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 Side-by-side behavior of that subject, choose Side by side under Nesting. In the Receivers tab you specify which subject was side-by side with the focal subject. See the procedure below.

▪To select data of a subject based on the Side-by-side behavior of other subjects, choose Side by side under Nesting over Subjects. There you find the Actors tab and the Receivers tab where you can specify which subject (Actor) was side by side with which other subjects (Receivers). See Nesting over subjects

Procedure

1.In the Data Profile, under Nesting click the button next to Side by side.

2.In the Side by side window, either enter the proximity threshold distance or accept the default value (see below for details).

3.Under Calculate nesting for, choose which state of the Side by side variable defines your selection: either Side by side, same direction or Side by side, opposite direction.

For details about the Side by side variable, see Dependent Variables in Detail > Social > Side by side.

4.Click the Receivers tab and select which subjects should be in proximity with the focal subject

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

Note

▪The default proximity threshold distance is 5.26 cm. This corresponds to the threshold used in Live Mouse Tracker, that is, 2 x 15 = 30 pixels, where 15 is the original value of MAX_DISTANCE_HEAD_HEAD_GENITAL_THRESHOLD in Live Mouse Tracker, and the scale factor for converting pixels to cm is 10/57.

▪If you select multiple subjects A, B, etc. in the Receivers tab, and select the option All selected subjects, then the track segments are selected when the focal subject was side by side with A, B, etc. simultaneously. That may not occur often. Instead, select Any selected subject if you want to analyze the track segments when the focal subject was side by side either with A, or B, etc.

See also

▪Nesting over Proximity

▪Nesting over subjects