peakTrough
ignores first and last frequencies for possible peaks
addPgEvent
and addPgGps
added na.rm=TRUE
to Id checking logic to avoid issues with NULL id values in current database
Improvements for addPgEvent
check for duplicate data
wignerTransform
fixed output size to actually be n x t
updateUID
progress bar minor bug fix
wignerTransform
works with Wave class input
wignerTransform
scaled output by length
updateUID
bug checking for SR, should crash less with missing data
tests for UID adding plus test data for bad UIDs added
Bug fixes for updateUID
. Will check for “ClickNo” column first if that is more accurate, and will not update a UID if it is matching based on time and there is more than one match
Changed database testing to work on copied file in tmpdir for CRAN checks
updateUID
function to try and realign UID mismatches in Pamguard databases between event detections and their corresponding binary filesChanged addPgGps
to use parse_date_time
for date conversions to allow for truncated date formats to be properly parsed because thanks Excel for rounding those dates didn’t need to know there were 0 seconds anyway
matchEnvData
not propagating progress
argument properly
Checks in database adding function to make sure file exists
writeAMWave
example resets par() settings to original
Added a NEWS.md
file to track changes to the package.
Fixing addPgGps
for spot CSVs
Tons of documentation in prep of CRAN
Added files in inst/extdata for testing
Adding lots of unit testing
Whoa, environmental data functions might work fine for crossing the dateline now.
getFittedMap
also removed because ggmap
package has been orphaned.
*Added addPgGps
to add GPS data to a Pamguard database
matchEnvData
a generic method so can write methods for non-dataframe sources easierAdded functions for downloading environmental data and matching it to your data. Replaced older verison of formatURL
from v 1.3.0
New exported functions are edinfoToURL
, downloadEnv
, erddapToEdinfo
, varSelect
, getEdinfo
, ncToData
, matchEnvData
, browseEdinfo
. Updated tutorial to follow later.
straightPath
was not properly averaging angles. Changed to polar coordinate style averaging, will now handle angles near the 0-360 border properlyformatURL
functions for making ERDDAP downloading URLs automaticallyminor change in error handling for peakTrough
writeClickWave
can handle vectors for CPS and frequency
writeAMWave
function added to create synthetic amplitude modulated wavesaddPgEvent
function added to add new events to an existing Pamguard database by providing a vector of UIDswignerTransform
wignerTransform
, resizes back to length of original signaldecimateWavFiles
when trying to write a folder of fileswignerTransform
added