neuralbench.transforms.AddDefaultEvents

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

Add default events to a timeline to fill out its duration.

E.g., useful for epilepsy recordings where seizures are sparse.

Parameters:
  • target_event_type (str) – Event type to fill out.

  • default_event_type (str) – Event type to use for the added events.

  • default_event_fields (dict[str, Any]) – Additional fields to add to the created events, as a dictionary of (field_name, value).

Fields:
field target_event_type: str [Required][source]
field default_event_type: str [Required][source]
field default_event_fields: dict[str, Any] = {}[source]
requirements: tp.ClassVar[tuple[str, ...]] = ()[source]