tophu.ICUUnwrap.__init__
- ICUUnwrap.__init__(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)
Construct a new ICUUnwrap object.
- Parameters
- min_coherencefloat, optional
Minimum coherence of valid data. Pixels with lower coherence are masked out. Defaults to 0.1.
- ntreesint, optional
Number of randomized tree realizations to generate. Defaults to 7.
- max_branch_lengthint, optional
Maximum length of a branch cut between residues/neutrons, in pixels. Defaults to 64.
- use_phasegrad_neutronsbool, optional
Whether to use phase gradient neutrons. Defaults to False.
- use_intensity_neutronsbool, optional
Whether to use intensity neutrons. Defaults to False.
- phasegrad_window_sizeint, optional
Window size for estimating phase gradients. This parameter is ignored if use_phasegrad_neutrons was false. Defaults to 5.
- neutron_phasegrad_threshfloat, optional
Absolute phase gradient threshold for detecting phase gradient neutrons, in radians per sample. This parameter is ignored if use_phasegrad_neutrons was false. Defaults to 3.
- neutron_intensity_threshfloat, optional
Intensity variation threshold for detecting intensity neutrons, in standard deviations from the mean (based on local image statistics). This parameter is ignored if use_intensity_neutrons was false. Defaults to 8.
- neutron_coherence_threshfloat, optional
Sample coherence threshold for detecting intensity neutrons. This parameter is ignored if use_intensity_neutrons was false. Defaults to 0.8.
- min_conncomp_area_fracfloat, optional
Minimum connected component size as a fraction of the total size of the interferogram tile. Defaults to 1/320.