dodal.devices.electron_analyser.base_region.BaseSequence#
- class dodal.devices.electron_analyser.base_region.BaseSequence[source]#
Generic sequence model that holds the list of region data. Specialised sequence models should inherit this to extend functionality.
- 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.self
is explicitly positional-only to allowself
as a field name.- Parameters:
data (
Any
)
Methods
get_enabled_region_names
()get_enabled_regions
()get_region_names
()Attributes
model_config
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].regions