MRICartesianOperator#
- class mrinufft.operators.cartesian.MRICartesianOperator(mask: ndarray[tuple[int, ...], dtype[_ScalarType_co]], shape: tuple[int, ...], density: Literal[False] = False, n_coils: int = 1, n_batchs: int = 1, n_trans: int = 1, smaps: ndarray[tuple[int, ...], dtype[_ScalarType_co]] | None = None, squeeze_dims: bool = True)[source]#
Bases:
FourierOperatorSimpleCartesian Operator for MRI reconstruction.
This class implements the forward and adjoint operations for Cartesian MRI reconstruction. It inherits from the FourierOperatorBase class, which provides common functionality for Fourier-based operators.
Methods
__init__Initialize the MRICartesianOperator.
adj_opNon Cartesian MRI adjoint operator.
check_shapeValidate the shapes of the image or k-space data against operator shapes.
Density is not supported for Cartesian Operator.
compute_smapsCompute the sensitivity maps and set it.
data_consistencyCompute the gradient 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.
opNon Cartesian MRI forward operator.
pinv_solverSolves the linear system Ax = y.
update_samplesUpdate the samples of the NUFFT operator.
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.
Mask of the Cartesian sampling pattern.
n_batchsNumber of coils for the operator.
n_coilsNumber of coils for the operator.
Number of samples in the Cartesian sampling pattern.
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.