tophu.ICUUnwrap

class tophu.ICUUnwrap(min_coherence=0.1, ntrees=7, max_branch_length=64, use_phasegrad_neutrons=False, use_intensity_neutrons=False, phasegrad_window_size=5, neutron_phasegrad_thresh=3.0, neutron_intensity_thresh=8.0, neutron_coherence_thresh=0.8, min_conncomp_area_frac=0.003125)

Callback functor for unwrapping using ICU.

Methods

__call__(igram, coherence, nlooks, scratchdir)

Perform two-dimensional phase unwrapping.

Methods

ICUUnwrap.__init__([min_coherence, ntrees, ...])

Construct a new ICUUnwrap object.

ICUUnwrap.__call__(igram, coherence, nlooks, ...)

Perform two-dimensional phase unwrapping.

Attributes

ICUUnwrap.min_coherence

Minimum coherence of valid data.

ICUUnwrap.ntrees

Number of randomized tree realizations to generate.

ICUUnwrap.max_branch_length

Maximum branch cut length, in pixels.

ICUUnwrap.use_phasegrad_neutrons

Whether to use phase gradient neutrons.

ICUUnwrap.use_intensity_neutrons

Whether to use intensity neutrons.

ICUUnwrap.phasegrad_window_size

Window size for estimating phase gradients.

ICUUnwrap.neutron_phasegrad_thresh

Neutron absolute phase gradient threshold.

ICUUnwrap.neutron_intensity_thresh

Neutron intensity standard deviation threshold.

ICUUnwrap.neutron_coherence_thresh

Coherence threshold for detecting intensity neutrons.

ICUUnwrap.min_conncomp_area_frac

Minimum connected component size fraction.