PAMpalSettings: Constructor for PAMpalSettings Object

View source: R/PAMpalSettings.R

PAMpalSettingsR Documentation

Constructor for PAMpalSettings Object

Description

Create a PAMpalSettings object. Any values that are not supplied will be asked for interactively. Three processing functions will also be added by default: standardClickCalcs, roccaWhistleCalcs, and standardCepstrumCalcs

Usage

PAMpalSettings(
  db = NULL,
  binaries = NULL,
  settings = NULL,
  functions = NULL,
  verbose = TRUE,
  default = FALSE,
  ...
)

Arguments

db

the full path to a Pamguard database file or folder of databases

binaries

a folder containing Pamguard binary files, all subfolders will also be added

settings

an XML settings file from Pamguard

functions

a named list of additional functions to add

verbose

logical flag to show messages

default

logical flag to use default measurement function parameters

...

values to pass on to default standardClickCalcs function

Value

A PAMpalSettings object

Author(s)

Taiki Sakai taiki.sakai@noaa.gov

Examples


# can be run with no arguments with popup menu selections
if(interactive()) pps <- PAMpalSettings()
db <- system.file('extdata', 'Example.sqlite3', package='PAMpal')
bin <- system.file('extdata', 'Binaries', package='PAMpal')
# or data folders can be supplied ahead of time
if(interactive()) pps <- PAMpalSettings(db=db, binaries=bin)


PAMpal documentation built on April 4, 2025, 4:21 a.m.