Data-types¶
This section contains the documentation for float_type
,
fvec
, and cvec
.
-
aubio.
float_type
¶ A string constant describing the floating-point representation used in
fvec
,cvec
, and elsewhere in this module.Defaults to “float32”.
If aubio was built specifically with the option –enable-double, this string will be defined to “float64”. See Double precision in Installing aubio for Python for more details on building aubio in double precision mode.
Examples
>>> aubio.float_type 'float32' >>> numpy.zeros(10).dtype 'float64' >>> aubio.fvec(10).dtype 'float32' >>> np.arange(10, dtype=aubio.float_type).dtype 'float32'