get_header_viewr()
|
Extract header info from imported viewr object |
relabel_viewr_axes()
|
Relabel the dimensions as length, width, and height |
gather_tunnel_data()
|
Gather data columns into key-value pairs |
rescale_tunnel_data()
|
Rescale position data within a viewr object |
rename_viewr_characters()
|
Rename subjects in the data via pattern detection |
trim_tunnel_outliers()
|
Trim out artifacts and other outliers from the extremes of the tunnel |
rotate_tunnel()
|
Rotate a tunnel so that perches are approximately aligned |
standardize_tunnel()
|
Rotate and center a tunnel based on landmarks |
redefine_tunnel_center()
|
"Center" the tunnel data, i.e. translation but no rotation |
select_x_percent()
|
Select a region of interest within the tunnel |
quick_separate_trajectories()
|
Quick version of separate_trajectories() |
separate_trajectories()
|
Separate rows of data into separately labeled trajectories. |
get_full_trajectories()
|
Retain trajectories that span a selected region of interest |
section_tunnel_by()
|
Bin data along a specified axis |
exclude_by_velocity()
|
Remove trajectories entirely, based on velocity thresholds |
fill_traj_gaps()
|
Interpolate gaps within trajectories |
rm_by_trajnum()
|
Remove subjects by trajectory number |
insert_treatments()
|
Inserts treatment and experiment information |
find_curve_elbow()
|
Find the "elbow" of a curve. |
get_velocity()
|
Get instantaneous velocity for subjects |
calc_vis_angle_V()
|
Estimate visual angles in a V-shaped tunnel |
calc_vis_angle_box()
|
Estimate visual angles in a box-shaped tunnel |
calc_sf_V()
|
Estimate spatial frequency of visual stimuli in V-shaped tunnel |
calc_sf_box()
|
Estimate spatial frequency of visual stimuli in rectangular tunnel, i.e. box |
get_dist_point_line()
|
Compute distance between a point and a line |
get_3d_cross_prod()
|
Compute the cross product of two 3D vectors |
rad_2_deg()
|
Convert radians to degrees |
deg_2_rad()
|
Convert degrees to radians |
get_2d_angle()
|
Compute an angle in 2D space |
get_3d_angle()
|
Compute an angle in 3D space |