obspy.core.inventory.util.SampleRate.__set_format__

SampleRate.__set_format__()

You probably don’t want to use this function.

typestr
Must be ‘double’ or ‘float’.
fmt
Must be one of ‘unknown’, ‘IEEE, big-endian’ or ‘IEEE, little-endian’, and in addition can only be one of the latter two if it appears to match the underlying C reality.

It exists mainly to be used in Python’s test suite.

Override the automatic determination of C-level floating point type. This affects how floats are converted to and from binary strings.