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_COORD_MODE: str = 'J2000'
Default coordinate mode.
Currently only J2000 is supported but in future other modes could be supported.
- ska_pst.common.constants.DEFAULT_EQUINOX: float = 2000.0
Default equinox for equatorial/J2000 coordinate mode.
- 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.DEFAULT_TRACKING_MODE: str = 'TRACK'
Default tracking mode.
Currently only TRACK is supported but other modes could be supported in the future.
- ska_pst.common.constants.GIGABITS_PER_BYTE: float = 8e-09
Scale factor used to convert from bytes to gigabits.
- ska_pst.common.constants.IMAG_IDX: int = 1
Index for the imaginary value of complex valued data.
- ska_pst.common.constants.KILO_HERTZ_PER_HERTZ: int = 1000
A scale factor to convert between kHz and Hz.
- ska_pst.common.constants.KILO_HERTZ_PER_MEGA_HERTZ: int = 1000
A scale factor to convert between kHz and MHz.
- ska_pst.common.constants.MEGA_HERTZ: int = 1000000
CSP sends values in SI units, including frequencies as Hz.
- ska_pst.common.constants.MICROSECS_PER_SEC: int = 1000000
Number of microseconds in a second.
- ska_pst.common.constants.NANOSECONDS_PER_SEC: int = 1000000000
Number of nanoseconds per second.
- ska_pst.common.constants.POLA_IDX: int = 0
Index for polarisation A for input data.
- ska_pst.common.constants.POLB_IDX: int = 1
Index for polarisation B for input data.
- ska_pst.common.constants.REAL_IDX: int = 0
Index for the real value of complex valued data.
- ska_pst.common.constants.REAL_NDIMS: int = 1
Number of dimensions in real valued data.
- ska_pst.common.constants.SCAN_CONFIG_FILE_NAME: str = 'scan_configuration.json'
The name of the scan configuration JSON file.
- 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.SKA_PST_LOW_SUBSYSTEM_ID: str = 'pst-low'
The subsystem ID used for PST in SKA-Low.
- ska_pst.common.constants.SKA_PST_MID_SUBSYSTEM_ID: str = 'pst-mid'
The subsystem ID used for PST in SKA-Mid.
- ska_pst.common.constants.SKA_PST_SUBSYSTEM_IDS: list[str] = ['pst-low', 'pst-mid']
A list of valid PST subsystem IDs.
This is used by LMC and SEND to ensure we have the correct path in the output files.
- ska_pst.common.constants.VERSION: str = '2.2.0'
The version of SKA PST.
- 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.