get_coords: Gets rescaled coordinates of Box and Cup ROI

Description Usage Arguments Value Examples

View source: R/get_coords.R

Description

Gets rescaled coordinates of Box and Cup ROI

Usage

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

Arguments

df

raw dataframe from python output

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) cup ROI coordinates ii) box coordinates iii) 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.