Structure#

class EasyReflectometry.sample.structure.Structure(*args, name='EasyStructure', interface=None, **kwargs)[source]#

Bases: BaseCollection

classmethod default(interface=None)[source]#

Default constructor for the reflectometry structure.

Returns

Default structure container

Return type

Structure

classmethod from_pars(*args, name='EasyStructure', interface=None)[source]#

Constructor of a reflectometry structure where the parameters are known.

Parameters

args (List[EasyReflectometry.item.Item]) – The items in the structure

Returns

Structure container

Return type

Structure

property uid: int#

UID from the borg map

Type

return

Return type

int

user_data: dict#