magnetization_to_signal

Array<cfloat, 3> compas::magnetization_to_signal(const CudaContext &context, Array<cfloat, 2> echos, TissueParameters parameters, const Trajectory &trajectory, Array<float, 2> coil_sensitivities, SimulateSignalMethod method = SimulateSignalMethod::Direct)

Compute the MR signal given the magnetization at echo times in all voxels.

Parameters:
  • context – Compas Context.

  • echos – Magnetization at echo times. Size: [nreadouts, nvoxels].

  • parameters – The tissue parameters.

  • trajectory – The trajectory.

  • coil_sensitivities – The coil sensitivities. Size: [ncoils, nvoxels].

  • method – Method used for calculating. See SimulateSignalMethod.

Returns:

The MR signal. Size: [ncoils, nreadouts, nsamples_per_readout].