42 from typing
import Union
48 """ RTC handler for compass simulation
51 def __init__(self, context: carmaWrap_context, config, tel, wfs, dms, atm, *,
52 brahma: bool =
False, fp16: bool =
False, cacao: bool =
False):
53 """ Initialize a RtcCompass component for rtc related supervision
56 context : (carmaContext) : CarmaContext instance
58 config : (config module) : Parameters configuration structure module
60 tel: (Telescope) : Telescope object
62 wfs: (Sensors) : Sensors object
64 dms: (Dms) : Dms object
66 atm: (Atmos) : Atmos object
69 brahma : (bool, optional) : If True, enables BRAHMA features in RTC (Default is False)
70 Requires BRAHMA to be installed
72 fp16 : (bool, optional) : If True, enables FP16 features in RTC (Default is False)
73 Requires CUDA_SM>60 to be installed
75 cacao : (bool) : If True, enables CACAO features in RTC (Default is False)
76 Requires OCTOPUS to be installed
78 RtcAbstract.__init__(self, context, config, brahma=brahma, fp16=fp16,
82 def rtc_init(self, tel, wfs, dms, atm):
83 """ Initialize a RtcCompass component for rtc related supervision
86 tel: (Telescope) : Telescope object
88 wfs: (Sensors) : Sensors object
90 dms: (Dms) : Dms object
92 atm: (Atmos) : Atmos object
97 self.
_config_config.p_loop.ittime, self.
_config_config.p_centroiders,
99 cacao=self.
cacaocacao)
RTC handler for compass simulation.
cacao
(bool) : CACAO features enabled in the RTC
RTC handler for compass simulation.
def rtc_init(self, tel, wfs, dms, atm)
Initialize a RtcCompass component for rtc related supervision.
def __init__(self, carmaWrap_context context, config, tel, wfs, dms, atm, *bool brahma=False, bool fp16=False, bool cacao=False)
Initialize a RtcCompass component for rtc related supervision.
Numerical constants for shesha and config enumerations for safe-typing.
Initialization of a Rtc object.