tophu.PhassUnwrap.__call__

PhassUnwrap.__call__(igram, coherence, nlooks, scratchdir)

Perform two-dimensional phase unwrapping.

Parameters
igramnumpy.ndarray

Input interferogram.

coherencenumpy.ndarray

Sample coherence coefficient, normalized to the interval [0, 1], with the same shape as the input interferogram.

nlooksfloat

Effective number of spatial looks used to form the input coherence data.

scratchdirpathlib.Path

Scratch directory where intermediate processing artifacts may be written.

Returns
unwphasenumpy.ndarray

Unwrapped phase, in radians.

conncompnumpy.ndarray

Connected component labels, with the same shape as the unwrapped phase.