mxcubecore.HardwareObjects.abstract.sample_changer.Sample#

Classes

Sample(container, address, scannable)

Entity class holding state of an individual sample or sample slot (an empty sample location).

class mxcubecore.HardwareObjects.abstract.sample_changer.Sample.Sample(container, address, scannable)[source]#

Bases: Component

Entity class holding state of an individual sample or sample slot (an empty sample location).

clear_info()[source]#

Clears all sample info (also in components if object is a container)

get_properties()[source]#

Returns a dictionary with sample changer specific sample properties :rtype: dictionary

get_property(name)[source]#

Returns a given property or None if not defined :rtype: object

has_been_loaded()[source]#

Returns if the sample has already beenloaded for data collection :rtype: bool

has_property(name)[source]#

Returns true if a property is defined :rtype: bool

is_loaded()[source]#

Returns if the sample is currently loaded for data collection :rtype: bool