Coverage for /opt/obspy/update-docs/src/obspy/obspy/xseed/blockette/blockette047 : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# -*- coding: utf-8 -*-
""" Blockette 047: Decimation Dictionary Blockette.
See Decimation Blockette [57] for more information. """
Integer(3, "Response Lookup Key", 4), VariableString(4, "Response Name", 1, 25, 'UN_'), Float(5, "Input sample rate", 10, mask='%1.4e'), Integer(6, "Decimation factor", 5, xseed_version='1.0', xml_tag="decimiation_factor"), Integer(6, "Decimation factor", 5, xseed_version='1.1'), Integer(7, "Decimation offset", 5), Float(8, "Estimated delay", 11, mask='%+1.4e'), Float(9, "Correction applied", 11, mask='%+1.4e') ]
""" Returns RESP string. """ '#\t\t+ +------------------------------+' + \ ' +\n' + \ '#\t\t+ | Decimation,' + \ '%6s ch %s | +\n' % (station, channel) + \ '#\t\t+ +------------------------------+' + \ ' +\n' + \ '#\t\t\n' + \ 'B047F05 Response input sample rate: %s\n' \ % formatRESP(self.input_sample_rate, 6) + \ 'B047F06 Response decimation factor: %s\n' \ % self.decimation_factor + \ 'B047F07 Response decimation offset: %s\n' \ % self.decimation_offset + \ 'B047F08 Response delay: %s\n' \ % formatRESP(self.estimated_delay, 6) + \ 'B047F09 Response correction: %s\n' \ % formatRESP(self.correction_applied, 6) + \ '#\t\t\n' |