Readout#

torchsim.Readout(phase_rad=0.0, *, role=AdcRole.SINGLE, is_echo=True, duration_s=0.0, action=EventAction.NONE)[source]#

Return one sample of the transverse magnetization, demodulated by a phase.

action is what the sequence plays after the sample – SPOIL_AFTER for a spoiled gradient echo, SHIFT_AFTER for an unbalanced one, and nothing for a train that rewinds.

Examples using torchsim.Readout#

Basic Usage

Basic Usage

Writing a New Operator

Writing a New Operator