neuralbench.transforms.OffsetEvents

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

Offset selected events by specified amounts.

Parameters:
  • query (str) – Query to select events to offset.

  • start_offset (float | None = None) – Offset to apply starting from the start of the event.

  • end_offset (float | None = None) – Offset to apply starting from the end of the event.

  • start_offset_from_end (float | None = None) – Offset to apply starting from the end of the event.

  • end_offset_from_start (float | None = None) – Offset to apply starting from the start of the event.

Fields:
field query: str [Required][source]
field start_offset: float | None = None[source]
field end_offset: float | None = None[source]
field start_offset_from_end: float | None = None[source]
field end_offset_from_start: float | None = None[source]
requirements: tp.ClassVar[tuple[str, ...]] = ()[source]