R: Read Instrument Response file

ReadSet.Instr {RSEIS} | R 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.

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

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

    ## End(Not run)

[Package RSEIS version 3.7-4 Index]