parsedHed2Tag

class ParsedHed2Tag()

ParsedHedTag class

ParsedHed2Tag.defaultUnit

Get the default unit for this HED tag.

ParsedHed2Tag.existsInSchema

Determine if this HED tag is in the schema.

ParsedHed2Tag.hasUnitClass

Checks if this HED tag has the ‘unitClass’ attribute.

ParsedHed2Tag.takesValue

Checks if this HED tag has the ‘takesValue’ attribute.

ParsedHed2Tag.takesValueFormattedTag

Determine value-taking form of this tag.

ParsedHed2Tag.unitClasses

Get the unit classes for this HED tag.

ParsedHed2Tag.validUnits

Get the legal units for a particular HED tag.

ParsedHed2Tag._convertTag(hedString, hedSchemas, schemaName)

Convert this tag to long form.

Arguments:
  • hedString (string) – The original HED string.

  • hedSchemas (Schemas) – The collection of HED schemas.

  • schemaName (string) – The label of this tag’s schema in the dataset’s schema spec.