obspy.core.util.obspy_types.FloatWithUncertainties.__setformat__

static FloatWithUncertainties.__setformat__(typestr, fmt) → None

You probably don’t want to use this function. It exists mainly to be used in Python’s test suite.

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.

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