This function is used to reduce the time span of a dataset by cropping out any data that falls before and after two time cues.
Value
A sensor list or set of sensor lists containing the cropped data segment. The output data have the same units, frame and sampling characteristics as the input. The list may have many sublists which are additional sensor structures as required to match the input.
Details
Possible input combinations: crop_all(X) if X is a sensor list or set of sensor lists, crop_all(tcues, X, Y, ...) if X, Y, ... are sensor lists.
Examples
d <- find_dives(beaked_whale$P,300)
X <- crop_all(c(d$start[1], d$end[1]), beaked_whale) #crop all data to 1st dive
plott_base(X = list(X$P, X$A), r = c(1, 0), panel_labels = c('Depth', 'Acc'))