Class PlausibilityCheck.ConstantRadii

java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
sc.fiji.snt.analysis.curation.PlausibilityCheck.ConstantRadii
Enclosing class:
PlausibilityCheck

public static class PlausibilityCheck.ConstantRadii extends PlausibilityCheck.LiveCheck
Warns when a path has radii assigned, but they are all identical (likely unfitted defaults).
  • Constructor Details

    • ConstantRadii

      public ConstantRadii()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class PlausibilityCheck.LiveCheck
      Returns:
      a short human-readable name for this check
    • impactKind

      public PlausibilityCheck.ImpactKind impactKind()
      No meaningful impact metric for this check. ConstantRadii is a data-completeness flag, not a morphological one: the path's geometry is fine, the user just hasn't run path fitting (or set radii manually) yet. Reporting an impact fraction would suggest structural consequences that don't apply.
      Overrides:
      impactKind in class PlausibilityCheck.LiveCheck
    • check

      public List<PlausibilityCheck.Warning> check(Path parent, Path child, int branchIndex)
      Description copied from class: PlausibilityCheck.LiveCheck
      Evaluates the plausibility of a child path forking from a parent.
      Specified by:
      check in class PlausibilityCheck.LiveCheck
      Parameters:
      parent - the parent path
      child - the child (candidate) path
      branchIndex - the node index in the parent where the fork occurs
      Returns:
      list of warnings (empty if the operation is plausible)