MR-zero PDG simulation
python mr0sim/main.py
Exposes the MR0 PDG simulation as a python script that is MRX: ToolAPI
compatible.
Input | Type |
---|---|
min_state_mag | Float |
max-state_count | Int |
min_latent_signal | Float |
min_emitted_signal | Float |
use_gpu | Bool |
phantom | VoxelPhantom |
sequence | DiscreteEventSeq |
If the use_gpu
parameter is set, the simulation will use CUDA to run on the GPU selected by PyTorch.
This might crash if the current hardware does not support CUDA (e.g.: no compatible NVIDIA graphics card was detected).
Returns the measured Signal.