diff --git a/doc/source/source_rst/software/operations/config.rst b/doc/source/source_rst/software/operations/config.rst index 4beaac446acbff68cd4eb5dfa89e6c1bc41b4bb4..c27b32d972d96bfd5c04ba3a37b6c23012385f42 100644 --- a/doc/source/source_rst/software/operations/config.rst +++ b/doc/source/source_rst/software/operations/config.rst @@ -62,9 +62,10 @@ The configuration is written in a python file structured in a series of dictiona #. HARDWARE_CONFIG: the hardware system in which the five different modules 'ctl' (controller), 'tx' (transmitter), 'rx' (receiver), 'mux' (multiplexers), 'pwr' (power). +.. autodata:: configs.config_example.HARDWARE_CONFIG + .. code-block:: python :caption: HARDWARE_CONFIG: Dictionary containing configuration of the hardware system and how it is assembled. - r_shunt = 2. # Value of the shunt resistor in Ohm. HARDWARE_CONFIG = { 'ctl': {'model': 'raspberry_pi'}, # contains informations related to controller unit, 'raspberry_pi' only implemented so far @@ -90,10 +91,6 @@ The configuration is written in a python file structured in a series of dictiona 'addr1': 'down', 'addr2': 'down', }, - 'mux_01': - {'model': 'mux_2023_0_X', - 'electrodes': range(1, 64)+16, - } }, 'default': {'interface_name': 'i2c_ext', 'voltage_max': 50., @@ -198,10 +195,3 @@ The configuration is written in a python file structured in a series of dictiona 'ctrl_topic': f'ohmpi_{OHMPI_CONFIG["id"]}/ctrl' } - - -.. toctree:: - :maxdepth: 2 - :caption: Contents: - -.. autodata:: configs.config_example.HARDWARE_CONFIG