assign_direction_v2: Assign direction to different pieces of activity

View source: R/A_EVENTS_elements_v2.r

assign_direction_v2R Documentation

Assign direction to different pieces of activity

Description

Assign direction to different pieces of activity, e.g. "IN" and "OUT"

Usage

assign_direction_v2(x, hardware_threshold = 0.05)

Arguments

x

A data.table as supplied by fetch_ins_outs_v2.

hardware_threshold

= 0.05 Time in seconds within which a changed of outer and inner light barrier is assumed to be "at the same time". This is defined by the hardware settings and should therefore usually not be changed.

Details

See events_v2 for further information. Note that after some minor alterations, the output of this function is returned, if in function events_v2 groups_ins_and_outs = FALSE.

Examples

#Not run
#see help of function events_v2
?events_v2()

mpio-be/SNB2 documentation built on Sept. 17, 2024, 4:27 p.m.