HedTagCount¶
- class HedTagCount(hed_tag, file_name)[source]
Counts for a particular HedTag in particular file.
Methods
|
|
|
Return counts for this tag. |
Return a dictionary summary of the events and files for this tag. |
|
|
Update the tag term value counts for a HedTag. |
Attributes
- HedTagCount.__init__(hed_tag, file_name)[source]¶
- Parameters:
hed_tag (HedTag) – The HedTag to keep track of.
file_name (str) – Name of the file associated with the tag.
- HedTagCount.get_info(verbose=False)[source]¶
Return counts for this tag.
- Parameters:
verbose (bool) – If False (the default) only number of files included, otherwise a list of files.
- Returns:
Keys are ‘tag’, ‘events’, and ‘files’.
- Return type:
dict