simulate_magnetization

Array<cfloat, 2> compas::simulate_magnetization(const CudaContext &context, TissueParameters parameters, FISPSequence sequence)

Simulate the magnetization at echo times for the tissue parameters given by parameters for the given FISP sequence parameters.

Parameters:
  • context – The Context.

  • parameters – The tissue parameters.

  • sequence – The FISP sequence.

Returns:

An array of dimensions [nreadouts, nvoxels] giving the magnetization at each voxel for each readout at echo times.

Array<cfloat, 2> compas::simulate_magnetization(const CudaContext &context, TissueParameters parameters, pSSFPSequence sequence)

Simulate the magnetization at echo times for the tissue parameters given by parameters for the given pSSFP sequence parameters.

Parameters:
  • context – The Context.

  • parameters – The tissue parameters.

  • sequence – The pSSFP sequence.

Returns:

An array of dimensions [nreadouts, nvoxels] giving the magnetization at each voxel for each readout at echo times.