pybispectra.utils.set_precision#
- pybispectra.utils.set_precision(precision: str) None[source]#
Set the precision of the outputs of PyBispectra classes and functions.
- Attributes:
- precision
"single"|"double" Precision to use. Accepts
"single"(real values arenumpy.float32and complex values arenumpy.complex64) and"double"(real values arenumpy.float64and complex values arenumpy.complex128).
- precision
Notes
By default, PyBispectra uses double precision. Single precision may be desired to increase computational speed and reduce the likelihood of memory errors when handling large datasets.