| templateScores-class {monitoR} | R Documentation |
Class "templateScores"
Description
These objects contain template scores, which indicate how well templates match a single survey recording, with a value for each time bin.
Additionally, all the objects which were used to create these scores are also saved within the objects.
Objects of this class represent an intermediate step in the template detection process–detections need to be found in the scores using findPeaks.
Objects from the Class
Objects can be created by calls of the form new("templateScores", ...).
However, they should always be created with the corMatch or binMatch function.
Slots
survey.name:Object of class
character. The name of the survey file, or"A Wave object"if the survey was not read in from a file.survey:Object of class
Wave. The survey data, as a"Wave"object.survey.data:Object of class
list. A named list, with one element for each template. Each element contains data from a Fourier transform of the original survey:ampis a matrix of amplitudes (frequency by time),t.binsis a numeric vector with the values of the time bins (left-aligned–first bin is always 0.0), andfrq.binsis a numeric vector with the values of the frequency bins (top-aligned–last bin is always the upper limit). There is a separate element for each template because each template may use different parameters for the Fourier transform (seeTemplate).templates:Object of class
list. A named list of templates, which is identical to the originalTemplateListused for template matching. This template list can be extracted withgetTemplates.scores:Object of class
list. A named list, with one element for each template. Each element is a data frame with three columns:date.timeis the absolute time of the score,timeis the relative time of the score (relative to the survey start), andscoreis the score. Times are based on the center of the template, and sotimewill not correspond to values int.binsin thesurvey.dataabove if the template spans an even number of time bins.time:Object of class
character. Information on the timecorMatchorbinMatchtook to run. The first element is the run time (s), and the second element is “real-time factor” (survey length divided by the run time).
Methods
- show
signature(object = "templateScores"): ...- summary
signature(object = "templateScores"): ...
Author(s)
Sasha D. Hafner
See Also
Examples
showClass("templateScores")