deepmr.recon.fse_fit

Contents

deepmr.recon.fse_fit#

deepmr.recon.fse_fit(input, t2grid, flip, ESP, phases=None)[source]#

Fit T2 from input Fast Spin Echo data.

Parameters:
  • input (np.ndarray | torch.Tensor) – Input image series of shape (ncontrasts, nz, ny, nx).

  • t2grid (Iterable[float]) – T2 grid (start, stop, nsteps) in [ms].

  • flip (np.ndarray | torch.Tensor) – Refocusing flip angles in [deg].

  • ESP (float) – Echo spacing in [ms].

  • phases (np.ndarray | torch.Tensor, optional) – Refocusing pulses phases. The default is 0 * flip.

Returns:

  • m0 (np.ndarray | torch.Tensor) – Proton Density map of shape (nz, ny, nx).

  • t2map (np.ndarray | torch.Tensor) – T2 map of shape (nz, ny, nx) in [ms].