Based on animal head positions in a V-shaped tunnel tunnel, calc_vis_angle_V() calculates the visual angles created by lateral visual stimuli.

calc_vis_angle_V(obj_name, simplify_output = FALSE)

Arguments

obj_name

The input viewr object; a tibble or data.frame with attribute pathviewR_steps that includes "viewr" and treatments_added.

simplify_output

If TRUE, the returned object includes the minimum distance between the subject and the lateral walls as well as the visual angles (in degrees) to those points on the walls. If FALSE, the returned object includes all variables internal to the calculation.

Value

A tibble or data.frame with added variables for height_2_vertex, height_2_screen, width_2_screen_pos, width_2_screen_neg, min_dist_pos, min_dist_neg, bound_pos, bound_neg, vis_angle_pos_rad, vis_angle_neg_rad, vis_angle_pos_deg, vis_angle_neg_deg

Details

cal_vis_angle_V assumes the subject's gaze is fixed at the point on the either side of the tunnel that minimizes the distance to visual stimuli and therefore maximizes visual angles. All length measurements are reported in meters.

See also

Other visual perception functions: calc_sf_V(), calc_sf_box(), calc_vis_angle_box()

Author

Eric R. Press