Recursive filtering for zero offset correction of diving depth time series with GNU R package diveMove
- PMID: 21297976
- PMCID: PMC3030565
- DOI: 10.1371/journal.pone.0015850
Recursive filtering for zero offset correction of diving depth time series with GNU R package diveMove
Abstract
Zero offset correction of diving depth measured by time-depth recorders is required to remove artifacts arising from temporal changes in accuracy of pressure transducers. Currently used methods for this procedure are in the proprietary software domain, where researchers cannot study it in sufficient detail, so they have little or no control over how their data were changed. GNU R package diveMove implements a procedure in the Free Software domain that consists of recursively smoothing and filtering the input time series using moving quantiles. This paper describes, demonstrates, and evaluates the proposed method by using a "perfect" data set, which is subsequently corrupted to provide input for the proposed procedure. The method is evaluated by comparing the corrected time series to the original, uncorrupted, data set from an Antarctic fur seal (Arctocephalus gazella Peters, 1875). The Root Mean Square Error of the corrected data set, relative to the "perfect" data set, was nearly identical to the magnitude of noise introduced into the latter. The method, thus, provides a flexible, reliable, and efficient mechanism to perform zero offset correction for analyses of diving behaviour. We illustrate applications of the method to data sets from four species with large differences in diving behaviour, measured using different sampling protocols and instrument characteristics.
Conflict of interest statement
Figures
References
-
- Laidre KL, Heide-Jørgensen MP, Dietz R. Diving behaviour of narwhals (Monodon monocerus) at two coastal localities in the Canadian Arctic. Can J Zool. 2002;80:624–635.
-
- Spence-Bailey LM, Verrier D, Arnould JPY. The physiological and behavioural development of diving in Australian fur seal (Arctocephalus pusillus doriferus) pups. J Comp Physiol B Biochem Syst Environ Physiol. 2007;177:483–494. - PubMed
-
- Eguchi T, Harvey JT. Diving behavior of the Pacific harbor seal (Phoca vitulina richardsii) in Monterrey Bay, California. Mar Mamm Sci. 2005;21:283–295.
-
- Hull CL. Comparative diving behaviour and segregation of the marine habitat by breeding Royal penguins, Eudyptes schlegeli, and eastern Rockhopper penguins, Eudyptes chrysocome filholi, at Macquarie Island. Can J Zool. 1999;78:333–345.
-
- R development Core Team. Vienna, Austria: R Foundation for Statistical Computing; 2010. R: A language and environment for statistical computing. Available: http://www.R-project.org.
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
