correct_shift: FFT shifts are corrected using last headings.

View source: R/obj_prop.R

correct_shiftR Documentation

FFT shifts are corrected using last headings.

Description

takes in flow vector based shift and current_object dataframe which has last headings, and check if they are resonably close if not rejects or modify shift and return. Note: frame2 of last timestep is now frame1, but current_objects still has it as frame2. So id2 in the last frame2 are actually ids related to frame1 now.

Usage

correct_shift(this_shift, current_objects, object_id1)

RBhupi/tracR documentation built on June 13, 2022, 4:42 a.m.