undo_cal.Rd
This function is used to undo any calibration steps that have been applied to sensor data. This will reverse any re-mapping, scaling and offset adjustments that have been applied to the data, reverting the sensor data to the state it was when read in from the source (excluding any filtering or decimation steps).
undo_cal(X, T)
X | A sensor list or set of sensor lists in the tag frame, i.e., with calibrations applied. |
---|---|
T | A vector of temperature measurements with the same number of samples and sampling rate as the data in the input sensor data structure X. T indicates the temperature experienced by the sensor during data collection (not necessarily the ambient temperature experienced by the animal), and may affect calibration because many sensors’ output values change depending on the temperature. |
A sensor list or set of sensor lists reverted to the sensor frame, i.e., without calibrations.
if (FALSE) { BW <- beaked_whale undo_cal(BW) }