Plot smoothed displacement estimate

plot_smoothed_displacement(xy, filter = 1, ...)

Arguments

xy

List of xy locations per frame produced by read_ybr_xy or raw TIFF data or path to TIFF file.

filter

Either the width in seconds of a simple smoothing filter or a filter defined according to filter. The signalling value of filter=F suppresses any filtering. Defaults to 1s boxcar filter.

...

Additional arguments to plot.ts

See also

filter, plot.ts

Other ybr-displacement: ybr_median_displacement(), ybr_raw_displacements()

Other ybr-plot: plot_ybr()

Examples

tiffdf=find_ybr_tiffs(system.file("ybr_tiffs", package='flywatch')) plot_smoothed_displacement(tiffdf$tiff[1])