apply_cal

Undo calibrations steps


Matlab & Octave

X = apply_cal(X)
	or
X = apply_cal(X,T)

R

list <- apply_cal(X)
     or
list <- apply_cal(X, T)

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).

Input var Description Units
X is a sensor structure/list or set of sensor structures in the 'tag frame', i.e., with calibrations applied.N/A
T A vector of temperature measurements with the same number of samples and sampling rate as the data in the input sensor data structure/list 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.degrees Celsius
Output var Description Units
X is a sensor structure/list reverted to the 'sensor frame', i.e., without calibrations.N/A

Matlab & Octave

BW <- load_nc('testset1.nc')
undo_cal(BW)

R

BW <- beaked_whale
undo_cal(BW)

bugs@animaltags.org Last modified: 4 August 2017

  • tagwiki/tools/calibration/apply_cal.txt
  • Last modified: 2017/08/04 14:01
  • by das39