View source: R/evaluateDeployment.R
evaluateDeployment | R Documentation |
Runs a number of quality assurance / quality control (QAQC) checks on a folder of recording files to identify potential problems. These include checking the start and end times of files for consistency to identify potential data gaps, measuring sound levels in each file to identify potential recorder issues, and (if applicable) checking battery and temperature data to identify potential instrument failure. Can also create spectrogram images throughout the deployment to aid in visually checking for problems or noise.
evaluateDeployment(
dir,
excludeDirs = c("Post_Retrieval_Data", "Pre_Deployment_Data"),
sampleWindow = c(60, 120),
channel = 1,
sensitivity = NA,
calibration = NULL,
timeRange = NULL,
name = NULL,
subDirPattern = NULL,
outDir = NULL,
nSpectrograms = 0,
specLength = 1800,
panelLength = 300,
log = FALSE,
progress = TRUE,
verbose = TRUE
)
dir |
folder or folders containing recordings and optionally Soundtrap
.log.xml files. All .wav and .log.xml files within |
excludeDirs |
the names of any subfolders within |
sampleWindow |
start and end (in seconds) of the time window to use
for analysis, e.g. |
channel |
channel number of recording files to use for analysis |
sensitivity |
the sensitivity of the recording device in dB, this is typically a large negative number |
calibration |
if not |
timeRange |
if not |
name |
a name to assign for this deployment, used for plot labeling,
logging, and stored as |
subDirPattern |
if not |
outDir |
if not |
nSpectrograms |
number of spectrogram images to generate. Recording files
for creating the spectrograms will be approximately evenly spaced throughout
the deployment - if |
specLength |
length of spectrograms to create, in seconds |
panelLength |
length of each panel of the spectrogram plot, in seconds.
This must be less than |
log |
if |
progress |
logical flag to show a progress bar |
verbose |
logical flag to show some messages |
a dataframe of the QAQC metric outputs for each recording file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.