HedTypeCounts¶
- class HedTypeCounts(name, type_tag)[source]
Keeps a summary of tag counts for a file.
Methods
|
|
|
Update this summary based on the type variable map. |
|
|
|
|
|
Update this summary based on the type variable map. |
Attributes
- HedTypeCounts.add_descriptions(type_defs)[source]¶
Update this summary based on the type variable map.
- Parameters:
type_defs (HedTypeDefs) – Contains the information about the value of a type.
- HedTypeCounts.update_summary(type_sum, total_events=0, file_id=None)[source]¶
Update this summary based on the type variable map.
- Parameters:
type_sum (dict) – Contains the information about the value of a type.
total_events (int) – Total number of events processed.
file_id (str) – Unique identifier for the associated file.