dodal.devices.electron_analyser.base_region.BaseRegion#
- class dodal.devices.electron_analyser.base_region.BaseRegion[source]#
Generic region model that holds the data. Specialised region 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
check_energy_mode
(data)Attributes
model_config
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].name
enabled
slices
iterations
lensMode
passEnergy
acquisitionMode
lowEnergy
highEnergy
stepTime
energyStep
energyMode