Package sc.fiji.snt.analysis.curation
Class PlausibilityCheck.DirectionContinuity
java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
sc.fiji.snt.analysis.curation.PlausibilityCheck.DirectionContinuity
- Enclosing class:
PlausibilityCheck
Warns when the child path's initial direction deviates sharply from the parent's tangent at the branch point
(potential U-turn).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluates the plausibility of a child path forking from a parent.doublegetName()measure(Collection<Path> paths) Computes the full distribution of this check's metric acrosspaths, without applying the warning threshold.voidsetMinAlignmentDeg(double deg) Methods inherited from class sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
impactKind, isEnabled, setEnabled
-
Constructor Details
-
DirectionContinuity
public DirectionContinuity()
-
-
Method Details
-
getName
- Specified by:
getNamein classPlausibilityCheck.LiveCheck- Returns:
- a short human-readable name for this check
-
setMinAlignmentDeg
public void setMinAlignmentDeg(double deg) -
getMinAlignmentDeg
public double getMinAlignmentDeg() -
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.
-