register_transform
- bapsf_motion.transform.helpers.register_transform(transform_cls: Type[BaseTransform])
A decorator for registering a coordinate transform classes into the associated registry.
- Parameters:
transform_cls – The coordinate transform class to be registered. The class has to be a subclass of
BaseTransformand the registry key will be taken fromtransform_type.
Examples
@register_transform class MyTransform(BaseTransform): ...