Package sc.fiji.snt.analysis.curation
Class PlausibilityCheck.InterForkDistance
java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
sc.fiji.snt.analysis.curation.PlausibilityCheck.InterForkDistance
- Enclosing class:
PlausibilityCheck
Warns when two consecutive forks on the same parent path are
implausibly close together. Catches the misclick pattern where the
user accidentally created two forks at nearly the same location, or
cases where a fitted radius collapsed a single fork into two.
-
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.voidsetMinDistanceUm(double um) Methods inherited from class sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
isEnabled, setEnabled
-
Constructor Details
-
InterForkDistance
public InterForkDistance()
-
-
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
-
setMinDistanceUm
public void setMinDistanceUm(double um) -
getMinDistanceUm
public double getMinDistanceUm() -
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.
-