get_coords_habit: Gets rescaled coordinates for box

Description Usage Arguments Value Examples

View source: R/get_coords_habit.R

Description

Gets rescaled coordinates for box

Usage

1
get_coords_habit(df, secs = 300, fr = 30, burnin = 0)

Arguments

df

raw dataframe from python output during habituation

secs

number of seconds to get data for from beginning

fr

frame rate of camera

burnin

- number of frames to ignore

Value

a list i) box coordinates ii) data frame including Frame,X and Y coordinates,plotX and plotY for graphing

Examples

1
2
get_coords_habit(df, secs=300, fr=30, burnin = 0)
get_coords_habit(data, secs=600, fr=60, burnin = 3)

ty14/ezTrackR documentation built on Nov. 5, 2019, 11:02 a.m.