View source: R/extract_event.R
extract_event | R Documentation |
Extracts events from a directory of raw files.
extract_event(
event,
rawevent,
t,
ow = TRUE,
dir.data = NULL,
toTSD = TRUE,
last = TRUE,
temp = FALSE,
...
)
event |
is the identifier of the event, either given as the number of the event, a string contained in the name of the event, or the path of the event directory. |
rawevent |
specifies a directory with raw files which are copied to 'event' and converted to TSD filess before running the segmentation. |
t |
is a two element vector of ftim values between which rawfiles are extracted from a directory (see the description of 'event'). |
ow |
is FALSE to not overwrite existing data when copying data from 'rawevent'. |
dir.data |
is the path to the directory in which the projects are stored, defaulted by the variable Acoustics_datasets_directory(). |
toTSD |
is false to disable converting to TSD files. |
last |
is FALSE to skip the last raw file, useful if this file is not complete. |
temp |
is TRUE to only return the temporary directory if raw files already exist and toTSD==TRUE, in which case the existing and temporary tsd files are not merged into the existing. |
... |
are parameters passed to EKRaw2TSD(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.