myogestic.utils.config.Registry.register_feature#
- Registry.register_feature(name, feature, requires_temporal_preservation=False)[source]#
Register a feature in the registry.
Note
The feature name must be unique.
- Parameters:
name (str) – The name of the feature.
feature (type[Transform]) – The feature transform class to register.
requires_temporal_preservation (bool, optional) – Whether this feature requires temporal preservation (keeps time dimension). Features like RMS Small Window that preserve the time dimension should set this to True. Default is False.
- Raises:
ValueError – If the feature is already registered
- Return type:
None