station_configuration

MonitorControl.Configurations.station_configuration(context, hardware={}, roach_loglevel=30)

Returns the Observatory instance and equipment dict for a context

Equipment keys are ‘Telescope’, ‘FE_selector’, ‘FrontEnd’, ‘Rx_selector’, ‘Receiver’, ‘IF_switch’, ‘Backend’ and ‘sampling_clock’. They will become instances of hardware clients. The default value for each is None, to be corrected as appropriate by a specific configuration. If left None, the client is still included but is instantiated without connecting to the server.

Argument ‘hardware’ specifies whether a client is to be connected.

:param context : label for the configuration :type context : str

:param hardware : equipment to be used; default: all :type hardware : dict

:param roach_loglevel : logging level for corr module :type roach_loglevel : logging module logging level or int

Returns

lab,equipment