TorchKbNUFFTgpu#
- class mrinufft.operators.interfaces.torchkbnufft.TorchKbNUFFTgpu(*args, **kwargs)[source]#
Bases:
MRITorchKbNufftMRI Transform Operator using Torch NUFFT for GPU.
This class provides a Non-Uniform Fast Fourier Transform (NUFFT) operator specifically optimized for GPU using the torchkbnufft library. It inherits from the MRITorchKbNufft class and sets the use_gpu parameter to True.
Methods
__init__adj_opBackward Operation.
check_shapeValidate the shapes of the image or k-space data against operator shapes.
compute_densityCompute the density compensation weights and set it.
compute_smapsCompute the sensitivity maps and set it.
data_consistencyCompute the data consistency.
get_lipschitz_cstReturn the Lipschitz constant of the operator.
make_autogradMake a new Operator with autodiff support.
make_deepinv_phyMake a new DeepInv Physics with NUFFT operator.
make_linopsCreate a Scipy Linear Operator from the NUFFT operator.
opForward operation.
pinv_solverSolves the linear system Ax = y.
pipeCompute the density compensation weights for a given set of kspace locations.
with_autogradReturn a Fourier operator with autograd capabilities.
with_off_resonance_correctionReturn a new operator with Off Resonnance Correction.
Attributes
autograd_availableavailablebackendcpx_dtypeReturn complex floating precision of the operator.
densityDensity compensation of the operator.
dtypeReturn floating precision of the operator.
img_full_shapeFull image shape with batch and coil dimensions.
interfacesksp_full_shapeFull kspace shape with batch and coil dimensions.
n_batchsNumber of coils for the operator.
n_coilsNumber of coils for the operator.
n_samplesReturn the number of samples used by the operator.
ndimNumber of dimensions in image space of the operator.
norm_factorNormalization factor of the operator.
samplesReturn the samples used by the operator.
shapeShape of the image space of the operator.
smapsSensitivity maps of the operator.
uses_densityReturn True if the operator uses density compensation.
uses_senseReturn True if the operator uses sensitivity maps.