- class easyreflectometry.sample.sample.Sample[source]#
Bases:
BaseCollection
Collection of assemblies that represent the sample for which experimental measurements exist.
- __init__(*list_layer_like, name='EasySample', interface=None, populate_if_none=True, **kwargs)[source]#
Constructor.
- Parameters:
args – The assemblies in the sample.
name (
str
) – Name of the sample, defaults to ‘EasySample’.interface – Calculator interface, defaults to None.
- as_dict(skip=None)[source]#
Produces a cleaned dict using a custom as_dict method to skip necessary things. The resulting dict matches the parameters in __init__
- Parameters:
skip (
Optional
[list
]) – List of keys to skip, defaults to None.- Return type:
dict
-
user_data:
dict
#