iblrig.pydantic_definitions.HardwareSettingsCamera

Inheritance diagram of HardwareSettingsCamera

class iblrig.pydantic_definitions.HardwareSettingsCamera[source]
FPS: Annotated[int, Gt(gt=0)] | None
HEIGHT: Annotated[int, Gt(gt=0)] | None
INDEX: int
SYNC_LABEL: str | None
WIDTH: Annotated[int, Gt(gt=0)] | None
model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}

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

model_fields: ClassVar[Dict[str, FieldInfo]] = {'FPS': FieldInfo(annotation=Union[Annotated[int, Gt], NoneType], required=False, default=None, title='Camera frame rate', description='An optional frame rate (for camera QC only)'), 'HEIGHT': FieldInfo(annotation=Union[Annotated[int, Gt], NoneType], required=False, default=None, title='Camera frame height', description='An optional frame hight (for camera QC only)'), 'INDEX': FieldInfo(annotation=int, required=True), 'SYNC_LABEL': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, title='Camera DAQ sync label', description='The name of the DAQ channel wired to the camera GPIO'), 'WIDTH': FieldInfo(annotation=Union[Annotated[int, Gt], NoneType], required=False, default=None, title='Camera frame width', description='An optional frame width (for camera QC only)')}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

This replaces Model.__fields__ from Pydantic V1.