Source code for ska_tmc_cdm.messages.subarray_node.configure.tmc

"""
Configuration specific to TMC. scan_duration (in seconds) is the duration to be used
for all scan commands following this configuration.
"""

from datetime import timedelta

__all__ = ['TMCConfiguration']


[docs]class TMCConfiguration: """ Class to hold TMC configuration """ def __init__( self, scan_duration: timedelta, ): self.scan_duration = scan_duration def __eq__(self, other): if not isinstance(other, TMCConfiguration): return False return self.scan_duration == other.scan_duration