Hardware Loop

class HardwareLoop

Bases: hermespy.core.executable.Executable, hermespy.core.scenario.Scenario[hermespy.hardware_loop.physical_device.PhysicalDevice]

Hermespy hardware loop configuration.

Parameters
  • results_dir (str, optional) – Directory in which all execution artifacts will be dropped.

  • verbosity (Union[str, Verbosity], optional) – Information output behaviour during execution.

  • console (Console, optional) – The console instance the executable will operate on.

yaml_tag: Optional[str] = 'Loop'

YAML serialization tag.

run()

Execute the configuration.

Return type

None

from_yaml(constructor, node)

Recall a new serializable class instance from YAML.

Parameters
  • constructor (SafeConstructor) – A handle to the constructor extracting the YAML information.

  • node (Node) – YAML node representing the Channel serialization.

Returns

The de-serialized object.

Return type

Serializable

to_yaml(representer, node)

Serialize a serializable object to YAML.

Parameters
  • representer (SafeRepresenter) – A handle to a representer used to generate valid YAML code. The representer gets passed down the serialization tree to each node.

  • node (Serializable) – The channel instance to be serialized.

Returns

The serialized YAML node.

Return type

Node