Bayesian analysis of cardiovascular magnetic resonance imaging

cmr(
  data,
  input,
  mask = NULL,
  method = "spatial",
  quantiles = c(0.25, 0.75),
  cores = parallel::detectCores()
)

Arguments

data

3D or 4D array of CMR signal

input

input function

mask

2d array of mask. Voxel with 0 or FALSE will be omitted from analysis. Default NULL: use NA values in data as mask

method

"spatial" or "local"

quantiles

quantiles used for credible interval, default: c(0.25, 0.75)

cores

number of cores for parallel computation. Spatial model only computes slices parallel, local can be parallelized on voxel level

Value

list of mbf (point estimation) and ci (credible interval)