dodal.devices.electron_analyser.base.AbstractBaseSequence#
- class dodal.devices.electron_analyser.base.AbstractBaseSequence[source]#
Generic sequence model that holds the list of region data. Specialised sequence models should inherit this to extend functionality and define type of region to hold.
- Parameters:
data (
Any)
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- Parameters:
data (
Any)
Methods
get_enabled_region_names()get_enabled_regions()get_region_by_name(name)get_region_names()Attributes
model_configConfiguration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].versionregions