plot_smoothed_displacement: Plot smoothed displacement estimate

Description Usage Arguments See Also Examples

View source: R/yoshi_behav_functions.R

Description

Plot smoothed displacement estimate

Usage

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

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

jefferislab/flywatch documentation built on Aug. 6, 2021, 12:14 p.m.