makeFR: Generating sensor frequency response data.

Description Usage Arguments Value

View source: R/makeFR.R

Description

A function that generates sensor frequency response data.

Usage

1
2
3
makeFR(sensorCalib = "r15iuc.csv", xunit = c("Hz", "kHz", "MHz"),
  yunit = c("V/ubar", "V/(m/s)", "V/m"), dBref = 1, n = 4097,
  plot = FALSE)

Arguments

sensorCalib

The .csv file with the digitized calibration curve, Default: 'r15iuc.csv'

xunit

Character indicating which unit is used in for the frequency axis, Default: c("Hz", "kHz", "MHz")

yunit

Character indicating which unit is used in for the magnitude axis, Default: c("V/ubar", "V/(m/s)", "V/m")

dBref

A dB reference value, Default: 1

n

Number of frequency response points, Default: 4097

plot

If TRUE, plots the sensor frequency response data, Default: FALSE

Value

A dataset with sensor frequency response data embedded into the pongaR library.


gmxavier/pongaR documentation built on Sept. 7, 2021, 1:06 p.m.