PhaseAmplitudeMixin#

class hypercoil.init.mapparam.PhaseAmplitudeMixin[source]#

A mixin class for mapped parameters.

Inheriting this mixin class changes any mapped parameter such that its mapping is applied specifically to the amplitude of a complex-valued parameter. The phase is left unchanged.

Methods

image_map(param)

Map the amplitude of a complex-valued a tensor to its image under the transformation.

preimage_map(param)

Map the amplitude of a complex-valued tensor to its preimage under the transformation.