Skip to main content

Module complex

Module complex 

Source
Expand description

Real/imaginary input: conversion to magnitude and phase.

complex_to_mag_phase also detects and undoes alternate-slice π “chopping” (a reconstruction artefact common in GE real/imaginary exports), deciding once for all echoes, and can negate the phase for vendors (GE) whose real/imaginary phase runs opposite to the Siemens/Philips convention.

Structs§

ComplexToMagPhaseParams
Options for complex_to_mag_phase.
MagPhaseEchoes
Multi-echo magnitude and phase converted from real/imaginary input.
SliceChopping
What complex_to_mag_phase found and did about slice chopping.

Enums§

ChopCorrection
How complex_to_mag_phase treats alternate-slice π chopping.

Constants§

CHOP_AMBIGUOUS_COHERENCE
Coherence below which an axis’s chop decision is uncertain; see SliceChopping::ambiguous_axes.

Functions§

complex_to_mag_phase
Convert multi-echo real/imaginary volumes to magnitude and phase, correcting alternate-slice π chopping.
slice_chopping_coherence
Magnitude-weighted neighbour coherence along each axis, pooled over echoes.