ska_pst.common.constants
Package used to define constants used within the PST Python code.
- ska_pst.common.constants.BITS_PER_BYTE = 8
Number of bits in a byte
- ska_pst.common.constants.COMPLEX_NDIMS: int = 2
Number of dimensions in complex valued data.
- ska_pst.common.constants.DEFAULT_HEALTH_CHECK_INTERVAL_MS: int = 1000
The default interval, in milliseconds, at which the CORE apps should report their health state.
- ska_pst.common.constants.DEFAULT_MONITORING_INTERVAL_MS: int = 5000
The default interval, in milliseconds, at which the CORE apps should report monitoring data.
- ska_pst.common.constants.GIGABITS_PER_BYTE = 8e-09
Scale factor used to convert from bytes to gigabits.
- ska_pst.common.constants.KILO_HERTZ_PER_MEGA_HERTZ = 1000
A scale factor to convert between kHz and MHz.
- ska_pst.common.constants.MEGA_HERTZ = 1000000
CSP sends values in SI units, including frequencies as Hz.
- ska_pst.common.constants.MICROSECS_PER_SEC = 1000000
Number of microseconds in a second.
- ska_pst.common.constants.REAL_NDIMS: int = 1
Number of dimensions in real valued data.
- ska_pst.common.constants.SIZE_OF_FLOAT32_IN_BYTES = 4
Number of bytes used for a single precision float (i.e. f32).
- ska_pst.common.constants.WEIGHTS_NBITS = 16
Number of bits per weight.
- ska_pst.common.constants.WEIGHTS_NDIM = 1
Number of dimensions in the weights values (i.e. weights are real valued).
- ska_pst.common.constants.WEIGHTS_NPOL = 1
Number of polarisations used for weights.