surface_sim.layouts.Layout.from_yaml#

classmethod layouts.Layout.from_yaml(filename)#

Loads the layout class from a YAML file.

The file must define the setup dictionary that initializes the layout.

Parameters:
filename

The pathfile name of the YAML setup file.

Returns:
Layout

The initialized layout object.