Source code for nicetoolbox.connectors.elan.elan_configs

from pathlib import Path

from pydantic import BaseModel, NonNegativeInt

from ...configs.models.video_timestamp import VideoTimestamp


[docs]class ElanSequenceConfig(BaseModel): input: Path output: Path video: Path start: NonNegativeInt | VideoTimestamp end: int | VideoTimestamp # -1 means end of video reset_frames: bool = False
[docs]class ElanImportGazeConfig(BaseModel): log_level: str log_file_path: Path export_csv: bool run: dict[str, ElanSequenceConfig] subjects: dict[str, str]