ReadSet.Instr: Read Instrument Response file

ReadSet.InstrR Documentation

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

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. The tag names (ZEROS, POLES, SENSE, CONSTANT) can be upper,lower or mixed case. Alternative to SENSE = sensitivity, and CONSTANT=norm or knorm.

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

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

Examples

###  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)


RSEIS documentation built on Sept. 13, 2024, 1:09 a.m.