Package sc.fiji.snt.analysis.curation
Class PlausibilityCheck.TerminalBranchLength
java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
sc.fiji.snt.analysis.curation.PlausibilityCheck.TerminalBranchLength
- Enclosing class:
PlausibilityCheck
Warns when a terminal path is suspiciously short.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluates the plausibility of a child path forking from a parent.doublegetName()Declares how this check's errors propagate.measure(Collection<Path> paths) Computes the full distribution of this check's metric acrosspaths, without applying the warning threshold.voidsetMinLengthUm(double len) Methods inherited from class sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
isEnabled, setEnabled
-
Constructor Details
-
TerminalBranchLength
public TerminalBranchLength()
-
-
Method Details
-
getName
- Specified by:
getNamein classPlausibilityCheck.LiveCheck- Returns:
- a short human-readable name for this check
-
impactKind
Description copied from class:PlausibilityCheck.LiveCheckDeclares how this check's errors propagate. DefaultSUBTREEfor live checks because most live checks (branch angle, direction, tortuosity, soma distance) catch topology problems whose consequences cascade downstream. Caliber-only checks (e.g.,RadiusContinuity,ConstantRadii) override toPlausibilityCheck.ImpactKind.LOCAL.- Overrides:
impactKindin classPlausibilityCheck.LiveCheck
-
setMinLengthUm
public void setMinLengthUm(double len) -
getMinLengthUm
public double getMinLengthUm() -
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.
-