R/utils.R
get_2d_psf.Rd
Get the point spread function (PSF) for a 2D phase encoded MRSI scan.
get_2d_psf(
FOV = 160,
mat_size = 16,
sampling = "circ",
hamming = FALSE,
ensure_odd = TRUE
)
field of view in mm.
acquisition matrix size (not interpolated).
can be either "circ" for circular or "rect" for rectangular.
should Hamming k-space weighting be applied (default FALSE).
add 1mm to the FOV when required to ensure the output pdf has odd dimensions. Required when using get_mrsi2d_seg.
A matrix of the PSF with 1mm resolution.