Package sc.fiji.snt.analysis.curation
Class PlausibilityCheck.RadiusContinuity
java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
sc.fiji.snt.analysis.curation.PlausibilityCheck.RadiusContinuity
- Enclosing class:
PlausibilityCheck
Warns when the child neurite's radius at the fork point exceeds
the parent's radius at the branch point.
-
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.voidsetMaxRatio(double maxRatio) Methods inherited from class sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
isEnabled, setEnabled
-
Constructor Details
-
RadiusContinuity
public RadiusContinuity()
-
-
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
-
setMaxRatio
public void setMaxRatio(double maxRatio) -
getMaxRatio
public double getMaxRatio() -
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.
-