get_operator

Contents

get_operator#

mrinufft.operators.base.get_operator(backend_name, *args, **kwargs)[source]#

Return an MRI Fourier operator interface using the correct backend.

Parameters:
  • backend_name (str) – Backend name

  • *args – Arguments to pass to the operator constructor.

  • **kwargs – Arguments to pass to the operator constructor.

Returns:

class or instance of class if args or kwargs are given.

Return type:

FourierOperator

Raises:

ValueError if the backend is not available.