Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MR-zero PDG simulation

python mr0sim/main.py

Exposes the MR0 PDG simulation as a python script that is MRX: ToolAPI compatible.

InputType
min_state_magFloat
max-state_countInt
min_latent_signalFloat
min_emitted_signalFloat
use_gpuBool
phantomVoxelPhantom
sequenceDiscreteEventSeq

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.