MethodRegister

MethodRegister#

class mrinufft._utils.MethodRegister(register_name)[source]#

Bases: object

A Decorator to register methods of the same type in dictionnaries.

Parameters:

name (str) – The register

Methods

__init__

Attributes

registry

__call__(method_name=None)[source]#

Register the function in the registry.