mr2.nn.data_consistency.AnalyticCartesianDC

class mr2.nn.data_consistency.AnalyticCartesianDC[source]

Bases: Module

Analytic Cartesian data consistency.

Solves the following problem: \(\min_x \|Ax - k\|_2^2 + \lambda \|x-p\|_2^2\) where \(A\) is the acquisition operator and \(k\) is the data, \(\lambda\) is the regularization parameter and \(p\) is the regularization image/prior analytically. \(A^H A\) has to be diagonal. This is a special case for a Cartesian acquisition without coil sensitivity weighting. This can be used for either single-coil data or to apply data consistency to each coil image [NOSENSE].

References

[NOSENSE]

Zimmermann, FF, and Kofler, Andreas. “NoSENSE: Learned unrolled cardiac MRI reconstruction without explicit sensitivity maps.” STACOM@MICCAI 2023. https://arxiv.org/abs/2309.15608

Parameters:

initial_regularization_weight (Tensor | float) – Initial regularization weight. The regularization weight is a trainable parameter.

__init__(initial_regularization_weight: Tensor | float)[source]

Initialize the data consistency.

Parameters:

initial_regularization_weight (Tensor | float) – Initial regularization weight. The regularization weight is a trainable parameter. Must be a positive scalar.

__call__(image: Tensor, data: KData, fourier_op: FourierOp | None = None) → Tensor[source]
__call__(image: Tensor, data: Tensor, fourier_op: FourierOp) → Tensor

Apply the data consistency.

Parameters:
  • image (Tensor) – Current image estimate, i.e. the regularized image.

  • data (KData | Tensor) – k-space data.

  • fourier_op (FourierOp | None, default: None) – Fourier operator matching the k-space data. If None and data is provided as a KData object, the Fourier operator is automatically created from the data.

Returns:

Updated image estimate.

forward(image: Tensor, data: KData | Tensor, fourier_op: FourierOp | None = None) → Tensor[source]

Apply the data consistency.