neuralbench.transforms.CropTimelines

pydantic model neuralbench.transforms.CropTimelines[source][source]

Crop neuro timelines.

Parameters:
  • event_type (str | None) – If provided, only crop events of this type.

  • start_offset_s (float | None) – If provided, crop this offset from the start of the event.

  • max_duration_s (float | None) – If provided, cap the event at this duration.

Fields:
field event_type: str | None = None[source]
field start_offset_s: float | None = None[source]
field max_duration_s: float | None = None[source]
requirements: tp.ClassVar[tuple[str, ...]] = ()[source]