RawCufinufftPlan#

class mrinufft.operators.interfaces.cufinufft.RawCufinufftPlan(samples: ndarray[tuple[int, ...], dtype[_ScalarType_co]], shape: tuple[int, ...], n_trans: int = 1, eps: float = 1e-06, **kwargs)[source]#

Bases: object

Light wrapper around the guru interface of finufft.

Methods

__init__

toggle_grad_traj

Toggle between the gradient trajectory and the plan for type 1 transform.

type1

Type 1 transform.

type2

Type 2 transform.

Attributes

dtype

Return the dtype (precision) of the transform.

property dtype[source]#

Return the dtype (precision) of the transform.

type1(coeff_data, grid_data)[source]#

Type 1 transform. Non Uniform to Uniform.

type2(grid_data, coeff_data)[source]#

Type 2 transform. Uniform to non-uniform.

toggle_grad_traj()[source]#

Toggle between the gradient trajectory and the plan for type 1 transform.