- class EasyReflectometry.sample.elements.layers.layer.Layer[source]#
Bases:
BaseElement
-
thickness:
Parameter
# Thickness of the layer in Angstrom.
-
roughness:
Parameter
# Roughness of the layer in Angstrom.
- __init__(material, thickness, roughness, name='EasyLayer', interface=None)[source]#
Constructor.
- Parameters:
material (
Material
) – The material for the layer.thickness (
Parameter
) – Layer thickness in Angstrom.roughness (
Parameter
) – Upper roughness on the layer in Angstrom.name (
str
) – Name of the layer, defaults to ‘EasyLayer’interface – Interface object, defaults to
None
- classmethod default(interface=None)[source]#
Default instance of the reflectometry layer.
- Parameters:
interface – Calculator interface, defaults to
None
.- Return type:
- classmethod from_pars(material, thickness, roughness, name='EasyLayer', interface=None)[source]#
Instance of a reflectometry layer where the parameters are known.
- 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
#
-
thickness: