Virtual Objects

Virtual Objects#

Sub-package containing virtual objects generation routines.

DeepMR contains tools to simulate MR experiments for development and testing. These tools include numerical phantoms, B0 and B1+ field generators, random rigid motion generation routines and sampling trajectories (Cartesian and Non-Cartesian).

Phantoms#

deepmr.shepp_logan

Initialize numerical phantom for MR simulations.

deepmr.brainweb

Initialize a brain-shaped phantom for MR simulations.

deepmr.custom_phantom

Initialize numerical phantom for MR simulations from user-provided segmentation.

Fields#

deepmr.b0field

Simulate inhomogeneous B0 fields.

deepmr.b1field

Simulate inhomogeneous B1+ fields.

deepmr.sensmap

Simulate birdcage coils.

Non-idealities#

Miscellaneous non-idealities generation routines (e.g., motion patterns).

deepmr.rigid_motion

Generate rigid motion pattern as a Markov Chain process.

Sampling#

deepmr.cartesian2D

Design a 2D (+t) cartesian encoding scheme.

deepmr.cartesian3D

Design a 3D (+t) cartesian encoding scheme.

deepmr.radial

Design a radial trajectory.

deepmr.radial_stack

Design a stack-of-stars trajectory.

deepmr.radial_proj

Design a 3D radial projectiontrajectory.

deepmr.rosette

Design a rosette trajectory.

deepmr.rosette_stack

Design a stack-of-rosettes trajectory.

deepmr.rosette_proj

Design a 3D rosette projection trajectory.

deepmr.spiral

Design a constant- or multi-density spiral.

deepmr.spiral_stack

Design a constant- or multi-density stack of spirals.

deepmr.spiral_proj

Design a constant- or multi-density spiral projection.

Trains#

Variable parameters (e.g., flip angle, rf phase, echo time) train generators.

deepmr.piecewise_fa

Design a multi-segment linear flip angle train.

deepmr.sinusoidal_fa

Design a multi-segment sinusoidal flip angle train.

deepmr.phase_cycling

Generate a linear phase cycling scheme.

deepmr.rf_spoiling

Generate a quadratic phase cycling scheme for rf spoiling or partial spoiling.