HED JavaScript Library
    Preparing search index...
    Index

    Constructors

    • Parameters

      • defName: any
      • eventType: any
      • onset: any
      • group: any
      • element: any

      Returns Event

    Properties

    defName: string

    The parsed HED group representing the definition.

    element: BidsTsvElement

    The tsv element source of this event.

    file: any
    group: ParsedHedGroup

    The parsed HED group representing the definition

    onset: number

    The name of the definition.

    tsvLine: any
    type: string

    The short name of the tag representing this event ("Onset", "Inset", or "Offset").

    Methods

    • Create an event from a ParsedHedGroup.

      Parameters

      • group: ParsedHedGroup

        A group to extract an event from a temporal group, if it is a group.

      • element: BidsTsvElement

        The element in which this group appears.

      Returns any[]

      • Returns [Event, BidsHedIssue[]] representing the extracted event and issues.