get_orc_factorization#

mrinufft.extras.get_orc_factorization(method_name, *args, **kwargs)[source]#

Get the orc_factorization function from its name.

Available methods are:

Parameters:
  • method_name (str) – The name of the method to retrieve.

  • *args – Arguments to pass to the method if it is callable.

  • **kwargs – Arguments to pass to the method if it is callable.

Returns:

  • The method corresponding to the given name, or the result of calling it with the

  • provided arguments.

Raises:

ValueError – If the method name is not found in the registry.