class easyreflectometry.sample.elements.layers.layer.Layer[source]#

Bases: BaseCore

material: Material#

Material that makes up the layer.

thickness: Parameter#

Thickness of the layer in Angstrom.

roughness: Parameter#

Roughness of the layer in Angstrom.

__init__(material=None, thickness=None, roughness=None, name='EasyLayer', unique_name=None, interface=None)[source]#

Constructor.

Parameters:
  • material (Optional[Material]) – The material for the layer.

  • thickness (Union[Parameter, float, None]) – Layer thickness in Angstrom.

  • roughness (Union[Parameter, float, None]) – Upper roughness on the layer in Angstrom.

  • name (str) – Name of the layer, defaults to ‘EasyLayer’

  • interface – Interface object, defaults to None

assign_material(material)[source]#

Assign a material to the layer interface.

Parameters:

material (Material) – The material to assign to the layer.

Return type:

None

user_data: dict#