mxcubecore.model.procedure_model¶
Classes
|
|
|
Example DataModel used by the MockProcedure (for testing) |
Exceptions
- class mxcubecore.model.procedure_model.BaseModel(*args)[source]¶
Bases:
BaseModel- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class mxcubecore.model.procedure_model.MockDataModel(*args, transmission: float = 0, energy: float = 0, resolution: float = 0, exposure_time: float = 0, number_of_images: float = 0)[source]¶
Bases:
BaseModelExample DataModel used by the MockProcedure (for testing)
- Parameters:
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].