uataq.instruments.configure_instrument#

uataq.instruments.configure_instrument(SID, name, config, loggers=None)[source]#

Configure an instrument object based on the given configuration settings.

Parameters:
  • SID (str) – Site ID where the instrument is installed.

  • name (str) – Name of the instrument.

  • config (dict) – Configuration settings for the instrument.

  • loggers (dict | None) – Dictionary of loggers used by different research groups.

Returns:

An instrument object configured with the given settings.

Return type:

Instrument

Raises:
  • ValueError – If the instrument model is not found in the catalog.

  • ValueError – If no loggers are found for the instrument at the site.