surface_sim.layouts.Layout.from_dict#

classmethod layouts.Layout.from_dict(setup)#

Loads the layout class from a dictionary.

Parameters:
setup

The layout setup, see Layout.__init__.

Returns:
Layout

The initialized layout object.