Seismometer type = CMG3ESP Data sample rate = 20 s/s Selected IIR frequency = 5 mHz corner frequency ulRespKey unique response ID : 1 szFilename[51] - name of this file : HRD.RSP szDescription description : 20s/s, 5mHz, CMG3ESP rtmStartDate effective date (start) : 2001-09-13_00:00:00.0000 rtmEndDate effective date (= start for current): 2002-07-23_00:00:00.0000 rtmLoadDate date loaded into database : 2002-04-25_11:13:31.0000 pszDBComment database comment : NWT-LDGN-2001-09-13-BHZ usNumStages number of stages in File : 9 ----------------------------------------------------------- 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 : CMG3ESP 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 : 311.0177 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.0 rGainOrSensitivity 48.5 stage sensitivity or gain : 1986.00000 rGainFreq 48.6 frequency of stage gain : 10 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 : Apr 05 2002 04:41PM pszDBComment database comment : Coefficients - as specified above : 0.000000,0.000000, 0.000000,0.000000, -945.6193887,0.000000, -0.04442212,0.04442212, -0.04442212,-0.04442212, -505.794,193.522, -505.794,-193.522 ----------------------------------------------------------- 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 : 1500Hz Bessel 3P-LP 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.405680e+012 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.0 rGainOrSensitivity 48.5 stage sensitivity or gain : 0.5017 rGainFreq 48.6 frequency of stage gain : 10 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 : 3 rtmLoadDate date loaded into the database : Apr 05 2002 04:41PM pszDBComment database comment : Coefficients - as specified above : -9904.800000,3786.000000, -9904.800000,-3786.000000, -12507.000000,0.000000 ----------------------------------------------------------- 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 : 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 : 311.018 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.0 rGainOrSensitivity 48.5 stage sensitivity or gain : 7.880330e+005 rGainFreq 48.6 frequency of stage gain : 10 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 : Apr 05 2002 04:41PM pszDBComment database comment : Coefficients - as specified above : 0.000000 ----------------------------------------------------------- usStageNumber response list stage number : 4 ulStageKey unique database stage key : 4 usSeedBlockette 43/4.1 SEED blockette equivalent : 44 szName 43/4.4 Unique identifying name : Fir 1 Filter 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 : 5 usDecimationOffset 47.7 decimation offset : 0 rDelayEstimate 47.8 stage delay time (nominal) : 0.0 rDelayApplied 47.9 applied stage delay : 0.0 rGainOrSensitivity 48.5 stage sensitivity or gain : 1.000000 rGainFreq 48.6 frequency of stage gain : 10 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 : 34 usDenTerms number of poles or denominators : 0 rtmLoadDate date loaded into the database : Apr 05 2002 04:41PM pszDBComment database comment : Coefficients - as specified above : 3.788775e-005, 1.997269e-004,5.912768e-004,1.198337e-003,1.677196e-003, 1.234444e-003,-1.158774e-003,-6.071729e-003,-1.261023e-002, -1.766685e-002,-1.615370e-002,-2.631810e-003,2.601663e-002, 6.805387e-002,1.159861e-001,1.582344e-001,1.830499e-001 ----------------------------------------------------------- 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 : Fir 2 Filter 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 : 6000.000000 usDecimation 47.6 Sampling decimation factor : 3 usDecimationOffset 47.7 decimation offset : 0 rDelayEstimate 47.8 stage delay time (nominal) : 0.0 rDelayApplied 47.9 applied stage delay : 0.0 rGainOrSensitivity 48.5 stage sensitivity or gain : 1.000000 rGainFreq 48.6 frequency of stage gain : 10 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 : 30 usDenTerms number of poles or denominators : 0 rtmLoadDate date loaded into the database : Apr 05 2002 04:41PM pszDBComment database comment : Coefficients - as specified above : 6.587914e-005, 1.899969e-004,-4.827186e-005,-1.216777e-003,-2.457607e-003, -5.687041e-004,6.495283e-003,1.294971e-002,5.449010e-003, -2.159296e-002,-4.696462e-002,-2.711075e-002,6.566507e-002, 2.029431e-001,3.061833e-001 ----------------------------------------------------------- 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 : Fir 9 Filter 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 : 4 usDecimationOffset 47.7 decimation offset : 0 rDelayEstimate 47.8 stage delay time (nominal) : 0.0 rDelayApplied 47.9 applied stage delay : 0.0 rGainOrSensitivity 48.5 stage sensitivity or gain : 1.000000 rGainFreq 48.6 frequency of stage gain : 10 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 : 256 usDenTerms number of poles or denominators : 0 rtmLoadDate date loaded into the database : Apr 05 2002 04:41PM pszDBComment database comment : Coefficients - as specified above : -6.316574e-007, -6.265939e-007,1.234112e-008,1.944362e-006,5.268801e-006, 9.289745e-006,1.244559e-005,1.274802e-005,8.704672e-006, 3.897944e-007,-9.912978e-006,-1.804724e-005,-1.949140e-005, -1.161643e-005,4.300292e-006,2.250438e-005,3.441179e-005, 3.226379e-005,1.340533e-005,-1.693611e-005,-4.627920e-005, -5.950073e-005,-4.601681e-005,-6.374406e-006,4.537371e-005, 8.577573e-005,9.192417e-005,5.335852e-005,-1.986102e-005, -9.795175e-005,-1.425555e-004,-1.246002e-004,-4.099245e-005, 7.872818e-005,1.811728e-004,2.117656e-004,1.422395e-004, -1.025985e-005,-1.837822e-004,-2.950918e-004,-2.780887e-004, -1.200807e-004,1.229454e-004,3.433207e-004,4.275934e-004, 3.126772e-004,2.539496e-005,-3.172013e-004,-5.529166e-004, -5.489817e-004,-2.728518e-004,1.770263e-004,6.017652e-004, 7.872753e-004,6.090197e-004,1.063744e-004,-5.148838e-004, -9.629041e-004,9.937005e-004,-5.387100e-004,2.386406e-004, 9.947277e-004,1.353744e-003,1.090139e-003,2.588007e-004, -7.982355e-004,-1.586816e-003,-1.687214e-003,-9.704253e-004, 3.043879e-004,1.573417e-003,2.211995e-003,1.836032e-003, 5.182833e-004,-1.197033e-003,-2.510753e-003,-2.734670e-003, -1.642306e-003,3.702253e-004,2.412875e-003,3.487088e-003, 2.965135e-003,9.371622e-004,-1.758574e-003,-3.869864e-003, -4.302352e-003,-2.672440e-003,4.320166e-004,3.640804e-003, 5.393038e-003,4.682238e-003,1.605428e-003,-2.572163e-003, -5.917198e-003,-6.705687e-003,-4.287379e-003,4.859915e-004, 5.521650e-003,8.378980e-003,7.424908e-003,2.716616e-003, -3.845588e-003,-9.245794e-003,-1.070078e-002,-7.042610e-003, 5.290576e-004,8.757381e-003,1.367018e-002,1.242505e-002, 4.830924e-003,-6.219869e-003,-1.574609e-002,-1.880224e-002, -1.287200e-002,5.589563e-004,1.609327e-002,2.635945e-002, 2.516814e-002,1.063889e-002,-1.308515e-002,-3.646338e-002, -4.755747e-002,-3.644660e-002,5.742488e-004,5.869817e-002, 1.252694e-001,1.833721e-001,2.171801e-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 : Fir 5 Filter 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 : 500.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 : 0.0 rGainOrSensitivity 48.5 stage sensitivity or gain : 1.000000 rGainFreq 48.6 frequency of stage gain : 10 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 : 56 usDenTerms number of poles or denominators : 0 rtmLoadDate date loaded into the database : Apr 05 2002 04:41PM pszDBComment database comment : Coefficients - as specified above : 1.278289e-005, 4.864359e-005,1.144121e-004,1.910125e-004,2.191873e-004, 1.043084e-004,-2.426295e-004,-8.288109e-004,-1.497339e-003, -1.894279e-003,-1.544016e-003,-5.733420e-005,2.574218e-003, 5.724076e-003,8.086910e-003,7.981330e-003,4.009124e-003, -4.101318e-003,-1.480032e-002,-2.455139e-002,-2.845132e-002, -2.161206e-002,-9.396188e-004,3.330763e-002,7.683237e-002, 1.218946e-001,1.591557e-001,1.802514e-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 : Fir 10 Filter 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 : 100.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 : 0.0 rGainOrSensitivity 48.5 stage sensitivity or gain : 1.000000 rGainFreq 48.6 frequency of stage gain : 10 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 : 256 usDenTerms number of poles or denominators : 0 rtmLoadDate date loaded into the database : Apr 05 2002 04:41PM pszDBComment database comment : Coefficients - as specified above : -5.834121e-006, -9.790981e-006,-1.495056e-005,-1.841124e-005,-1.765187e-005, -1.037796e-005,4.513049e-006,2.604310e-005,5.069570e-005, 7.271306e-005,8.528148e-005,8.244249e-005,6.127406e-005, 2.365150e-005,-2.313570e-005,-6.740548e-005,-9.579668e-005, -9.715743e-005,-6.656065e-005,-8.132090e-006,6.449631e-005, 1.307454e-004,1.684073e-004,1.604874e-004,1.015985e-004, 1.718267e-006,-1.144004e-004,-2.127277e-004,-2.593908e-004, -2.316075e-004,-1.267827e-004,3.350535e-005,2.067365e-004, 3.399561e-004,3.852362e-004,3.157918e-004,1.376043e-004, -1.078759e-004,-3.520895e-004,-5.176230e-004,-5.417975e-004, -3.986772e-004,-1.121667e-004,2.452084e-004,5.692936e-004, 7.535968e-004,7.229816e-004,4.614565e-004,2.438881e-005, -4.706600e-004,-8.740817e-004,-1.048134e-003,-9.121241e-004, -4.745246e-004,1.597580e-004,8.120622e-004,1.278660e-003, 1.392724e-003,1.081213e-003,3.979540e-004,-4.801467e-004, -1.296415e-003,-1.787541e-003,-1.766287e-003,-1.188413e-003, -1.809400e-004,9.810876e-004,1.947049e-003,2.394211e-003, 2.132379e-003,1.176651e-003,-2.378269e-004,-1.709303e-003, -2.780528e-003,-3.077779e-003,-2.436406e-003,-9.719816e-004, 9.304183e-004,2.712888e-003,3.804611e-003,3.800317e-003, 2.602698e-003,4.807099e-004,-1.982103e-003,-4.042790e-003, -5.018107e-003,-4.504397e-003,-2.529303e-003,4.183017e-004, 3.500301e-003,5.760729e-003,6.414744e-003,5.109971e-003, 2.076146e-003,-1.893585e-003,-5.638933e-003,-7.961202e-003, -7.994267e-003,-5.506468e-003,-1.033525e-003,4.214311e-003, 8.663217e-003,1.082957e-002,9.790487e-003,5.528428e-003, -9.680772e-004,-7.902324e-003,-1.313592e-002,-1.480999e-002, -1.195001e-002,-4.871130e-003,4.757992e-003,1.424909e-002, 2.057198e-002,2.121827e-002,1.502507e-002,2.722804e-003, -1.297405e-002,-2.780509e-002,-3.686579e-002,-3.577887e-002, -2.185521e-002,5.052095e-003,4.223724e-002,8.448684e-002, 1.250338e-001,1.569195e-001,1.744576e-001 ----------------------------------------------------------- usStageNumber response list stage number : 9 ulStageKey unique database stage key : 9 usSeedBlockette 43/4.1 SEED blockette equivalent : 43 szName 43/4.4 Unique identifying name : IIR filter chSeedType 43/4.5 type of stage A,B,C or D : A szInputUnits 43/4.6 input units description : COUNTS szOutputUnits 43/4.7 output units description : COUNTS rNormFactor 43.8 seed optional to normalize : 0.984534 rNormFreq 43.9 seed optional. With 43.8 : 1 rInSamSec 47.5 input sampling rate : 20.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.0 rGainOrSensitivity 48.5 stage sensitivity or gain : 1.000000 rGainFreq 48.6 frequency of stage gain : 10 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 : 1 usDenTerms number of poles or denominators : 1 rtmLoadDate date loaded into the database : Apr 05 2002 04:41PM pszDBComment database comment : Coefficients - as specified above : 0.000000,0.000000, -0.031416, 0.000000 ----------------------------------------------------------- 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 cofficient, 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; 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 Ignored for now. Recommend to put good value. 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 rInSamSec usDecimation usDecimationOffset rDelayEstimate rDelayApplied If rInSamSec is non-zero, causes blockette 48 to be built from this info. rGainOrSensitivity rFrequency If rGainOrSensitivity is non-zero, causes blockette 47 to be built from this info. rGainFreq 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. Coeffiecients All the numerators first. BUGS *** MakeSEED should check usType to make sure is a supported one. It does not.