dodal.devices.electron_analyser.abstract_region.AbstractBaseRegion#

class dodal.devices.electron_analyser.abstract_region.AbstractBaseRegion[source]#

Generic region model that holds the data. Specialised region models should inherit this to extend functionality. All energy units are assumed to be in eV.

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 allow self as a field name.

Parameters:

data (Any)

Methods

before_validation(data)

is_binding_energy()

is_kinetic_energy()

to_kinetic_energy(value, excitation_energy)

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name

enabled

slices

iterations

lens_mode

pass_energy

acquisition_mode

low_energy

high_energy

step_time

energy_step

energy_mode