Quick instructions for Nanometrics Tresponse Program

Tresponse is a Windows program that creates an instrument response file for Trident digitizer connected to any seismometer. The instrument response file, named seed.rsp, is then used as input to Nanometrics Inc Makeseed program for creation of standard Seed files which contain the full instrument response. Tresponse will read seismometer data from a file named instruments.txt (if this file exists in current directory) and takes Trident configuration information from user to create the seed.rsp file. Alternatively, both seismometer and Trident digitizer data can be piped to the program from a single file. Or, all required information can be typed-in as input to the program.

Obtain Tresponse.exe program and full instructions from Polaris website (members password required) or Nanometrics Inc and then use Method One, Two or Three, below to run the program and create seed.rsp.

Method One - All input data read from a single file.

  1. Create an input file named, for instance, example.tresponse with details of Guralp CMG-3ESP seismometer and Trident digitizer (see below).
  2. Make sure tresponse.exe is in the search path.
  3. In a directory that does not contain instruments.txt, run tresponse from a CMD window and pipe example.tresponse as input. An output file seed.rsp will be created.

 
Content of example.tresponse file
value explanation
1 force new seismometer
CMG-3ESP seismomter type
2 use units of m/s
1920 output velocity in V/m/s
1 gain frequency in Hz
0 0 impedance for active seismometer
3 number of zeroes
0.000000 zero 1 real part
0.000000 zero 1 imaginary part
0.000000 zero 2 real part
0.000000 zero 2 imaginary part
945.6193887 zero 3 real part
0.000000 zero 3 imaginary part
4 number of poles
-0.04442212 pole 1 real part
0.04442212 pole 1 imaginary part
-0.04442212 pole 2 real part
-0.04442212 pole 2 imaginary part
-505.794 pole 3 real part
193.522 pole 3 imaginary part
-505.794 pole 4 real part
-193.522 pole 4 imaginary part
Y Y indicates keeping this instrument
40 sample rate
0 DC Removal Frequency, Hz
0.4194304 sensitivity, counts / microvolt
40 input range, Volts peak to peak
20 day of the month
07 month
2002 year

 

Example Run:

del  instruments.txt
tresponse  < example.tresponse  
See seed.rsp, below.

Method Two - Input data read from instruments.txt and typed by user

  1. Insert your particular seismometer information in an instruments.txt file in, for example, a directory d:\Response\Example.
  2. Make sure tresponse.exe is in the search path.
  3. Run tresponse.exe from a CMD window in d:\Response\Example and provide the required input to create seed.rsp. The following lines show the details for a Guralp CMG-3ESP seismometer.
Content of instruments.txt file, note that the file starts with a blank line.
 
CMG-3ESP
1.920000000e+003, 1.000000000e+000
0.000000000e+000
3, 0.000000000e+000, 0.000000000e+000, 0.000000000e+000, 0.000000000e+000, 9.456193887e+002, 0.000000000e+000
4, -4.442212000e-002, 4.442212000e-002, -4.442212000e-002, -4.442212000e-002, -5.057940000e+002, 1.935220000e+002, -5.057940000e+002, -1.935220000e+002
m/s
Example Run:
D:\Response\Example>tresponse
Trident response file generator Version 1.0(C) Nanometrics Inc. 2002
This will generate a response file for use by Nanometrics products.
The output file name is seed.rsp by default. The response output file contains
a number of response stages. Those for the Trident are exact. Those for the
seismometer are typical values.
Select the seismometer:
The following are the supported types:
1)   CMG-3ESP
2)   Other
3)   Quit
: 1
Instrument Name: CMG-3ESP
Gain: 1920.000000  at  1.000000 Hz
Impedance: 0.000000 ohms
Zeroes: 3   (0.000000 + 0.000000i)  (0.000000 + 0.000000i)  (945.619389 + 0.0000
00i)
Poles: 4   (-0.044422 + 0.044422i)  (-0.044422 + -0.044422i)  (-505.794000 + 193
.522000i)  (-505.794000 + -193.522000i)
Input units: m/s
Continue? (Y/N) y
Enter the sampling rate:
The following are the supported values:
10 20 40 50 100 200 500 1000
: 40
Enter the DC Removal frequency (mHz):
The following are the supported values:
0 1 2 5 10 20 50 100 200 500 1000
: 0
Please enter sensitivity (counts / microvolt): 0.4194304
Enter the input range (V peak-to-peak):
The following are the supported values:
40 16 8 4 2
: 40
Please enter start date when response is first valid
Enter day (1..31): 20
Enter month (1..12): 07
Enter year: 2002
Response file seed.rsp written and closed
D:\Response\Example>
See seed.rsp, below.

Method Three - All Input data typed-in by user.

  1. Make sure tresponse.exe is in the search path.
  2. Run tresponse.exe from a CMD window in a directory that does not contain the file instruments.txt. Enter all the details, for example, for a Guralp CMG-3ESP seismometer to create the output file seed.rsp. This method is very tedious and is not recommended. However, you may try it as a practice run to find out how tresponse.exe works!

Resulting seed.rsp file:

Seismometer type       = CMG-3ESP
Data sample rate       = 40 s/s
Selected IIR frequency = 0 MHz corner frequency
ulRespKey          unique response ID                  : 1
szFilename[51]     - name of this file                 : seed.rsp
szDescription      description                         : 40s/s, 0mHz, CMG-3ESP
rtmStartDate       effective date (start)              : 2002-7-20_00:00:00.0000
rtmEndDate         effective date (= start for current): 2002-7-20_00:00:00.0000
rtmLoadDate        date loaded into database           : 2002-7-20_00:00:00.0000
pszDBComment       database comment                    : 
usNumStages        number of stages in  File           : 8
-----------------------------------------------------------
usStageNumber      response list stage number          : 1
ulStageKey         unique database stage key           : 1
usSeedBlockette    43/4.1 SEED blockette equivalent    : 43
szName             43/4.4 Unique identifying name      : CMG-3ESP
chSeedType         43/4.5 type of stage A,B,C or D     : A
szInputUnits       43/4.6 input units description      : M/S
szOutputUnits      43/4.7 output units description     : V
rNormFactor        43.8 seed optional to normalize     : 1.000000
rNormFreq          43.9 seed optional. With 43.8       : 1
rInSamSec          47.5 input sampling rate            : 0.000000
usDecimation       47.6 Sampling decimation factor     : 1
usDecimationOffset 47.7 decimation offset              : 0
rDelayEstimate     47.8 stage delay time (nominal)     : 0.0
rDelayApplied      47.9 applied stage delay            : 0.000000e+000
rGainOrSensitivity 48.5 stage sensitivity or gain      : 1920.000000
rGainFreq          48.6 frequency of stage gain        : 1.000000
rFrequency         meaning depends on NMX type         : 0.0
usType             NMX response type 0 through 8       : 1
szDesign           how filter was designed             : 
usNumTerms         number of zeros or numerators       : 3
usDenTerms         number of poles or denominators     : 4
rtmLoadDate        date loaded into the database       : Oct 12 2002 03:44PM
pszDBComment       database comment                    : 
Coefficients       - as specified above                : 0.000000e+000,
0.000000e+000,
0.000000e+000,
0.000000e+000,
9.456194e+002,
0.000000e+000,
-4.442212e-002,
4.442212e-002,
-4.442212e-002,
-4.442212e-002,
-5.057940e+002,
1.935220e+002,
-5.057940e+002,
-1.935220e+002
-----------------------------------------------------------
usStageNumber      response list stage number          : 2
ulStageKey         unique database stage key           : 2
usSeedBlockette    43/4.1 SEED blockette equivalent    : 43
szName             43/4.4 Unique identifying name      : 2122 Hz 1P-LP AA
chSeedType         43/4.5 type of stage A,B,C or D     : A
szInputUnits       43/4.6 input units description      : V
szOutputUnits      43/4.7 output units description     : V
rNormFactor        43.8 seed optional to normalize     : 0.776879
rNormFreq          43.9 seed optional. With 43.8       : 1
rInSamSec          47.5 input sampling rate            : 0.000000
usDecimation       47.6 Sampling decimation factor     : 1
usDecimationOffset 47.7 decimation offset              : 0
rDelayEstimate     47.8 stage delay time (nominal)     : 0.0
rDelayApplied      47.9 applied stage delay            : 0.000000e+000
rGainOrSensitivity 48.5 stage sensitivity or gain      : 0.776786
rGainFreq          48.6 frequency of stage gain        : 1.000000
rFrequency         meaning depends on NMX type         : 0.0
usType             NMX response type 0 through 8       : 1
szDesign           how filter was designed             : 
usNumTerms         number of zeros or numerators       : 0
usDenTerms         number of poles or denominators     : 1
rtmLoadDate        date loaded into the database       : Oct 12 2002 03:44PM
pszDBComment       database comment                    : 
Coefficients       - as specified above                : -1.333888e+004,
0.000000e+000
-----------------------------------------------------------
usStageNumber      response list stage number          : 3
ulStageKey         unique database stage key           : 3
usSeedBlockette    43/4.1 SEED blockette equivalent    : 43
szName             43/4.4 Unique identifying name      : Analog 0.400000 gain
chSeedType         43/4.5 type of stage A,B,C or D     : A
szInputUnits       43/4.6 input units description      : V
szOutputUnits      43/4.7 output units description     : V
rNormFactor        43.8 seed optional to normalize     : 1.000000
rNormFreq          43.9 seed optional. With 43.8       : 1
rInSamSec          47.5 input sampling rate            : 0.000000
usDecimation       47.6 Sampling decimation factor     : 1
usDecimationOffset 47.7 decimation offset              : 0
rDelayEstimate     47.8 stage delay time (nominal)     : 0.0
rDelayApplied      47.9 applied stage delay            : 0.000000e+000
rGainOrSensitivity 48.5 stage sensitivity or gain      : 0.400000
rGainFreq          48.6 frequency of stage gain        : 1.000000
rFrequency         meaning depends on NMX type         : 0.0
usType             NMX response type 0 through 8       : 1
szDesign           how filter was designed             : 
usNumTerms         number of zeros or numerators       : 0
usDenTerms         number of poles or denominators     : 0
rtmLoadDate        date loaded into the database       : Oct 12 2002 03:44PM
pszDBComment       database comment                    : 
Coefficients       - as specified above                : 
-----------------------------------------------------------
usStageNumber      response list stage number          : 4
ulStageKey         unique database stage key           : 4
usSeedBlockette    43/4.1 SEED blockette equivalent    : 43
szName             43/4.4 Unique identifying name      : A/D converter
chSeedType         43/4.5 type of stage A,B,C or D     : A
szInputUnits       43/4.6 input units description      : V
szOutputUnits      43/4.7 output units description     : COUNTS
rNormFactor        43.8 seed optional to normalize     : 1.000000
rNormFreq          43.9 seed optional. With 43.8       : 1
rInSamSec          47.5 input sampling rate            : 30000.000000
usDecimation       47.6 Sampling decimation factor     : 1
usDecimationOffset 47.7 decimation offset              : 0
rDelayEstimate     47.8 stage delay time (nominal)     : 0.0
rDelayApplied      47.9 applied stage delay            : 0.000000e+000
rGainOrSensitivity 48.5 stage sensitivity or gain      : 1.048576e+006
rGainFreq          48.6 frequency of stage gain        : 1.000000
rFrequency         meaning depends on NMX type         : 0.0
usType             NMX response type 0 through 8       : 1
szDesign           how filter was designed             : 
usNumTerms         number of zeros or numerators       : 0
usDenTerms         number of poles or denominators     : 0
rtmLoadDate        date loaded into the database       : Oct 12 2002 03:44PM
pszDBComment       database comment                    : 
Coefficients       - as specified above                : 0.000000e+000
-----------------------------------------------------------
usStageNumber      response list stage number          : 5
ulStageKey         unique database stage key           : 5
usSeedBlockette    43/4.1 SEED blockette equivalent    : 44
szName             43/4.4 Unique identifying name      : 30 kHz to 2 kHz
chSeedType         43/4.5 type of stage A,B,C or D     : D
szInputUnits       43/4.6 input units description      : COUNTS
szOutputUnits      43/4.7 output units description     : COUNTS
rNormFactor        43.8 seed optional to normalize     : 1.000000
rNormFreq          43.9 seed optional. With 43.8       : 1
rInSamSec          47.5 input sampling rate            : 30000.000000
usDecimation       47.6 Sampling decimation factor     : 15
usDecimationOffset 47.7 decimation offset              : 0
rDelayEstimate     47.8 stage delay time (nominal)     : 0.0
rDelayApplied      47.9 applied stage delay            : -5.866667e-003
rGainOrSensitivity 48.5 stage sensitivity or gain      : 1.000000
rGainFreq          48.6 frequency of stage gain        : 1.000000
rFrequency         meaning depends on NMX type         : 0.0
usType             NMX response type 0 through 8       : 4
szDesign           how filter was designed             : 
usNumTerms         number of zeros or numerators       : 177
usDenTerms         number of poles or denominators     : 0
rtmLoadDate        date loaded into the database       : Oct 12 2002 03:44PM
pszDBComment       database comment                    : 
Coefficients       - as specified above                : -1.505963e-010,
-1.498864e-010,
-1.003114e-010,
1.259464e-010,
7.960452e-010,
2.429826e-009,
5.982545e-009,
1.312758e-008,
2.667805e-008,
5.119490e-008,
9.383678e-008,
1.655131e-007,
2.824034e-007,
4.679037e-007,
7.550464e-007,
1.189421e-006,
1.832584e-006,
2.765898e-006,
4.094671e-006,
5.952385e-006,
8.504687e-006,
1.195274e-005,
1.653534e-005,
2.252920e-005,
3.024654e-005,
4.002912e-005,
5.223793e-005,
6.723746e-005,
8.537376e-005,
1.069458e-004,
1.321694e-004,
1.611344e-004,
1.937545e-004,
2.297118e-004,
2.683980e-004,
3.088539e-004,
3.497110e-004,
3.891402e-004,
4.248112e-004,
4.538696e-004,
4.729357e-004,
4.781330e-004,
4.651506e-004,
4.293454e-004,
3.658874e-004,
2.699508e-004,
1.369516e-004,
-3.717235e-005,
-2.556407e-004,
-5.204814e-004,
-8.321602e-004,
-1.189207e-003,
-1.587853e-003,
-2.021701e-003,
-2.481447e-003,
-2.954677e-003,
-3.425763e-003,
-3.875869e-003,
-4.283101e-003,
-4.622793e-003,
-4.867955e-003,
-4.989878e-003,
-4.958887e-003,
-4.745233e-003,
-4.320103e-003,
-3.656717e-003,
-2.731476e-003,
-1.525117e-003,
-2.383639e-005,
1.779682e-003,
3.885369e-003,
6.285060e-003,
8.962016e-003,
1.189071e-002,
1.503690e-002,
1.835803e-002,
2.180394e-002,
2.531786e-002,
2.883773e-002,
3.229776e-002,
3.563016e-002,
3.876704e-002,
4.164242e-002,
4.419417e-002,
4.636594e-002,
4.810893e-002,
4.938344e-002,
5.016015e-002,
5.042108e-002
-----------------------------------------------------------
usStageNumber      response list stage number          : 6
ulStageKey         unique database stage key           : 6
usSeedBlockette    43/4.1 SEED blockette equivalent    : 44
szName             43/4.4 Unique identifying name      : 2 kHz to 400 Hz
chSeedType         43/4.5 type of stage A,B,C or D     : D
szInputUnits       43/4.6 input units description      : COUNTS
szOutputUnits      43/4.7 output units description     : COUNTS
rNormFactor        43.8 seed optional to normalize     : 1.000000
rNormFreq          43.9 seed optional. With 43.8       : 1
rInSamSec          47.5 input sampling rate            : 2000.000000
usDecimation       47.6 Sampling decimation factor     : 5
usDecimationOffset 47.7 decimation offset              : 0
rDelayEstimate     47.8 stage delay time (nominal)     : 0.0
rDelayApplied      47.9 applied stage delay            : -3.500000e-002
rGainOrSensitivity 48.5 stage sensitivity or gain      : 1.000000
rGainFreq          48.6 frequency of stage gain        : 1.000000
rFrequency         meaning depends on NMX type         : 0.0
usType             NMX response type 0 through 8       : 4
szDesign           how filter was designed             : 
usNumTerms         number of zeros or numerators       : 71
usDenTerms         number of poles or denominators     : 0
rtmLoadDate        date loaded into the database       : Oct 12 2002 03:44PM
pszDBComment       database comment                    : 
Coefficients       - as specified above                : -1.400229e-008,
-1.255059e-007,
-6.074921e-007,
-2.046866e-006,
-5.236352e-006,
-1.042766e-005,
-1.566514e-005,
-1.467138e-005,
3.866903e-006,
5.254917e-005,
1.345447e-004,
2.273285e-004,
2.694088e-004,
1.653887e-004,
-1.754205e-004,
-7.649912e-004,
-1.452111e-003,
-1.881641e-003,
-1.562383e-003,
-7.930603e-005,
2.588435e-003,
5.777669e-003,
8.077698e-003,
7.665307e-003,
3.066022e-003,
-5.859562e-003,
-1.711852e-002,
-2.645966e-002,
-2.823533e-002,
-1.718375e-002,
9.394698e-003,
4.991073e-002,
9.803478e-002,
1.439399e-001,
1.769958e-001,
1.890346e-001
-----------------------------------------------------------
usStageNumber      response list stage number          : 7
ulStageKey         unique database stage key           : 7
usSeedBlockette    43/4.1 SEED blockette equivalent    : 44
szName             43/4.4 Unique identifying name      : 400 Hz to 80 Hz
chSeedType         43/4.5 type of stage A,B,C or D     : D
szInputUnits       43/4.6 input units description      : COUNTS
szOutputUnits      43/4.7 output units description     : COUNTS
rNormFactor        43.8 seed optional to normalize     : 1.000000
rNormFreq          43.9 seed optional. With 43.8       : 1
rInSamSec          47.5 input sampling rate            : 400.000000
usDecimation       47.6 Sampling decimation factor     : 5
usDecimationOffset 47.7 decimation offset              : 0
rDelayEstimate     47.8 stage delay time (nominal)     : 0.0
rDelayApplied      47.9 applied stage delay            : -2.800000e-001
rGainOrSensitivity 48.5 stage sensitivity or gain      : 1.000000
rGainFreq          48.6 frequency of stage gain        : 1.000000
rFrequency         meaning depends on NMX type         : 0.0
usType             NMX response type 0 through 8       : 4
szDesign           how filter was designed             : 
usNumTerms         number of zeros or numerators       : 113
usDenTerms         number of poles or denominators     : 0
rtmLoadDate        date loaded into the database       : Oct 12 2002 03:44PM
pszDBComment       database comment                    : 
Coefficients       - as specified above                : 3.624153e-009,
1.470217e-008,
2.924648e-008,
1.675816e-008,
-9.459693e-008,
-4.005292e-007,
-9.373652e-007,
-1.530435e-006,
-1.645991e-006,
-4.078704e-007,
3.030094e-006,
8.685992e-006,
1.476603e-005,
1.713675e-005,
1.012814e-005,
-1.072856e-005,
-4.439651e-005,
-8.029797e-005,
-9.761762e-005,
-7.094869e-005,
1.692091e-005,
1.585078e-004,
3.094936e-004,
3.912802e-004,
3.155885e-004,
2.919058e-005,
-4.362724e-004,
-9.354174e-004,
-1.228394e-003,
-1.061469e-003,
-2.939815e-004,
9.756478e-004,
2.352455e-003,
3.215585e-003,
2.933434e-003,
1.171051e-003,
-1.829548e-003,
-5.145646e-003,
-7.361208e-003,
-7.056359e-003,
-3.467655e-003,
2.935113e-003,
1.024857e-002,
1.551828e-002,
1.570616e-002,
8.987865e-003,
-4.081172e-003,
-2.004540e-002,
-3.303498e-002,
-3.628456e-002,
-2.430880e-002,
4.958794e-003,
4.884525e-002,
1.000148e-001,
1.480753e-001,
1.823112e-001,
1.947111e-001
-----------------------------------------------------------
usStageNumber      response list stage number          : 8
ulStageKey         unique database stage key           : 8
usSeedBlockette    43/4.1 SEED blockette equivalent    : 44
szName             43/4.4 Unique identifying name      : 80Hz to 40Hz
chSeedType         43/4.5 type of stage A,B,C or D     : D
szInputUnits       43/4.6 input units description      : COUNTS
szOutputUnits      43/4.7 output units description     : COUNTS
rNormFactor        43.8 seed optional to normalize     : 1.000000
rNormFreq          43.9 seed optional. With 43.8       : 1
rInSamSec          47.5 input sampling rate            : 80.000000
usDecimation       47.6 Sampling decimation factor     : 2
usDecimationOffset 47.7 decimation offset              : 0
rDelayEstimate     47.8 stage delay time (nominal)     : 0.0
rDelayApplied      47.9 applied stage delay            : -2.775000e+000
rGainOrSensitivity 48.5 stage sensitivity or gain      : 1.000000
rGainFreq          48.6 frequency of stage gain        : 1.000000
rFrequency         meaning depends on NMX type         : 0.0
usType             NMX response type 0 through 8       : 4
szDesign           how filter was designed             : 
usNumTerms         number of zeros or numerators       : 223
usDenTerms         number of poles or denominators     : 0
rtmLoadDate        date loaded into the database       : Oct 12 2002 03:44PM
pszDBComment       database comment                    : 
Coefficients       - as specified above                : -2.487704e-010,
4.737440e-009,
1.240319e-008,
2.184230e-009,
-2.973504e-008,
-2.774098e-008,
4.823501e-008,
9.048520e-008,
-4.377202e-008,
-2.029251e-007,
-2.932510e-008,
3.576771e-007,
2.380756e-007,
-5.050541e-007,
-6.566606e-007,
5.295136e-007,
1.333027e-006,
-2.353909e-007,
-2.234558e-006,
-6.431887e-007,
3.178848e-006,
2.391894e-006,
-3.766426e-006,
-5.213131e-006,
3.343879e-006,
9.069842e-006,
-1.034203e-006,
-1.349476e-005,
-4.128203e-006,
1.740814e-005,
1.293247e-005,
-1.901116e-005,
-2.559820e-005,
1.583847e-005,
4.129854e-005,
-5.051362e-006,
-5.769434e-005,
-1.597343e-005,
7.062320e-005,
4.876212e-005,
-7.411825e-005,
-9.265601e-005,
6.092806e-005,
1.437042e-004,
-2.365713e-005,
-1.938177e-004,
-4.346068e-005,
2.305286e-004,
1.422997e-004,
-2.376966e-004,
-2.684195e-004,
1.974200e-004,
4.089862e-004,
-9.322642e-005,
-5.416667e-004,
-8.565060e-005,
6.351459e-004,
3.394235e-004,
-6.517938e-004,
-6.531623e-004,
5.527340e-004,
9.935334e-004,
-3.051330e-004,
-1.308020e-003,
-1.089867e-004,
1.527642e-003,
6.836461e-004,
-1.573808e-003,
-1.381190e-003,
1.369316e-003,
2.127841e-003,
-8.527391e-004,
-2.814326e-003,
-5.435981e-006,
3.302926e-003,
1.187235e-003,
-3.441493e-003,
-2.615018e-003,
3.083861e-003,
4.145541e-003,
-2.114933e-003,
-5.572669e-003,
4.775432e-004,
6.640171e-003,
1.802538e-003,
-7.064640e-003,
-4.597381e-003,
6.566940e-003,
7.666904e-003,
-4.908950e-003,
-1.066029e-002,
1.931064e-003,
1.312888e-002,
2.414871e-003,
-1.454758e-002,
-8.042475e-003,
1.433728e-002,
1.472206e-002,
-1.187359e-002,
-2.208895e-002,
6.451060e-003,
2.966940e-002,
2.871719e-003,
-3.692219e-002,
-1.777635e-002,
4.329151e-002,
4.248361e-002,
-4.826485e-002,
-9.280869e-002,
5.142858e-002,
3.137774e-001,
4.474858e-001
-----------------------------------------------------------
  Notes
  *****
 SEED    Blockette 43   Response poles and zeroes
 type
  A      Laplace transform analog response, in rad/sec
  B      Analog response in Hz
  C Undefined
  D Digital(Z - transform)
 SEED    Blockette 44  Response coefficients
 type
  A      Laplace transform analog response, in rad/sec
  B      Analog response in Hz
  C Undefined
  D Digital(Z - transform)
  NMX response types
  0 S-plane numerator & denominator coefficients
  1 S-plane poles and zeroes
  2 Z-plane numerator and denominator coefficients
  3 Z-plane numerator coeffs only (symmetric FIR, N taps,
                                  (N+1)/2 coeffs, biggest first
  4 Z-plane numerator coeffs only (symmetric FIR, N taps,
                                  (N+1)/2 coeffs, smallest first
  5 Frequency amplitude response list (not implemented)
  6 Generic corner slope list (not implemented)
  7 Decimation and delay (unit gain)
  8 Gain @ frequency only (not implemented in PMResponse)
NMX to SEED mapping
*******************
  SEED  NMX   Plane
  type  type
  43A     1    S   S-plane poles and zeroes
  44A     0    S   S-plane numerator & denominator coefficients
  44D     2    Z   Z-plane numerator and denominator coefficients
Not supported by MAKESEED
  43D              Z-plane poles and zeroes
  44D     3    Z   Numerator only, biggest first, half set
  44D     4    Z   Numerator only, smallest first, half set
Notes:
  1.  SEED pole position errors not supported
Response file
*************
  A response file is built from a number of stages listed as above. At
  the moment there is no response record, but there may be in the
  future. Stage is a sparse record since only the fields needed are
  used. The field usage changes in some fields according to the NMX
  stage type 0 thru 8. The mapping from NMX to SEED is as above.
  Each stage consists of (nominally) 32 lines (0..31)
  Line[0] must start with ( and is for comment
  Additional lines following line 0 and starting with ( are also comment
  lines[1..30] are normal items (see example table)
  line[31] holds the first coefficient
  During reading this file, all characters on each line between newline
  and colon are ignored. A conversion error results if the actual type
  does not match the expected type. The exception is the line with
  coefficients.
  The first coefficient is on line 31, thereafter, numbers are read
  until the numerator and denominator coefficient counts are
  satisfied, with all the numerator coefficients first. Coefficients
  are separated by space, newline, comma or tab. Numbers are
  characters from the set 0..9+-.Ee. There can be one or more
  coefficients on line 31, or for example, each coefficient could be
  separated from the next by newline.
  After the last coefficient, the next line is expected to be the
  comment line starting with ( of the next stage.
Notes on each field in NMX Stage record
***************************************
  ulRespKey
    Response filename should be anystring..res
  szDescription
    Typically type of overall response.  Only needed in stage[0].
  rtmStartDate;
  rtmEndDate;
    Start and end date of response.  If both equal, the end date is infinity,
    meaning the response is current.
  rtmLoadDate;
  pszDBComment
    Ignored, but may be used in the future
  usNumStages
    Read from stage[0]. Used to check that expect number of stages are
    present.
  usStageNum
    Stage number.  Some utilities may ignore this, so it is important to list
    stages in chronological order anyways.
  ulStageKey
    Assigned by MakeSEED
  usSeedBlockette
    Critical parameter.  Tells MakeSEED kind of blockette to make.
  szName (26)
    Description of stage, e.g. seismometer type, filter type, etc
  chSeedType
    This field is used to tell MAKESEED which type of SEED primary
    blockette to make from this stage. MAKESEED may also make a second
    or secondary blockette from the stage information. See elsewhere
    for details.
  szInputUnits (21)
  szOutputUnits (21)
    Used to build SEED Units Abbreviations Blockette 34
  rNormFactor
  rNormFreq
    Used to set corresponding fields in blockette 43.  Since optional,
    values of 1.0 are used for now.
  rInSamSec
    If rInSamSec is non-zero, causes blockette 48 to be built from this info.
  usDecimation
  usDecimationOffset
    Used to determine decimiation, as well as offset caused by decimation.
  rDelayEstimate
    Optional field in SEED.  Not used for now.
  rDelayApplied
    Corrective delay applied to samples after filtering.  This allows for non-causal filters.
  rGainOrSensitivity
  rGainFreq
    If rGainOrSensitivity is non-zero, causes blockette 47 to be built
    from this info.
  rFrequency
    Not used
  usType
    This field is used by PMResponse to set type of response.  Note that
    this field allows several types which are not supported by SEED.
  szDesign (21)
    A place to put how (for example) the FIR coefficients were derived.
    Ignored.
  usNumTerms
  usDenTerms
    Number of each type of coefficients in coefficient field below.
  rtmLoadDate
    Ignored.  Slot for date put in database.
  pszDBComment
    Ignored.  Slot for comment to put in database.
  Coefficients
    All the numerators first.