Package sc.fiji.snt.analysis.curation
Class PlausibilityCheck.BranchAngle
java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
sc.fiji.snt.analysis.curation.PlausibilityCheck.BranchAngle
- Enclosing class:
PlausibilityCheck
Warns when the bifurcation angle at a fork is outside a plausible range.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluates the plausibility of a child path forking from a parent.doubledoublegetName()measure(Collection<Path> paths) Computes the full distribution of this check's metric acrosspaths, without applying the warning threshold.voidsetMaxAngleDeg(double deg) voidsetMinAngleDeg(double deg) Methods inherited from class sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
impactKind, isEnabled, setEnabled
-
Constructor Details
-
BranchAngle
public BranchAngle()
-
-
Method Details
-
getName
- Specified by:
getNamein classPlausibilityCheck.LiveCheck- Returns:
- a short human-readable name for this check
-
setMinAngleDeg
public void setMinAngleDeg(double deg) -
getMinAngleDeg
public double getMinAngleDeg() -
setMaxAngleDeg
public void setMaxAngleDeg(double deg) -
getMaxAngleDeg
public double getMaxAngleDeg() -
check
Description copied from class:PlausibilityCheck.LiveCheckEvaluates the plausibility of a child path forking from a parent.- Specified by:
checkin classPlausibilityCheck.LiveCheck- Parameters:
parent- the parent pathchild- the child (candidate) pathbranchIndex- the node index in the parent where the fork occurs- Returns:
- list of warnings (empty if the operation is plausible)
-
measure
Description copied from class:PlausibilityCheck.LiveCheckComputes the full distribution of this check's metric acrosspaths, without applying the warning threshold. Default implementation returnsPlausibilityCheck.Measurements.EMPTY; subclasses override to enable per-check histogram popups in the Curation Assistant.- Overrides:
measurein classPlausibilityCheck.LiveCheck- Parameters:
paths- the paths to evaluate;nullor empty yieldsPlausibilityCheck.Measurements.EMPTY.- Returns:
- a
PlausibilityCheck.Measurementsrecord; nevernull.
-