hed-typescript API
    Preparing search index...

    Class BidsTsvElement

    An element in a BIDS TSV file.

    Hierarchy (View Summary)

    Index
    • Constructor.

      Parameters

      • hedString: string

        The string representation of this element.

      • tsvFile: BidsTsvFile

        The file this element belongs to (usually just the path).

      • onset: string

        The onset represented by this element or a NaN.

      • tsvLine: string

        The line number(s) (including the header) represented by this element.

      Returns BidsTsvElement

    file: FilePath

    The file this element belongs to (usually just the path).

    fileName: string

    The name of the file this element belongs to (usually just the path).

    hedString: string

    The string representation of this element.

    onset: string

    The onset represented by this element or a NaN.

    This probably should be a number. Move numeric conversion to this file?

    parsedHedString: default | null

    The ParsedHedString representation of this element.

    tsvLine: string

    The line number(s) (including the header) represented by this element.

    • Create a string list of a list of BidsTsvElement objects.

      Parameters

      • elements: BidsTsvElement[]

        A list of elements to construct line numbers from.

      Returns string

      A string with the list of line numbers for error messages.