Package sc.fiji.snt.analysis.curation
Class PlausibilityCheck.Crossovers
java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.DeepCheck
sc.fiji.snt.analysis.curation.PlausibilityCheck.Crossovers
- Enclosing class:
PlausibilityCheck
Detects suspicious crossings between paths via
CrossoverFinder:
X-shape near-coincidences where two paths almost touch. Complementary
to PlausibilityCheck.BundledPaths (||-shape parallel runs).
By default ignores self-crossovers (a path crossing itself) and
direct parent/child overlap at fork points. Enable
setIncludeSelfCrossovers(boolean) to also catch paths that
loop back through themselves.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()doubleDeclares how this check's errors propagate.measure(Collection<Path> paths) SweepsCrossoverFinderat 5x the current proximity threshold so the histogram shows context around the cutoff, not just flagged events.scan(Collection<Path> paths) Scans a collection of paths for plausibility issues.voidsetIncludeSelfCrossovers(boolean b) If true, paths that cross themselves (loops back through their own trajectory) are also flagged.voidsetProximityUm(double um) Methods inherited from class sc.fiji.snt.analysis.curation.PlausibilityCheck.DeepCheck
isEnabled, setEnabled
-
Constructor Details
-
Crossovers
public Crossovers()
-
-
Method Details
-
getName
- Specified by:
getNamein classPlausibilityCheck.DeepCheck- Returns:
- a short human-readable name for this check
-
impactKind
Description copied from class:PlausibilityCheck.DeepCheckDeclares how this check's errors propagate. DefaultLOCALfor deep checks because most deep checks (radius jumps, monotonicity, signal quality) measure intrinsic per-path properties that don't propagate to descendants. Topology-class checks (e.g.,Crossovers) override toPlausibilityCheck.ImpactKind.SUBTREE.- Overrides:
impactKindin classPlausibilityCheck.DeepCheck
-
setProximityUm
public void setProximityUm(double um) -
getProximityUm
public double getProximityUm() -
setIncludeSelfCrossovers
public void setIncludeSelfCrossovers(boolean b) If true, paths that cross themselves (loops back through their own trajectory) are also flagged. Defaultfalse: only between-path crossings are reported. -
getIncludeSelfCrossovers
public boolean getIncludeSelfCrossovers() -
scan
Description copied from class:PlausibilityCheck.DeepCheckScans a collection of paths for plausibility issues.- Specified by:
scanin classPlausibilityCheck.DeepCheck- Parameters:
paths- the paths to scan- Returns:
- list of warnings (empty if no issues found)
-
measure
SweepsCrossoverFinderat 5x the current proximity threshold so the histogram shows context around the cutoff, not just flagged events. The threshold marker indicates where the user's current cutoff lies; events at distance > proximityUm appear unflagged.- Overrides:
measurein classPlausibilityCheck.DeepCheck- Parameters:
paths- the paths to evaluate;nullor empty yieldsPlausibilityCheck.Measurements.EMPTY.- Returns:
- a
PlausibilityCheck.Measurementsrecord; nevernull.
-