Learn R Programming

RSEIS (version 3.5-2)

ReadSet.Instr: Read Instrument Response file

Description

Read in an instrument response file, or

Usage

ReadSet.Instr(file)

Arguments

file
name of file to read, or vector of character strings from the file

Value

list:
np
NUmber of poles
poles
complex vector of poles
nz
number of zeros
zeros
complex vector of zeros
Knorm
normalization factor
Sense
sensitivity factor

Details

If file is a path to a file it is read in and processed. If file is a vector of character strings from a file that has already been read in, the file is processed directly.

Examples

Run this code
###  in this case a file has already been read in:
CMG <- c(
      "ZEROS 2",
      "0.0000E+00 0.0000E+00",
      "0.0000E+00 0.0000E+00",
      "POLES 3",
      "-0.1480E+00 0.1480E+00",
      "-0.1480E+00 -0.1480E+00",
      "-50.0 0.0",
      "CONSTANT 1.0",
      "SENSE 800")

ReadSet.Instr(CMG)

## Not run: 
# RL28  <-  ReadSet.Instr('/pathto/Equipment/Sensors/L28.inst.response')
# ## End(Not run)


Run the code above in your browser using DataLab