R/analytical_functions.R
calc_vis_angle_box.Rd
Based on animal head positions in a rectangular tunnel i.e. box,
calc_vis_angle_box()
calculates the visual angles created by lateral
visual stimuli.
calc_vis_angle_box(obj_name)
obj_name | The input viewr object; a tibble or data.frame with attribute
|
---|
A tibble or data.frame with added variables for min_dist_pos
,
min_dist_neg
, vis_angle_pos_rad
, vis_angle_neg_rad
,
vis_angle_pos_deg
, and vis_angle_neg_deg
.
cal_vis_angle_box
assumes fixed gaze at the point on the
either side of the tunnel that minimizes the distance to visual stimuli and
thereby maximizes visual angles. All length measurements reported in
meters.
Other visual perception functions:
calc_sf_V()
,
calc_sf_box()
,
calc_vis_angle_V()
Eric R. Press