ShimDefinition#

class torchsim.ShimDefinition(id, magnitudes, phases_rad)[source]#

Bases: object

One transmit-shim definition: a complex weight per channel.

The weights hold for the whole pulse, and every channel plays the same waveform – static parallel transmit. _transmit combines them with the per-channel sensitivities into the field a voxel sees.

id#

What an RF event names this shim by.

Type:

int

magnitudes#

One weight per transmit channel.

Type:

tuple of float

phases_rad#

One phase per transmit channel, in radians.

Type:

tuple of float