Getters Methods#
Methods that retrieve values or properties from objects.
Total methods in this category: 544
AllenCompartment#
- getAncestor(arg0)#
Gets the nth ancestor of this compartment.
Signature:
getAncestor(int) -> AllenCompartmentParameters:
arg0 (
int): - the ancestor level as negative 1-based index. E.g.,
Returns: (
Any) the nth ancestor
- getAncestors()#
Gets the ancestor ontologies of this compartment as a flat (non-hierarchical) list.
Signature:
getAncestors() -> ListReturns: (
List[Any]) the “flattened” list of ancestors
- getChildren(arg0)#
Gets the child ontologies of this compartment as a flat (non-hierarchical) list.
Signature:
getChildren(int) -> ListParameters:
arg0 (
int): - maximum depth that should be considered.
Returns: (
List[Any]) the “flattened” ontologies list
- getMesh()#
Signature:
getMesh() -> OBJMeshReturns: (
Any) the mesh associated with this compartment
- getOntologyDepth()#
Gets the ontology depth of this compartment.
Signature:
getOntologyDepth() -> intReturns: (
int) the ontological depth of this compartment, i.e., its ontological distance relative to the root (e.g., a compartment of hierarchical level 9, has a depth of 8).
- getParent()#
Gets the parent of this compartment.
Signature:
getParent() -> BrainAnnotationReturns:
Any
- getTreePath()#
Gets the tree path of this compartment. The TreePath is the list of parent compartments that uniquely identify this compartment in the ontologies hierarchical tree. The elements of the list are ordered with the root (‘Whole Brain’) as the first element of the list. In practice, this is equivalent to appending this compartment to the list returned by getAncestors().
Signature:
getTreePath() -> ListReturns: (
List[Any]) the tree path that uniquely identifies this compartment as a node in the CCF ontologies tree
- getUUID()#
Signature:
getUUID() -> UUIDReturns:
Any
- isChildOf(arg0)#
Assesses if this annotation is a child of a specified compartment.
Signature:
isChildOf(BrainAnnotation) -> booleanParameters:
arg0 (
Any): - the compartment to be tested
Returns: (
bool) true, if successful, i.e., parentCompartment is not this compartment and getTreePath() contains parentCompartment
- isMeshAvailable()#
Checks whether a mesh is known to be available for this compartment.
Signature:
isMeshAvailable() -> booleanReturns: (
bool) true, if a mesh is available.
- isParentOf(arg0)#
Assesses if this annotation is the parent of the specified compartment.
Signature:
isParentOf(BrainAnnotation) -> booleanParameters:
arg0 (
Any): - the compartment to be tested
Returns: (
bool) true, if successful, i.e., childCompartment is not this compartment and is present in getChildren()
Annotation3D#
- getBarycentre()#
Returns the center of this annotation bounding box.
Signature:
getBarycentre() -> SNTPointReturns: (
SNTPoint) the barycentre of this annotation. All coordinates are set to Double.NaN if the bounding box is not available.
- getColor()#
Signature:
getColor() -> ColorRGBReturns:
Any
- getDrawable()#
Returns the AbstractDrawable associated with this annotation.
Signature:
getDrawable() -> DrawableReturns: (
Any) the AbstractDrawable
- getLabel()#
Gets the annotation label
Signature:
getLabel() -> StringReturns: (
str) the label, as listed in Reconstruction Viewer’s list.
- getType()#
Gets the type of this annotation.
Signature:
getType() -> StringReturns: (
str) the annotation type. Either cloud (point cloud), surface, line, plane, or mixed (composite shape).
- getVolume()#
Signature:
getVolume() -> doubleReturns:
float
- isColorCodeAllowed()#
Signature:
isColorCodeAllowed() -> booleanReturns:
bool
- setSize(arg0)#
Sets the annotation width.
Signature:
setSize(Number) -> voidParameters:
arg0 (
Union[int, float]): - the new width. A negative value will set width to Viewer3D’s default.
Returns:
None
BiSearch#
- getNodesAsImage()#
Signature:
getNodesAsImage() -> SearchImageStackReturns:
Any
- getResult()#
Signature:
getResult() -> PathReturns:
Path
BiSearchNode#
- getF(arg0)#
Signature:
getF(boolean) -> doubleParameters:
arg0 (
bool)
Returns:
float
- getFFromGoal()#
Signature:
getFFromGoal() -> doubleReturns:
float
- getFFromStart()#
Signature:
getFFromStart() -> doubleReturns:
float
- getG(arg0)#
Signature:
getG(boolean) -> doubleParameters:
arg0 (
bool)
Returns:
float
- getGFromGoal()#
Signature:
getGFromGoal() -> doubleReturns:
float
- getGFromStart()#
Signature:
getGFromStart() -> doubleReturns:
float
- getHeapHandle(arg0)#
Signature:
getHeapHandle(boolean) -> AddressableHeap$HandleParameters:
arg0 (
bool)
Returns:
Any
- getHeapHandleFromGoal()#
Signature:
getHeapHandleFromGoal() -> AddressableHeap$HandleReturns:
Any
- getHeapHandleFromStart()#
Signature:
getHeapHandleFromStart() -> AddressableHeap$HandleReturns:
Any
- getPredecessorFromGoal()#
Signature:
getPredecessorFromGoal() -> BiSearchNodeReturns:
BiSearchNode
- getPredecessorFromStart()#
Signature:
getPredecessorFromStart() -> BiSearchNodeReturns:
BiSearchNode
- getState(arg0)#
Signature:
getState(boolean) -> BiSearchNode$StateParameters:
arg0 (
bool)
Returns:
Any
- getStateFromGoal()#
Signature:
getStateFromGoal() -> BiSearchNode$StateReturns:
Any
- getStateFromStart()#
Signature:
getStateFromStart() -> BiSearchNode$StateReturns:
Any
- getX()#
Signature:
getX() -> intReturns:
int
- getY()#
Signature:
getY() -> intReturns:
int
- getZ()#
Signature:
getZ() -> intReturns:
int
BoundingBox#
- getCalibration()#
Creates a Calibration object using information from this BoundingBox
Signature:
getCalibration() -> CalibrationReturns: (
Any) the Calibration object
- getCentroid()#
Signature:
getCentroid() -> SNTPointReturns:
SNTPoint
- getDiagonal()#
Gets the box diagonal
Signature:
getDiagonal() -> doubleReturns: (
float) the diagonal of BoundingBox
- getDimensions()#
Gets this BoundingBox dimensions.
Signature:
getDimensions() -> [DReturns:
Any
- getUnit()#
Gets the length unit of voxel spacing
Signature:
getUnit() -> StringReturns: (
str) the unit
- hasDimensions()#
Signature:
hasDimensions() -> booleanReturns:
bool
- isScaled()#
Checks whether this BoundingBox is spatially calibrated, i.e., if voxel spacing has been specified
Signature:
isScaled() -> booleanReturns: (
bool) true, if voxel spacing has been specified
ConvexHull2D#
- boundarySize()#
Signature:
boundarySize() -> doubleReturns:
float
- getPolygon()#
Signature:
getPolygon() -> Polygon2DReturns:
Any
- size()#
Signature:
size() -> doubleReturns:
float
ConvexHull3D#
- boundarySize()#
Signature:
boundarySize() -> doubleReturns:
float
- getMesh()#
Signature:
getMesh() -> MeshReturns:
Any
- size()#
Signature:
size() -> doubleReturns:
float
ConvexHullAnalyzer#
- cancel(arg0)#
Signature:
cancel(String) -> voidParameters:
arg0 (
str)
Returns:
None
- getAnalysis()#
Gets all computed convex hull analysis metrics.
Returns a map containing all the computed convex hull metrics and their values. The metrics are computed lazily and cached for subsequent calls. If the hull cannot be computed, all metrics return NaN.
Signature:
getAnalysis() -> MapReturns: (
Dict[str, Any]) a map of metric names to their computed values
- getBoundarySize()#
Gets the boundary size (perimeter for 2D hulls or surface area for 3D hulls) of the convex hull.
Signature:
getBoundarySize() -> doubleReturns: (
float) the boundary size of the convex hull
- getBoxivity()#
Gets the boxivity of the convex hull, which measures how box-like the convex hull is. Values closer to 1 indicate a more box-like shape.
Signature:
getBoxivity() -> doubleReturns: (
float) the boxivity value
- getCancelReason()#
Signature:
getCancelReason() -> StringReturns:
str
- getCentroid()#
Signature:
getCentroid() -> PointInImageReturns:
PointInImage
- getCompactness()#
Signature:
getCompactness() -> doubleReturns:
float
- getContext()#
Signature:
getContext() -> ContextReturns:
Any
- getEccentricity()#
Signature:
getEccentricity() -> doubleReturns:
float
- getElongation()#
Gets the elongation of the convex hull, which measures how elongated the convex hull is. Higher values indicate more elongated shapes.
Signature:
getElongation() -> doubleReturns: (
float) the elongation value
- getHull()#
Gets the convex hull object being analyzed. The hull is initialized if needed.
Signature:
getHull() -> AbstractConvexHullReturns: (
Any) the convex hull object
- getRoundness()#
Gets the roundness of the convex hull, which measures how round or circular the convex hull is. Values closer to 1 indicate a more round shape.
Signature:
getRoundness() -> doubleReturns: (
float) the roundness value
- getSize()#
Gets the size (area or volume) of the convex hull, which is the area for 2D hulls or the volume for 3D hulls.
Signature:
getSize() -> doubleReturns: (
float) the size of the convex hull
- getTree()#
Gets the tree being analyzed.
Signature:
getTree() -> TreeReturns: (
Tree) the tree being analyzed, or null if the analyzer was created directly from a convex hull.
- getUnit(arg0)#
Returns the physical unit associated with the specified metric.
Signature:
getUnit(String) -> StringParameters:
arg0 (
str): - the supported metric to be queried (case-sensitive)
Returns: (
str) physical unit
- isCanceled()#
Signature:
isCanceled() -> booleanReturns:
bool
DefaultSearchNode#
- getHandle()#
Signature:
getHandle() -> AddressableHeap$HandleReturns:
Any
- getPredecessor()#
Signature:
getPredecessor() -> DefaultSearchNodeReturns:
Any
- getX()#
Signature:
getX() -> intReturns:
int
- getY()#
Signature:
getY() -> intReturns:
int
- getZ()#
Signature:
getZ() -> intReturns:
int
Fill#
- getEstimatedMeanRadius()#
Returns the estimated mean radius of the fill, assuming a cylindric shape
Signature:
getEstimatedMeanRadius() -> doubleReturns: (
float) the estimated mean radius
- getMetric()#
Signature:
getMetric() -> SNT$CostTypeReturns:
Any
- getNodeList()#
Returns the list of nodes in the filled structure.
Signature:
getNodeList() -> ListReturns: (
List[Any]) the list of nodes
- getSourcePaths()#
Returns the set of source paths for the filled structure.
Signature:
getSourcePaths() -> SetReturns: (
Set[Any]) the set of source paths
- getSourcePathsStringHuman()#
Signature:
getSourcePathsStringHuman() -> StringReturns:
str
- getSourcePathsStringMachine()#
Signature:
getSourcePathsStringMachine() -> StringReturns:
str
- getThreshold()#
Signature:
getThreshold() -> doubleReturns:
float
- getVolume()#
Returns the Fill volume. It assumes that the volume is just the number of sub-threshold nodes multiplied by x_spacing * y_spacing * z_spacing.
Signature:
getVolume() -> doubleReturns: (
float) the volume
FillConverter#
- getFillerStack()#
Merges the input FillerThreads into a single SearchImageStack. When a filled voxel position is present in multiple filler instances, the node with the lowest g-score is chosen for inclusion in the merged stack.
Signature:
getFillerStack() -> SearchImageStackReturns: (
Any) the merged filler stack
FillerThread#
- getDistanceAtPoint(arg0, arg1, arg2)#
Signature:
getDistanceAtPoint(double, double, double) -> doubleParameters:
arg0 (
float)arg1 (
float)arg2 (
float)
Returns:
float
- getExitReason()#
Signature:
getExitReason() -> intReturns:
int
- getFill()#
Signature:
getFill() -> FillReturns:
Any
- getNodesAsImage()#
Signature:
getNodesAsImage() -> SearchImageStackReturns:
Any
- getNodesAsImageFromGoal()#
Signature:
getNodesAsImageFromGoal() -> SearchImageStackReturns:
Any
- getNodesAsImageFromStart()#
Signature:
getNodesAsImageFromStart() -> SearchImageStackReturns:
Any
- getResult()#
Signature:
getResult() -> PathReturns:
Path
- getThreshold()#
Signature:
getThreshold() -> doubleReturns:
float
FlyCircuitLoader#
- getReader(arg0)#
Gets the SWC data associated with the specified cell ID as a reader
Signature:
getReader(String) -> BufferedReaderParameters:
arg0 (
str): - the ID of the cell to be retrieved
Returns: (
Any) the character stream containing the data, or null if cell ID was not found or could not be retrieved
- getReconstructionURL(arg0)#
Gets the URL of the SWC file associated with the specified cell ID.
Signature:
getReconstructionURL(String) -> StringParameters:
arg0 (
str): - the ID of the cell to be retrieved
Returns: (
str) the reconstruction URL
- getTree(arg0)#
Gets the collection of Paths for the specified cell ID
Signature:
getTree(String) -> TreeParameters:
arg0 (
str): - the ID of the cell to be retrieved
Returns: (
Tree) the data for the specified cell as a Tree, or null if data could not be retrieved
- isDatabaseAvailable()#
Checks whether a connection to the FlyCircuit database can be established.
Signature:
isDatabaseAvailable() -> booleanReturns: (
bool) true, if an HHTP connection could be established, false otherwise
Frangi#
- getArity()#
Signature:
getArity() -> intReturns:
int
- getIndependentInstance()#
Signature:
getIndependentInstance() -> UnaryComputerOpReturns:
Any
GroupedTreeStatistics#
- getBoxPlot(arg0, arg1)#
Assembles a Box and Whisker Plot for the specified feature.
Signature:
getBoxPlot(String, Collection) -> SNTChartParameters:
arg0 (
str): - the feature (“Cable length”, “No. of branch points”, “No. of tips”, etc.). Note that the majority of TreeStatistics.getAllMetrics() metrics are currently not supported.arg1 (
List[Any])
Returns: (
SNTChart) the box plot
- getFlowPlot(arg0, arg1, arg2, arg3)#
Assembles a Flow plot (aka Sankey diagram) for the specified feature.
Signature:
getFlowPlot(String, int, double, boolean) -> SNTChartParameters:
arg0 (
str)arg1 (
int)arg2 (
float)arg3 (
bool)
Returns:
SNTChart
- getGroupStats(arg0)#
Gets the group statistics.
Signature:
getGroupStats(String) -> MultiTreeStatisticsParameters:
arg0 (
str): - the unique label identifying the group
Returns: (
MultiTreeStatistics) the group statistics or null if no group is mapped to groupLabel
- getGroups()#
Gets the group identifiers currently queued for analysis.
Signature:
getGroups() -> ListReturns: (
List[Any]) the group identifiers
- getHistogram(arg0)#
Gets the relative frequencies histogram for a univariate measurement. The number of bins is determined using the Freedman-Diaconis rule.
Signature:
getHistogram(String) -> SNTChartParameters:
arg0 (
str): - the measurement (N_NODES, NODE_RADIUS, etc.)
Returns: (
SNTChart) the frame holding the histogram
- getN(arg0)#
Gets the number of Trees in a specified group.
Signature:
getN(String) -> intParameters:
arg0 (
str): - the unique label identifying the group
Returns: (
int) the number of Trees or -1 if no group is mapped to groupLabel
- getPolarHistogram(arg0)#
Gets the relative frequencies histogram for a univariate measurement as a polar (rose) plot assuming a data range between [0-360]. The number of bins is determined using the Freedman-Diaconis rule.
Signature:
getPolarHistogram(String) -> SNTChartParameters:
arg0 (
str): - the measurement (e.g., MultiTreeStatistics.AVG_REMOTE_ANGLE
Returns: (
SNTChart) the frame holding the histogram
InsectBrainCompartment#
- getAncestor(arg0)#
Signature:
getAncestor(int) -> BrainAnnotationParameters:
arg0 (
int): - the ancestor level as negative 1-based index. E.g.,
Returns: (
Any) the ancestor of this compartment at the nth level
- getMesh()#
Signature:
getMesh() -> OBJMeshReturns: (
Any) the mesh associated with this compartment
- getOntologyDepth()#
Signature:
getOntologyDepth() -> intReturns:
int
- getParent()#
Signature:
getParent() -> BrainAnnotationReturns: (
Any) the parent of this compartment
- isChildOf(arg0)#
Signature:
isChildOf(BrainAnnotation) -> booleanParameters:
arg0 (
Any)
Returns: (
bool) whether this compartment is a sub-compartment of annotation
- isMeshAvailable()#
Signature:
isMeshAvailable() -> booleanReturns: (
bool) whether a mesh is available for this compartment
- isParentOf(arg0)#
Signature:
isParentOf(BrainAnnotation) -> booleanParameters:
arg0 (
Any)
Returns: (
bool) whether this compartment is a parentCompartment of annotation
InsectBrainLoader#
- getAnnotations()#
Gets the brain compartment annotations for this neuron.
Signature:
getAnnotations() -> ListReturns: (
List[Any]) list of InsectBrainCompartment annotations, or null if not available
- getMeshes()#
Gets the 3D meshes associated with this neuron’s brain compartments.
Signature:
getMeshes() -> ListReturns: (
List[Any]) list of OBJMesh objects representing brain compartments
- getNeuronInfo()#
Signature:
getNeuronInfo() -> InsectBrainLoader$NeuronInfoReturns:
Any
- getTree()#
Gets the collection of Paths for the specified cell ID
Signature:
getTree() -> TreeReturns: (
Tree) the data for the specified cell as a Tree, or null if data could not be retrieved
InteractiveTracerCanvas#
- getAccessibleContext()#
Signature:
getAccessibleContext() -> AccessibleContextReturns:
Any
- getAlignmentX()#
Signature:
getAlignmentX() -> floatReturns:
float
- getAlignmentY()#
Signature:
getAlignmentY() -> floatReturns:
float
- getAnnotationsColor()#
Signature:
getAnnotationsColor() -> ColorReturns:
Any
- getBackground()#
Signature:
getBackground() -> ColorReturns:
Any
- getBaseline(arg0, arg1)#
Signature:
getBaseline(int, int) -> intParameters:
arg0 (
int)arg1 (
int)
Returns:
int
MouseLightLoader#
- getDOI()#
Gets the DOI for this neuron.
Signature:
getDOI() -> StringReturns: (
str) the DOI string, or null if not available
- getID()#
Gets the neuron ID for this loader.
Signature:
getID() -> StringReturns: (
str) the neuron ID
- getJSON()#
Gets all the data associated with this reconstruction as a JSON object.
Signature:
getJSON() -> JSONObjectReturns: (
Any) the JSON data (null if data could not be retrieved).
- getNodes()#
Script-friendly method to extract the nodes of a cellular compartment.
Signature:
getNodes() -> TreeSetReturns:
Set[Any]
- getSWC()#
Gets all the data associated with this reconstruction in the SWC format.
Signature:
getSWC() -> StringReturns: (
str) the SWC data (null if data could not be retrieved).
- getSampleInfo()#
Gets sample information for this neuron.
Signature:
getSampleInfo() -> StringReturns: (
str) the sample information as a JSON string, or null if not available
- getSomaCompartment()#
Gets the brain compartment containing the soma.
Signature:
getSomaCompartment() -> AllenCompartmentReturns: (
Any) the AllenCompartment containing the soma
- getSomaLocation()#
Gets the soma location for this neuron.
Signature:
getSomaLocation() -> SWCPointReturns: (
SWCPoint) the SWCPoint representing the soma location
- getTree()#
Script-friendly method to extract the entire neuron as a collection of Paths.
Signature:
getTree() -> TreeReturns: (
Tree) the neuron as a Tree, or null if data could not be retrieved
- static getNeuronCount()
Gets the number of cells publicly available in the MouseLight database.
Signature:
static getNeuronCount() -> intReturns: (
int) the number of available cells, or -1 if the database could not be reached.
MouseLightQuerier#
- static getNeuronCount()
Gets the number of cells publicly available in the MouseLight database.
Signature:
static getNeuronCount() -> intReturns: (
int) the number of available cells, or -1 if the database could not be reached.
MultiTreeColorMapper#
- getAvailableLuts()#
Signature:
getAvailableLuts() -> SetReturns:
Set[Any]
- getColor(arg0)#
Signature:
getColor(double) -> ColorParameters:
arg0 (
float)
Returns:
Any
- getColorRGB(arg0)#
Signature:
getColorRGB(double) -> ColorRGBParameters:
arg0 (
float)
Returns:
Any
- getColorTable(arg0)#
Signature:
getColorTable(String) -> ColorTableParameters:
arg0 (
str)
Returns:
Any
- getMinMax()#
Signature:
getMinMax() -> [DReturns:
Any
- getMultiViewer()#
Description copied from class: TreeColorMapper
Signature:
getMultiViewer() -> MultiViewer2DReturns: (
MultiViewer2D) the multi-viewer instance
- getNaNColor()#
Signature:
getNaNColor() -> ColorReturns:
Any
- isIntegerScale()#
Signature:
isIntegerScale() -> booleanReturns:
bool
- isNodeMapping()#
Signature:
isNodeMapping() -> booleanReturns:
bool
MultiTreeStatistics#
- cancel(arg0)#
Main method for testing and demonstration purposes.
Creates a MultiTreeStatistics instance using demo data and displays various analysis plots including histograms and flow plots. This method is primarily used for development and debugging.
Signature:
cancel(String) -> voidParameters:
arg0 (
str): - command line arguments (not used)Returns:
None
- getAnnotatedLength(arg0)#
Description copied from class: TreeStatistics
Signature:
getAnnotatedLength(int) -> MapParameters:
arg0 (
int): - the ontological depth of the compartments to be considered
Returns: (
Dict[str, Any]) the map containing the brain compartments as keys, and cable lengths as values.
- getAnnotatedLengthHistogram(arg0)#
Signature:
getAnnotatedLengthHistogram(int) -> SNTChartParameters:
arg0 (
int)
Returns:
SNTChart
- getAnnotatedLengthsByHemisphere(arg0)#
Description copied from class: TreeStatistics
Signature:
getAnnotatedLengthsByHemisphere(int) -> MapParameters:
arg0 (
int): - the ontological depth of the compartments to be considered
Returns: (
Dict[str, Any]) the map containing the brain compartments as keys, and cable lengths per hemisphere as values.
- getAnnotations()#
Description copied from class: TreeStatistics
Signature:
getAnnotations() -> SetReturns:
Set[Any]
- getAvgBranchLength()#
Signature:
getAvgBranchLength() -> doubleReturns:
float
- getAvgContraction()#
Signature:
getAvgContraction() -> doubleReturns:
float
- getAvgFractalDimension()#
Signature:
getAvgFractalDimension() -> doubleReturns:
float
- getAvgFragmentation()#
Signature:
getAvgFragmentation() -> doubleReturns:
float
- getAvgPartitionAsymmetry()#
Signature:
getAvgPartitionAsymmetry() -> doubleReturns:
float
- getAvgRemoteBifAngle()#
Signature:
getAvgRemoteBifAngle() -> doubleReturns:
float
- getBoxPlot(arg0)#
Signature:
getBoxPlot(String) -> SNTChartParameters:
arg0 (
str)
Returns:
SNTChart
- getBranchPoints()#
Description copied from class: TreeStatistics
Signature:
getBranchPoints() -> SetReturns: (
Set[Any]) the branch points positions
- getBranches()#
Description copied from class: TreeStatistics
Signature:
getBranches() -> ListReturns: (
List[Any]) the list of branches as Path objects.
- getCableLength()#
Description copied from class: TreeStatistics
Signature:
getCableLength() -> doubleReturns:
float
- getCableLengthNorm(arg0)#
Signature:
getCableLengthNorm(BrainAnnotation) -> doubleParameters:
arg0 (
Any)
Returns:
float
- getCancelReason()#
Signature:
getCancelReason() -> StringReturns:
str
- getContext()#
Signature:
getContext() -> ContextReturns:
Any
- getConvexAnalyzer()#
Signature:
getConvexAnalyzer() -> ConvexHullAnalyzerReturns:
Any
- getConvexHullMetric(arg0)#
Signature:
getConvexHullMetric(String) -> doubleParameters:
arg0 (
str)
Returns:
float
- getDepth()#
Signature:
getDepth() -> doubleReturns:
float
- getDescriptiveStats(arg0)#
Description copied from class: TreeStatistics
Signature:
getDescriptiveStats(String) -> DescriptiveStatisticsParameters:
arg0 (
str): - the measurement (TreeStatistics.N_NODES, TreeStatistics.NODE_RADIUS, etc.)
Returns: (
Any) the DescriptiveStatistics object.
- getFlowPlot(arg0, arg1, arg2, arg3, arg4)#
Description copied from class: TreeStatistics
Signature:
getFlowPlot(String, Collection, String, double, boolean) -> SNTChartParameters:
arg0 (
str)arg1 (
List[Any])arg2 (
str)arg3 (
float)arg4 (
bool)
Returns:
SNTChart
- getFractalDimension()#
Signature:
getFractalDimension() -> ListReturns:
List[Any]
- getGroup()#
Gets the collection of Trees being analyzed.
Signature:
getGroup() -> CollectionReturns: (
List[Any]) the Tree group
- getHeight()#
Signature:
getHeight() -> doubleReturns:
float
- getHighestPathOrder()#
Signature:
getHighestPathOrder() -> intReturns:
int
- getHistogram(arg0)#
Description copied from class: TreeStatistics
Signature:
getHistogram(String) -> SNTChartParameters:
arg0 (
str): - the measurement (TreeStatistics.N_NODES, TreeStatistics.NODE_RADIUS, etc.)
Returns: (
SNTChart) the frame holding the histogram
- getInnerBranches()#
Description copied from class: TreeStatistics
Signature:
getInnerBranches() -> ListReturns: (
List[Any]) the list containing the “inner” branches. Note that these branches (Path segments) will not carry any connectivity information.
- getInnerLength()#
Signature:
getInnerLength() -> doubleReturns:
float
- getMetric(arg0)#
Signature:
getMetric(String) -> NumberParameters:
arg0 (
str)
Returns:
Union[int, float]
NeuroMorphoLoader#
- getReader(arg0)#
Gets the SWC data (‘CNG version’) associated with the specified cell ID as a reader
Signature:
getReader(String) -> BufferedReaderParameters:
arg0 (
str): - the ID of the cell to be retrieved
Returns: (
Any) the character stream containing the data, or null if cell ID was not found or could not be retrieved
- getReconstructionURL(arg0)#
Gets the URL of the SWC file (‘CNG version’) associated with the specified cell ID.
Signature:
getReconstructionURL(String) -> StringParameters:
arg0 (
str): - the ID of the cell to be retrieved
Returns: (
str) the reconstruction URL, or null if cell ID was not found or could not be retrieved
- getTree(arg0)#
Gets the collection of Paths for the specified cell ID
Signature:
getTree(String) -> TreeParameters:
arg0 (
str): - the ID of the cell to be retrieved
Returns: (
Tree) the data (‘CNG version’) for the specified cell as a Tree, or null if data could not be retrieved
- isDatabaseAvailable()#
Checks whether a connection to the NeuroMorpho database can be established.
Signature:
isDatabaseAvailable() -> booleanReturns: (
bool) true, if an HHTP connection could be established, false otherwise
NodeColorMapper#
- getAvailableLuts()#
Gets the available LUTs.
Signature:
getAvailableLuts() -> SetReturns: (
Set[Any]) the set of keys, corresponding to the set of LUTs available
- getColor(arg0)#
Signature:
getColor(double) -> ColorParameters:
arg0 (
float)
Returns:
Any
- getColorRGB(arg0)#
Signature:
getColorRGB(double) -> ColorRGBParameters:
arg0 (
float)
Returns:
Any
- getColorTable(arg0)#
Description copied from class: ColorMapper
Signature:
getColorTable(String) -> ColorTableParameters:
arg0 (
str)
Returns:
Any
- getMinMax()#
Description copied from class: ColorMapper
Signature:
getMinMax() -> [DReturns: (
Any) a two-element array with current {minimum, maximum} mapping bounds
- getNaNColor()#
Signature:
getNaNColor() -> ColorReturns:
Any
- getNodes()#
Gets the collection of nodes being mapped.
Signature:
getNodes() -> CollectionReturns: (
List[Any]) the collection of SNTPoint nodes
- getNodesByColor()#
Signature:
getNodesByColor() -> MapReturns:
Dict[str, Any]
- isIntegerScale()#
Signature:
isIntegerScale() -> booleanReturns:
bool
NodeProfiler#
- cancel(arg0)#
Signature:
cancel(String) -> voidParameters:
arg0 (
str)
Returns:
None
- getCancelReason()#
Signature:
getCancelReason() -> StringReturns:
str
- getContext()#
Signature:
getContext() -> ContextReturns:
Any
- getDelegateObject()#
Signature:
getDelegateObject() -> ObjectReturns:
Any
- getInfo()#
Signature:
getInfo() -> DynamicCommandInfoReturns:
Any
- getInput(arg0)#
Signature:
getInput(String) -> ObjectParameters:
arg0 (
str)
Returns:
Any
- getInputs()#
Signature:
getInputs() -> MapReturns:
Dict[str, Any]
- getOutput(arg0)#
Signature:
getOutput(String) -> ObjectParameters:
arg0 (
str)
Returns:
Any
- getOutputs()#
Signature:
getOutputs() -> MapReturns:
Dict[str, Any]
- getPlot(arg0, arg1)#
Signature:
getPlot(Path, int) -> PlotParameters:
arg0 (
Path)arg1 (
int)
Returns:
Any
- getTable(arg0, arg1)#
Signature:
getTable(Path, int) -> SNTTableParameters:
arg0 (
Path)arg1 (
int)
Returns:
SNTTable
- getValues(arg0, arg1, arg2)#
Gets the profile for the specified path as a map of lists of pixel intensities (profile indices as keys)
Signature:
getValues(Path, int, int) -> SortedMapParameters:
arg0 (
Path)arg1 (
int)arg2 (
int)
Returns:
Any
- isCanceled()#
Signature:
isCanceled() -> booleanReturns:
bool
- isInputResolved(arg0)#
Signature:
isInputResolved(String) -> booleanParameters:
arg0 (
str)
Returns:
bool
- isOutputResolved(arg0)#
Signature:
isOutputResolved(String) -> booleanParameters:
arg0 (
str)
Returns:
bool
- isResolved(arg0)#
Signature:
isResolved(String) -> booleanParameters:
arg0 (
str)
Returns:
bool
NodeStatistics#
- getAnnotatedFrequencies()#
Retrieves the count frequencies across brain compartment.
Signature:
getAnnotatedFrequencies() -> MapReturns:
Dict[str, Any]
- getAnnotatedFrequenciesByHemisphere(arg0, arg1)#
Signature:
getAnnotatedFrequenciesByHemisphere(int, Tree) -> MapParameters:
arg0 (
int)arg1 (
Tree)
Returns:
Dict[str, Any]
- getAnnotatedFrequencyHistogram(arg0, arg1, arg2)#
Retrieves the histogram of count frequencies across brain areas of the specified ontology level across the specified hemisphere.
Signature:
getAnnotatedFrequencyHistogram(int, String, Tree) -> SNTChartParameters:
arg0 (
int): - the ontological depth of the compartments to be consideredarg1 (
str)arg2 (
Tree)
Returns: (
SNTChart) the annotated frequencies histogram
- getAnnotatedHistogram()#
Retrieves the histogram of count frequencies across brain areas of the specified ontology level.
Signature:
getAnnotatedHistogram() -> SNTChartReturns:
SNTChart
- getAnnotatedNodes(arg0)#
Splits the nodes being analyzed into groups sharing the same brain annotation.
Signature:
getAnnotatedNodes(int) -> MapParameters:
arg0 (
int): - the ontological depth of the compartments to be considered
Returns: (
Dict[str, Any]) the map containing the brain annotations as keys, and list of nodes as values.
- getDescriptiveStatistics(arg0)#
Computes the DescriptiveStatistics for the specified measurement.
Signature:
getDescriptiveStatistics(String) -> DescriptiveStatisticsParameters:
arg0 (
str): - the measurement (X_COORDINATES, Y_COORDINATES, etc.)
Returns: (
Any) the DescriptiveStatistics object.
- getHistogram(arg0)#
Gets the relative frequencies histogram for a univariate measurement. The number of bins is determined using the Freedman-Diaconis rule.
Signature:
getHistogram(String) -> SNTChartParameters:
arg0 (
str): - the measurement (X_COORDINATES, RADIUS, etc.)
Returns: (
SNTChart) the frame holding the histogram
Path#
- getAngle(arg0)#
Computes the angle between the specified node and its two flanking neighbors.
With B being the specified node, A its previous neighbor, and C is next neighbor, computes the angle between the vectors AB, and BC.
Signature:
getAngle(int) -> doubleParameters:
arg0 (
int)Returns: (
float) the angle in degrees (0-360 range) or Double.NaN if specified node does not have sufficient neighbors
- getApproximatedSurface()#
Returns an estimated surface area of this path, treating each inter-node segment as a frustum.
Signature:
getApproximatedSurface() -> doubleReturns: (
float) the approximate surface area (in physical units), or 0 if this Path has no radii
- getApproximatedVolume()#
Returns an estimated volume of this path.
The most accurate volume of each path segment would be the volume of a convex hull of two arbitrarily oriented and sized circles in space. This is tough to work out analytically, and this precision isn’t really warranted given the errors introduced in the fitting process, the tracing in the first place, etc. So, this method produces an approximate volume assuming that the volume of each of these parts is that of a truncated cone (Frustum) , with circles of the same size (i.e., as if the circles had simply been reoriented to be parallel and have a common normal vector)
For more accurate measurements of the volumes of a neuron, you should use the filling interface.
Signature:
getApproximatedVolume() -> doubleReturns: (
float) the approximate fitted volume (in physical units), or NaN if this Path has no radii
- getBranchPoint()#
Gets the branch point (junction) where this path starts, i.e., connects to its parent path.
Signature:
getBranchPoint() -> PointInImageReturns: (
PointInImage) the start junction point, or null if this is a primary path
- getBranchPointIndex()#
Gets the index of the branch point in the parent path.
Signature:
getBranchPointIndex() -> intReturns: (
int) the branch point index, or -1 if this is a primary path
- getBranchPoints()#
This is a version of findJunctions() ensuring that a junction node is only retrieved once even if multiple child paths are associated with it.
Signature:
getBranchPoints() -> SetReturns: (
Set[Any]) the junction nodes
- getCalibration()#
Gets the spatial calibration of this Path.
Signature:
getCalibration() -> CalibrationReturns: (
Any) the calibration details associated with this Path
- getCanvasOffset()#
Returns the translation offset used to render this Path in a TracerCanvas.
Signature:
getCanvasOffset() -> PointInCanvasReturns: (
Any) the rendering offset (in pixel coordinates)
- getChannel()#
Gets the hyperstack channel associated with this Path.
Signature:
getChannel() -> intReturns: (
int) the channel position of this path (1-based index). Note that if the channel associated with a path is not known, it is assumed to be 1;
- getChildren()#
Gets the list of child paths that branch from this path.
Returns the collection of paths that have this path as their parent. The returned list is the actual internal list, so modifications to it will affect the path’s structure.
Signature:
getChildren() -> ListReturns: (
List[Any]) the List of child paths. May be empty if this path has no children, but never null.
- getColor()#
Gets the color of this Path
Signature:
getColor() -> ColorReturns: (
Any) the color, or null if no color has been assigned to this Path
- getColorRGB()#
Gets the color of this Path
Signature:
getColorRGB() -> ColorRGBReturns: (
Any) the color, or null if no color has been assigned to this Path
- getContraction()#
Returns the ratio between the “Euclidean distance” of this path and its length. The Euclidean distance of this path is defined as the distance between this Path’s start and end point.
Signature:
getContraction() -> doubleReturns: (
float) the Contraction of this Path, or NaN if this Path has no length
- getEditableNodeIndex()#
Gets the position of the node tagged as ‘editable’, if any.
Signature:
getEditableNodeIndex() -> intReturns: (
int) the index of the point currently tagged as editable, or -1 if no such point exists
- getExtensionAngle3D(arg0)#
Returns a single angle representing the 3D extension direction. This is the angle between the path’s direction vector and a reference vector.
Signature:
getExtensionAngle3D(boolean) -> doubleParameters:
arg0 (
bool): - the reference vector to measure angle from (e.g., new Vector3d(0, 0, 1) for vertical reference, or new Vector3d(1, 0, 0) for horizontal)
Returns: (
float) the acute angle in degrees (0-180°), or Double.NaN if path has only one point
- getExtensionAngleFromHorizontal()#
Returns the angle between the path’s 3D direction and the horizontal axis.
Signature:
getExtensionAngleFromHorizontal() -> doubleReturns: (
float) angle from horizontal in degrees (09° = vertical, 0° = horizontal), or Double.NaN if path has only one point.
- getExtensionAngleFromVertical()#
Returns the angle between the path’s 3D direction and the vertical axis.
Signature:
getExtensionAngleFromVertical() -> doubleReturns: (
float) angle from vertical in degrees (0° = vertical, 90° = horizontal), or Double.NaN if path has only one point, or 90° if path is 2D
- getExtensionAngleXY()#
Returns the overall extension angle of this path in the XY plane. The angle is obtained from the slope of a linear regression across all the path nodes.
Signature:
getExtensionAngleXY() -> doubleReturns: (
float) the overall ‘extension’ angle in degrees [0-360[ of this path in the XY plane.
- getExtensionAngleXZ()#
Returns the overall extension angle of this path in the XZ plane. The angle is obtained from the slope of a linear regression across all the path nodes.
Signature:
getExtensionAngleXZ() -> doubleReturns: (
float) the overall ‘extension’ angle in degrees [0-360[ in the XZ plane or NaN if path is 2D.
- getExtensionAngleZY()#
Returns the overall extension angle of this path in the ZY plane. The angle is obtained from the slope of a linear regression across all the path nodes.
Signature:
getExtensionAngleZY() -> doubleReturns: (
float) the overall ‘extension’ angle in degrees [0-360[ in the ZY plane or NaN if path is 2D.
- getExtensionAngles3D()#
Returns the complete 3D orientation of this path’s extension direction as spherical coordinates using navigation/compass convention.
This method provides both horizontal direction (azimuth) and vertical inclination (elevation) of the path’s overall extension direction.
Signature:
getExtensionAngles3D() -> [DReturns: (
Any) double array containing [azimuth, elevation] in degrees, where:
azimuth (index 0): Compass bearing in XY plane (0-360°) following navigation convention:
0° = North (negative Y direction in image coordinates) 90° = East (positive X direction) 180° = South (positive Y direction in image coordinates) 270° = West (negative X direction)
elevation (index 1): Vertical angle from XY plane (-90° to +90°):
0° = horizontal (parallel to XY plane) +90° = pointing straight up (positive Z direction) -90° = pointing straight down (negative Z direction)
Returns null if path has only one point or extension direction cannot be determined
- getExtensionDirection3D()#
Returns the 3D extension direction vector of this path using linear regression. The vector represents the overall direction from start to end of the path, fitted through all its nodes.
Signature:
getExtensionDirection3D() -> Vector3dReturns: (
Any) the normalized Vector3d (length of 1) representing the extension direction, or null if path has only one point
- getFitted()#
Gets the fitted version (‘flavor’) of this Path.
Signature:
getFitted() -> PathReturns: (
Path) the fitted version, or null if this Path has not been fitted
- getFractalDimension()#
Gets the fractal dimension of this path.
Signature:
getFractalDimension() -> doubleReturns: (
float) the fractal dimension of this path or Double.NaN if this path has less than 5 nodes
- getFrame()#
Gets the hyperstack frame position associated with this Path.
Signature:
getFrame() -> intReturns: (
int) the frame position of this path (1-based index). Note that if the frame associated with a path is not known, it is assumed to be 1;
PathAndFillManager#
- getBoundingBox(arg0)#
Returns the BoundingBox enclosing all nodes of all existing Paths.
Signature:
getBoundingBox(boolean) -> BoundingBoxParameters:
arg0 (
bool): - If true, BoundingBox dimensions will be computed for all the existing Paths. If false, the last computed BoundingBox will be returned. Also, if BoundingBox is not scaled, its spacing will be computed from the smallest inter-node distance of an arbitrary ‘ large’ Path. Computations of Path boundaries typically occur during import operations.
Returns: (
BoundingBox) the BoundingBox enclosing existing nodes, or an ‘empty’ BoundingBox if no computation of boundaries has not yet occurred. Output is never null.
- getCorrespondences(arg0, arg1)#
For each point in this PathAndFillManager, find the corresponding point on the other one. If there’s no corresponding one, include a null instead. *
Signature:
getCorrespondences(PathAndFillManager, double) -> ListParameters:
arg0 (
Any): - the other PathAndFillManager holding the corresponding Pathsarg1 (
float)
Returns: (
List[Any]) the cloud of NearPoint correspondences
- getLoadedFills()#
Signature:
getLoadedFills() -> MapReturns:
Dict[str, Any]
- getPath(arg0)#
Returns the Path at the specified position in the PathAndFillManager list.
Signature:
getPath(int) -> PathParameters:
arg0 (
int): - the index of the Path
Returns: (
Path) the Path at the specified index
- getPathFromID(arg0)#
Returns the Path with the specified id.
Signature:
getPathFromID(int) -> PathParameters:
arg0 (
int): - the id of the Path to be retrieved
Returns: (
Path) the Path with the specified id, or null if id was not found.
- getPathFromName(arg0, arg1)#
Returns the Path with the specified name.
Signature:
getPathFromName(String, boolean) -> PathParameters:
arg0 (
str): - the name of the Path to be retrievedarg1 (
bool)
Returns: (
Path) the Path with the specified name, or null if name was not found.
- getPaths()#
Returns all the paths.
Signature:
getPaths() -> ArrayListReturns: (
List[Any]) the paths associated with this PathAndFillManager instance.
- getPathsFiltered()#
Returns the ‘de facto’ Paths.
Signature:
getPathsFiltered() -> ListReturns: (
List[Any]) the paths associated with this PathAndFillManager instance excluding those that are null or fitted version of o paths.
- getPathsInROI(arg0)#
Signature:
getPathsInROI(Roi) -> CollectionParameters:
arg0 (
Any)
Returns:
List[Any]
- getPathsStructured(arg0)#
Signature:
getPathsStructured(Collection) -> Path;Parameters:
arg0 (
List[Any])
Returns:
Any
- getPlugin()#
Gets the SNT instance.
Signature:
getPlugin() -> SNTReturns: (
Any) the SNT instance associated with this PathManager (if any)
- getSWCFor(arg0)#
Converts a collection of connected Path objects into SWC points for export.
SWC is the standardized format used for neuromorphological data exchange. The conversion process:
Validates that paths form a proper tree structure with exactly one primary path (tree’s root) Uses breadth-first traversal to ensure correct parent-child relationships Assigns sequential SWC IDs starting from 1 Establishes proper parent references based on path connectivity Preserves path properties including SWC type, color, annotations, and custom tags
Path Requirements:
Must contain exactly one primary path (root of the tree) All non-primary paths must have valid parent relationships Paths must form a connected tree structure (no disconnected components) Empty paths (size == 0) are automatically skipped
Signature:
getSWCFor(Collection) -> ListParameters:
arg0 (
List[Any]): - the collection of Path objects to convert. Must contain exactly one primary path and form a connected tree structure. Empty paths are automatically skipped. Cannot be null or empty.Returns: (
List[Any]) a list of SWCPoint objects representing the neuronal structure in SWC format. Points are ordered by their sequential SWC IDs, with proper parent-child relationships established. The list is never null but may be empty if all input paths are empty.
- getSelectedPaths()#
Gets all paths selected in the GUI
Signature:
getSelectedPaths() -> SetReturns: (
Set[Any]) the collection of selected paths
PathFitter#
- getPath()#
Signature:
getPath() -> PathReturns: (
Path) the path being fitted
- getSucceeded()#
Checks whether the fit succeeded.
Signature:
getSucceeded() -> booleanReturns: (
bool) true if fit was successful, false otherwise
PathProfiler#
- cancel(arg0)#
Signature:
cancel(String) -> voidParameters:
arg0 (
str)
Returns:
None
- getCancelReason()#
Signature:
getCancelReason() -> StringReturns:
str
- getContext()#
Signature:
getContext() -> ContextReturns:
Any
- getDelegateObject()#
Signature:
getDelegateObject() -> ObjectReturns:
Any
- getInfo()#
Signature:
getInfo() -> DynamicCommandInfoReturns:
Any
- getInput(arg0)#
Signature:
getInput(String) -> ObjectParameters:
arg0 (
str)
Returns:
Any
- getInputs()#
Signature:
getInputs() -> MapReturns:
Dict[str, Any]
- getOutput(arg0)#
Signature:
getOutput(String) -> ObjectParameters:
arg0 (
str)
Returns:
Any
- getOutputs()#
Signature:
getOutputs() -> MapReturns:
Dict[str, Any]
- getPlot()#
Gets the plot profile as an ImageJ plot (all channels included).
Signature:
getPlot() -> PlotReturns: (
Any) the plot
- getValues(arg0)#
Gets the profile for the specified path as a map of lists, with distances (or indices) stored under X_VALUES (“x-values”) and intensities under Y_VALUES (“y-values”).
Signature:
getValues(Path) -> MapParameters:
arg0 (
Path): - the path to be profiled
Returns: (
Dict[str, Any]) the profile map
- getXYPlot(arg0)#
Gets the plot profile as an PlotService plot. It is recommended to call DynamicCommand.setContext(org.scijava.Context) beforehand.
Signature:
getXYPlot(int) -> XYPlotParameters:
arg0 (
int): - the channel to be parsed (base-0 index)
Returns: (
Any) the plot
- isCanceled()#
Signature:
isCanceled() -> booleanReturns:
bool
- isInputResolved(arg0)#
Signature:
isInputResolved(String) -> booleanParameters:
arg0 (
str)
Returns:
bool
- isOutputResolved(arg0)#
Signature:
isOutputResolved(String) -> booleanParameters:
arg0 (
str)
Returns:
bool
- isResolved(arg0)#
Signature:
isResolved(String) -> booleanParameters:
arg0 (
str)
Returns:
bool
PathResult#
- getErrorMessage()#
Signature:
getErrorMessage() -> StringReturns:
str
- getNumberOfPoints()#
Signature:
getNumberOfPoints() -> intReturns:
int
- getPath()#
Signature:
getPath() -> [FReturns:
Any
- getSuccess()#
Signature:
getSuccess() -> booleanReturns:
bool
PathStatistics#
- cancel(arg0)#
Measures specified metrics for each individual path and creates a detailed table.
This method generates a comprehensive measurement table where each row represents an individual path and columns contain the requested morphometric measurements. This is particularly useful for comparative analysis of path properties or for exporting detailed morphometric data.
The generated table includes:
Path identification information (name, SWC type) All requested morphometric measurements Optional summary statistics (if summarize is true)
Signature:
cancel(String) -> voidParameters:
arg0 (
str): - the collection of metric names to measure for each path. If null or empty, a default “safe” set of metrics is usedReturns:
None
- getAnnotatedLength(arg0, arg1)#
Signature:
getAnnotatedLength(int, String) -> MapParameters:
arg0 (
int)arg1 (
str)
Returns:
Dict[str, Any]
- getAnnotatedLengthHistogram(arg0)#
Signature:
getAnnotatedLengthHistogram(int) -> SNTChartParameters:
arg0 (
int)
Returns:
SNTChart
- getAnnotatedLengthsByHemisphere(arg0)#
Signature:
getAnnotatedLengthsByHemisphere(int) -> MapParameters:
arg0 (
int)
Returns:
Dict[str, Any]
- getAnnotations(arg0)#
Signature:
getAnnotations(int) -> SetParameters:
arg0 (
int)
Returns:
Set[Any]
- getAvgBranchLength()#
Gets the total length of terminal branches.
Calculates the sum of lengths of all terminal branches as defined by getTerminalBranches().
Signature:
getAvgBranchLength() -> doubleReturns: (
float) the total length of terminal branches
- getAvgContraction()#
Signature:
getAvgContraction() -> doubleReturns:
float
- getAvgFractalDimension()#
Signature:
getAvgFractalDimension() -> doubleReturns:
float
- getAvgFragmentation()#
Signature:
getAvgFragmentation() -> doubleReturns:
float
- getAvgPartitionAsymmetry()#
Signature:
getAvgPartitionAsymmetry() -> doubleReturns:
float
- getAvgRemoteBifAngle()#
Signature:
getAvgRemoteBifAngle() -> doubleReturns:
float
- getBranchPoints(arg0, arg1)#
Signature:
getBranchPoints(BrainAnnotation, boolean) -> SetParameters:
arg0 (
Any)arg1 (
bool)
Returns:
Set[Any]
- getBranches()#
Gets all the paths being analyzed as branches.
In PathStatistics, all paths are considered as branches since each path represents a distinct structural element.
Signature:
getBranches() -> ListReturns: (
List[Any]) the list of all paths
- getCableLength(arg0)#
Signature:
getCableLength(BrainAnnotation) -> doubleParameters:
arg0 (
Any)
Returns:
float
- getCableLengthNorm(arg0)#
Signature:
getCableLengthNorm(BrainAnnotation) -> doubleParameters:
arg0 (
Any)
Returns:
float
- getCancelReason()#
Signature:
getCancelReason() -> StringReturns:
str
- getContext()#
Signature:
getContext() -> ContextReturns:
Any
- getConvexAnalyzer()#
Signature:
getConvexAnalyzer() -> ConvexHullAnalyzerReturns:
Any
- getConvexHullMetric(arg0)#
Signature:
getConvexHullMetric(String) -> doubleParameters:
arg0 (
str)
Returns:
float
- getDepth()#
Signature:
getDepth() -> doubleReturns:
float
- getDescriptiveStats(arg0)#
Signature:
getDescriptiveStats(String) -> DescriptiveStatisticsParameters:
arg0 (
str)
Returns:
Any
- getFlowPlot(arg0, arg1)#
Signature:
getFlowPlot(String, Collection) -> SNTChartParameters:
arg0 (
str)arg1 (
List[Any])
Returns:
SNTChart
- getFractalDimension()#
Signature:
getFractalDimension() -> ListReturns:
List[Any]
- getHeight()#
Signature:
getHeight() -> doubleReturns:
float
- getHighestPathOrder()#
Gets the number of branches (paths) being analyzed.
Returns the total count of paths in this PathStatistics instance.
Signature:
getHighestPathOrder() -> intReturns: (
int) the number of paths
- getHistogram(arg0)#
Signature:
getHistogram(String) -> SNTChartParameters:
arg0 (
str)
Returns:
SNTChart
- getInnerBranches()#
Gets the inner branches from the analyzed paths.
In PathStatistics, inner branches are equivalent to primary branches.
Signature:
getInnerBranches() -> ListReturns: (
List[Any]) the list of inner branches (same as primary branches)
- getInnerLength()#
Gets the total length of inner branches.
In PathStatistics, this returns the same value as getPrimaryLength().
Signature:
getInnerLength() -> doubleReturns: (
float) the total length of inner branches
- getMetric(arg0, arg1)#
Gets a specific metric value for an individual path.
This method provides direct access to morphometric properties of individual paths, including geometric measurements, connectivity information, and structural characteristics. It supports all standard path metrics plus PathStatistics-specific measurements.
Supported metrics include:
Geometric: length, volume, surface area, mean radius Structural: number of nodes, branch points, children Angular: extension angles in XY, XZ, ZY planes Morphological: contraction, fractal dimension, spine density Metadata: path ID, channel, frame, order
Signature:
getMetric(String, Path) -> NumberParameters:
arg0 (
str)arg1 (
Path)Returns:
Union[int, float]
PersistenceAnalyzer#
- getBarcode(arg0)#
Gets the persistence barcode for the specified filter function.
The barcode is a simplified representation of the persistence diagram that contains only the persistence values (death - birth) for each topological feature, akin to a one-dimensional summary of branch significance.
Interpretation:
High values: Morphologically significant branches Low values: Minor branches or potential noise Distribution: The spread of values indicates branching complexity
Special Properties:
All values are non-negative (|death - birth|) For geodesic descriptor: sum of all values equals total cable length Number of values equals number of tips in the tree
Example Usage: ``` List<Double> barcode = analyzer.getBarcode(“geodesic”);
// Find most significant branches barcode.sort(Collections.reverseOrder()); System.out.println(“Top 5 most persistent branches:”); for (int i = 0; i < Math.min(5, barcode.size()); i++) {
System.out.println(“Branch “ + (i+1) + “: “ + barcode.get(i));
}#
Signature:
getBarcode(String) -> ListParameters:
arg0 (
str): - A descriptor for the filter function as per getDescriptors() (case-insensitive). Supported values: “geodesic”, “radial”, “centrifugal”, “path order”, “x”, “y”, “z”.Returns: (
List[Any]) the barcode as a list of persistence values (death - birth). Each value represents the “lifespan” or significance of a topological feature (branch).Example:
List<Double> barcode = analyzer.getBarcode("geodesic"); // Find most significant branches barcode.sort(Collections.reverseOrder()); System.out.println("Top 5 most persistent branches:"); for (int i = 0; i < Math.min(5, barcode.size()); i++) { System.out.println("Branch " + (i+1) + ": " + barcode.get(i)); }
- getDiagram(arg0)#
Gets the persistence diagram for the specified filter function.
The persistence diagram is the core output of the analysis, consisting of birth-death pairs that represent the “lifespan” of topological features (branches) during the filtration process. Each point in the diagram corresponds to a branch in the neuronal tree.
Structure: Returns a list where each inner list contains exactly two values:
Birth [0]: The filter value where the branch appears (branch point) Death [1]: The filter value where the branch disappears (tip)
Properties:
Number of points = Number of tips in the tree All values are non-negative For geodesic descriptor: sum of all (death-birth) = total cable length High persistence (death-birth) indicates morphologically significant branches
Example usage: ``` List<List<Double>> diagram = analyzer.getDiagram(“geodesic”); for (List<Double> point : diagram) {
double birth = point.get(0); double death = point.get(1); double persistence = death - birth; System.out.println(“Branch: persistence = “ + persistence);
}#
Signature:
getDiagram(String) -> ListParameters:
arg0 (
str): - A descriptor for the filter function as per getDescriptors() (case-insensitive). Supported values: “geodesic”, “radial”, “centrifugal”, “path order”, “x”, “y”, “z”. Alternative names like “reverse strahler” for “centrifugal” are also accepted.Returns: (
List[Any]) the persistence diagram as a list of [birth, death] pairs. Each inner list contains exactly two Double values representing the birth and death of a topological feature.Example:
List<List<Double>> diagram = analyzer.getDiagram("geodesic"); for (List<Double> point : diagram) { double birth = point.get(0); double death = point.get(1); double persistence = death - birth; System.out.println("Branch: persistence = " + persistence); }
- getDiagramNodes(arg0)#
Gets the tree nodes associated with each point in the persistence diagram.
This method returns the actual SWCPoint nodes from the neuronal tree that correspond to each birth-death pair in the persistence diagram. This allows you to map topological features back to specific locations in the original morphology.
Structure: Returns a list where each inner list contains exactly two nodes:
Birth Node [0]: The branch point where the topological feature appears Death Node [1]: The tip node where the topological feature disappears
Correspondence: The order of node pairs matches the order of birth-death pairs returned by getDiagram(String), allowing direct correlation between topological features and their spatial locations.
Example Usage: ``` List<List<Double>> diagram = analyzer.getDiagram(“geodesic”); List<List<SWCPoint>> nodes = analyzer.getDiagramNodes(“geodesic”);
- for (int i = 0; i < diagram.size(); i++) {
List<Double> birthDeath = diagram.get(i); List<SWCPoint> nodesPair = nodes.get(i);
double persistence = birthDeath.get(1) - birthDeath.get(0); SWCPoint branchPoint = nodesPair.get(0); SWCPoint tipPoint = nodesPair.get(1);
- System.out.printf(“Branch with persistence %.2f: from (%.1f,%.1f,%.1f) to (%.1f,%.1f,%.1f)%n”,
persistence, branchPoint.getX(), branchPoint.getY(), branchPoint.getZ(), tipPoint.getX(), tipPoint.getY(), tipPoint.getZ());
}#
Signature:
getDiagramNodes(String) -> ListParameters:
arg0 (
str): - A descriptor for the filter function as per getDescriptors() (case-insensitive). Supported values: “geodesic”, “radial”, “centrifugal”, “path order”, “x”, “y”, “z”.Returns: (
List[Any]) the persistence diagram nodes as a list of [birth_node, death_node] pairs. Each inner list contains exactly two SWCPoint objects representing the spatial locations of the topological feature.Example:
List<List<Double>> diagram = analyzer.getDiagram("geodesic"); List<List<SWCPoint>> nodes = analyzer.getDiagramNodes("geodesic"); for (int i = 0; i < diagram.size(); i++) { List<Double> birthDeath = diagram.get(i); List<SWCPoint> nodesPair = nodes.get(i); double persistence = birthDeath.get(1) - birthDeath.get(0); SWCPoint branchPoint = nodesPair.get(0); SWCPoint tipPoint = nodesPair.get(1); System.out.printf("Branch with persistence %.2f: from (%.1f,%.1f,%.1f) to (%.1f,%.1f,%.1f)%n", persistence, branchPoint.getX(), branchPoint.getY(), branchPoint.getZ(), tipPoint.getX(), tipPoint.getY(), tipPoint.getZ()); }
- getLandscape(arg0, arg1, arg2)#
Gets the persistence landscape as a vectorized representation.
Persistence landscapes transform persistence diagrams into a vector space representation that The landscape is a collection of piecewise-linear functions that capture the “shape” of the persistence diagram in a stable, vectorized format.
Mathematical Background: Each point (birth, death) in the persistence diagram contributes a “tent” function to the landscape. The k-th landscape function at any point is the k-th largest value among all tent functions at that point. This creates a stable, multi-resolution representation of the topological features.
Output Structure: Returns a 1D array of length numLandscapes × resolution where the first resolution values represent the first landscape function, the next resolution values represent the second landscape function, and so on.
Signature:
getLandscape(String, int, int) -> [DParameters:
arg0 (
str): - A descriptor for the filter function as per getDescriptors() (case-insensitive). Supported values: “geodesic”, “radial”, “centrifugal”, “path order”, “x”, “y”, “z”.arg1 (
int)arg2 (
int)Returns: (
Any) the persistence landscape as a 1D array of length numLandscapes × resolution. All values are non-negative and scaled by √2 for proper L² normalization.
PointInImage#
- getAnnotation()#
Signature:
getAnnotation() -> BrainAnnotationReturns: (
Any) the neuropil annotation assigned to this point
- getCoordinateOnAxis(arg0)#
Gets the coordinate along the specified axis.
Signature:
getCoordinateOnAxis(int) -> doubleParameters:
arg0 (
int): - the axis. Either Tree.X_AXIS, Tree.Y_AXIS, or Tree.Z_AXIS
Returns: (
float) the coordinate on the specified axis
- getHemisphere()#
Signature:
getHemisphere() -> charReturns:
str
- getPath()#
Returns the Path associated with this node (if any)
Signature:
getPath() -> PathReturns: (
Path) the path associated with this node or null if setPath(Path) has not been called.
- getUnscaledPoint(arg0)#
Converts the coordinates of this point into pixel units if this point is associated with a Path.
Signature:
getUnscaledPoint(int) -> PointInCanvasParameters:
arg0 (
int): - MultiDThreePanes.XY_PLANE, MultiDThreePanes.ZY_PLANE, etc.
Returns: (
Any) this point in pixel coordinates
- getX()#
Signature:
getX() -> doubleReturns: (
float) the X-coordinate of the point
- getY()#
Signature:
getY() -> doubleReturns: (
float) the Y-coordinate of the point
- getZ()#
Signature:
getZ() -> doubleReturns: (
float) the Z-coordinate of the point
- isReal()#
Signature:
isReal() -> booleanReturns:
bool
- isSameLocation(arg0)#
Signature:
isSameLocation(PointInImage) -> booleanParameters:
arg0 (
PointInImage)
Returns:
bool
RemoteSWCLoader#
- getReader(arg0)#
Signature:
getReader(String) -> BufferedReaderParameters:
arg0 (
str)
Returns:
Any
- getReconstructionURL(arg0)#
Signature:
getReconstructionURL(String) -> StringParameters:
arg0 (
str)
Returns:
str
- getTree(arg0)#
Signature:
getTree(String) -> TreeParameters:
arg0 (
str)
Returns:
Tree
- isDatabaseAvailable()#
Signature:
isDatabaseAvailable() -> booleanReturns:
bool
RootAngleAnalyzer#
- getAnalysis()#
Signature:
getAnalysis() -> MapReturns:
Dict[str, Any]
- getAngles()#
Signature:
getAngles() -> ListReturns: (
List[Any]) the list of root angles sorted from leaves to root (in degrees).
- getCramerVonMisesStatistic()#
Computes the Cramér-von Mises statistic between computed root angles and fitted von Mises distribution. A value of 0 indicates a perfect fit between the empirical distribution and the theoretical distribution, and larger values indicate a greater discrepancy between the two distributions.
Signature:
getCramerVonMisesStatistic() -> doubleReturns: (
float) the Cramér-von Mises statistic. Range: [0, ∞[ (dimensionless).
- getDensityPlot()#
Signature:
getDensityPlot() -> SNTChartReturns:
SNTChart
- getDescriptiveStatistics()#
Signature:
getDescriptiveStatistics() -> DescriptiveStatisticsReturns: (
Any) the descriptive statistics of the root angles (in degrees).
- getHistogram(arg0)#
Signature:
getHistogram(boolean) -> SNTChartParameters:
arg0 (
bool)
Returns:
SNTChart
- getTaggedGraph()#
Signature:
getTaggedGraph() -> DirectedWeightedGraphReturns: (
DirectedWeightedGraph) the graph of the tree being parsed. Vertices are tagged with the root angles (See: PointInImage.v).
- getTaggedTree(arg0, arg1, arg2)#
Returns a recolored copy of the analyzed tree with the root angles assigned to its node values.
Signature:
getTaggedTree(ColorTable, double, double) -> TreeParameters:
arg0 (
Any)arg1 (
float)arg2 (
float)
Returns:
Tree
SNT#
- cancelPath()#
Cancels the temporary path.
Signature:
cancelPath() -> voidReturns:
None
- cancelSearch(arg0)#
Signature:
cancelSearch(boolean) -> voidParameters:
arg0 (
bool)
Returns:
None
- cancelTemporary()#
Signature:
cancelTemporary() -> voidReturns:
None
- getAverageSeparation()#
Signature:
getAverageSeparation() -> doubleReturns:
float
- getChannel()#
Signature:
getChannel() -> intReturns:
int
- getContext()#
Signature:
getContext() -> ContextReturns:
Any
- getCostType()#
Signature:
getCostType() -> SNT$CostTypeReturns:
Any
- getCurrentPath()#
Signature:
getCurrentPath() -> PathReturns:
Path
- getDataset()#
Signature:
getDataset() -> DatasetReturns:
Any
- getDepth()#
Signature:
getDepth() -> intReturns:
int
- getDrawDiameters()#
Signature:
getDrawDiameters() -> booleanReturns:
bool
- getFilledBinaryImp()#
Signature:
getFilledBinaryImp() -> ImagePlusReturns:
Any
- getFilledDistanceImp()#
Signature:
getFilledDistanceImp() -> ImagePlusReturns:
Any
- getFilledImp()#
Signature:
getFilledImp() -> ImagePlusReturns:
Any
- getFilledLabelImp()#
Signature:
getFilledLabelImp() -> ImagePlusReturns:
Any
- getFilterType()#
Signature:
getFilterType() -> SNT$FilterTypeReturns:
Any
- getFrame()#
Signature:
getFrame() -> intReturns:
int
- getHeight()#
Signature:
getHeight() -> intReturns:
int
- getHeuristicType()#
Signature:
getHeuristicType() -> SNT$HeuristicTypeReturns:
Any
- getImagePlus()#
Gets the Image associated with a view pane.
Signature:
getImagePlus() -> ImagePlusReturns:
Any
- getLoadedData()#
Signature:
getLoadedData() -> RandomAccessibleIntervalReturns:
Any
- getLoadedDataAsImp()#
Retrieves the pixel data of the main image currently loaded in memory as an ImagePlus object. Returned image is always a single channel image.
Signature:
getLoadedDataAsImp() -> ImagePlusReturns: (
Any) the loaded data corresponding to the C,T position currently being traced, or null if no image data has been loaded into memory.
- getLoadedIterable()#
Signature:
getLoadedIterable() -> IterableIntervalReturns:
Any
SNTColor#
- isTypeDefined()#
Checks if an SWC type has been defined.
Signature:
isTypeDefined() -> booleanReturns: (
bool) true, if an SWC integer flag has been specified
SNTPoint#
- getAnnotation()#
Signature:
getAnnotation() -> BrainAnnotationReturns: (
Any) the neuropil annotation assigned to this point
- getCoordinateOnAxis(arg0)#
Signature:
getCoordinateOnAxis(int) -> doubleParameters:
arg0 (
int)
Returns: (
float) the coordinate on the specified axis
- getHemisphere()#
Signature:
getHemisphere() -> charReturns:
str
- getX()#
Signature:
getX() -> doubleReturns: (
float) the X-coordinate of the point
- getY()#
Signature:
getY() -> doubleReturns: (
float) the Y-coordinate of the point
- getZ()#
Signature:
getZ() -> doubleReturns: (
float) the Z-coordinate of the point
SNTService#
- getContext()#
Signature:
getContext() -> ContextReturns:
Any
- getIdentifier()#
Signature:
getIdentifier() -> StringReturns:
str
- getInfo()#
Signature:
getInfo() -> PluginInfoReturns:
Any
- getInstance()#
Returns a reference to the active SNT instance.
Signature:
getInstance() -> SNTReturns: (
Any) the SNT instance
- getLocation()#
Signature:
getLocation() -> StringReturns:
str
- getOrCreateSciViewSNT()#
Signature:
getOrCreateSciViewSNT() -> SciViewSNTReturns:
Any
- getPathAndFillManager()#
Returns the PathAndFillManager associated with the current SNT instance.
Signature:
getPathAndFillManager() -> PathAndFillManagerReturns: (
Any) the PathAndFillManager instance
- getPaths()#
Gets the paths currently listed in the Path Manager
Signature:
getPaths() -> ListReturns: (
List[Any]) all the listed paths, or null if the Path Manager is empty
- getPriority()#
Signature:
getPriority() -> doubleReturns:
float
- getRecViewer(arg0)#
Returns a reference to an opened Reconstruction Viewer (standalone instance). *
Signature:
getRecViewer(int) -> Viewer3DParameters:
arg0 (
int): - the unique numeric ID of the Reconstruction Viewer to be retrieved (as used by the “Script This Viewer” command, and typically displayed in the Viewer’s window title)
Returns: (
Viewer3D) The standalone Viewer3D instance, or null if id was not recognized
- getSciViewSNT()#
Signature:
getSciViewSNT() -> SciViewSNTReturns:
Any
- getSelectedPaths()#
Gets the paths currently selected in the Path Manager list.
Signature:
getSelectedPaths() -> CollectionReturns: (
List[Any]) the paths currently selected, or null if no selection exists
- getStatistics(arg0)#
Returns a TreeStatistics instance constructed from current Paths.
Signature:
getStatistics(boolean) -> TreeStatisticsParameters:
arg0 (
bool): - If true only selected paths will be considered
Returns: (
TreeStatistics) the TreeStatistics instance
- getTable()#
Returns a reference to SNT’s main table of measurements.
Signature:
getTable() -> SNTTableReturns: (
SNTTable) SNT measurements table (a DefaultGenericTable)
- getTree()#
Gets the collection of paths listed in the Path Manager as a Tree object.
Signature:
getTree() -> TreeReturns: (
Tree) the Tree holding the Path collection
- getTrees()#
Gets the collection of paths listed in the Path Manager as a Tree object.
Signature:
getTrees() -> CollectionReturns: (
List[Any]) the Tree holding the Path collection
- getUI()#
Returns a reference to SNT’s UI.
Signature:
getUI() -> SNTUIReturns: (
Any) the SNTUI window, or null if SNT is not running, or is running without GUI
- getVersion()#
Signature:
getVersion() -> StringReturns:
str
- isActive()#
Gets whether SNT is running.
Signature:
isActive() -> booleanReturns: (
bool) true if this SNTService is active, tied to the active instance of SNT
SNTTable#
- getColumnCount()#
Signature:
getColumnCount() -> intReturns:
int
- getColumnHeader(arg0)#
Signature:
getColumnHeader(int) -> StringParameters:
arg0 (
int)
Returns:
str
- getColumnIndex(arg0)#
Signature:
getColumnIndex(String) -> intParameters:
arg0 (
str)
Returns:
int
- getFirst()#
Signature:
getFirst() -> ObjectReturns:
Any
- getLast()#
Signature:
getLast() -> ObjectReturns:
Any
- getRowCount()#
Signature:
getRowCount() -> intReturns:
int
- getRowHeader(arg0)#
Signature:
getRowHeader(int) -> StringParameters:
arg0 (
int)
Returns:
str
- getRowIndex(arg0)#
Signature:
getRowIndex(String) -> intParameters:
arg0 (
str)
Returns:
int
- getSummaryRow()#
Signature:
getSummaryRow() -> intReturns:
int
SWCPoint#
- getAnnotation()#
Signature:
getAnnotation() -> BrainAnnotationReturns: (
Any) the neuropil annotation assigned to this point
- getColor()#
Gets the color of this point.
Signature:
getColor() -> ColorReturns: (
Any) the color
- getCoordinateOnAxis(arg0)#
Signature:
getCoordinateOnAxis(int) -> doubleParameters:
arg0 (
int)
Returns:
float
- getHemisphere()#
Signature:
getHemisphere() -> charReturns:
str
- getNextPoints()#
Returns the list holding the subsequent nodes in the reconstructed structure after this one.
Signature:
getNextPoints() -> ListReturns: (
List[Any]) the list of “next points”
- getPath()#
Signature:
getPath() -> PathReturns:
Path
- getTags()#
Gets the tags associated with this point.
Signature:
getTags() -> StringReturns: (
str) the tags string
- getUnscaledPoint(arg0)#
Signature:
getUnscaledPoint(int) -> PointInCanvasParameters:
arg0 (
int)
Returns:
Any
- getX()#
Signature:
getX() -> doubleReturns: (
float) the X-coordinate of the point
- getY()#
Signature:
getY() -> doubleReturns: (
float) the Y-coordinate of the point
- getZ()#
Signature:
getZ() -> doubleReturns: (
float) the Z-coordinate of the point
- isReal()#
Signature:
isReal() -> booleanReturns:
bool
- isSameLocation(arg0)#
Signature:
isSameLocation(PointInImage) -> booleanParameters:
arg0 (
PointInImage)
Returns:
bool
SciViewSNT#
- getSciView()#
Gets the SciView instance currently in use.
Signature:
getSciView() -> SciViewReturns: (
Any) the SciView instance. It is never null: A new instance is created if none has been specified
- getTreeAsSceneryNode(arg0)#
Gets the specified Tree as a Scenery Node.
Signature:
getTreeAsSceneryNode(Tree) -> NodeParameters:
arg0 (
Tree): - the tree previously added to SciView using addTree(Tree)
Returns: (
Any) the scenery Node
SearchNode#
- getX()#
Signature:
getX() -> intReturns:
int
- getY()#
Signature:
getY() -> intReturns:
int
- getZ()#
Signature:
getZ() -> intReturns:
int
SearchThread#
- getExitReason()#
Signature:
getExitReason() -> intReturns:
int
- getNodesAsImageFromGoal()#
Signature:
getNodesAsImageFromGoal() -> SearchImageStackReturns:
Any
- getNodesAsImageFromStart()#
Signature:
getNodesAsImageFromStart() -> SearchImageStackReturns:
Any
- getResult()#
Signature:
getResult() -> PathReturns:
Path
ShollAnalyzer#
- getLinearStats()#
Gets the LinearProfileStats associated with this analyzer. By default, it is set to determine the polynomial of ‘best-fit’ (2-20 degree range.)
Signature:
getLinearStats() -> LinearProfileStatsReturns: (
Any) the LinearProfileStats instance
- getMaximaRadii()#
Signature:
getMaximaRadii() -> ArrayListReturns:
List[Any]
- getNormStats()#
Gets the NormalizedProfileStats associated with this analyzer. By default it is set to determine the regression method of ‘best-fit’ (log-log or semi-log) using shell volume as normalizer (if Tree has a depth component) or shell area if Tree is 2D.
Signature:
getNormStats() -> NormalizedProfileStatsReturns: (
Any) the LinearProfileStats instance
- getSecondaryMaxima()#
Signature:
getSecondaryMaxima() -> ArrayListReturns:
List[Any]
- getSingleValueMetrics()#
Signature:
getSingleValueMetrics() -> MapReturns:
Dict[str, Any]
SkeletonConverter#
- getGraphs()#
Generates a list of DirectedWeightedGraph`s from the skeleton image. Each graph corresponds to one connected component of the graph returned by `SkeletonResult.getGraph().
Signature:
getGraphs() -> ListReturns: (
List[Any]) the list of skeletonized graphs
- getPruneMode()#
Gets the loop pruning strategy.
Signature:
getPruneMode() -> intReturns:
int
- getRootRoiStrategy()#
Gets the current root ROI strategy.
Returns the strategy used for handling root ROIs during skeleton conversion. If no root ROI is set, returns ROI_UNSET.
Signature:
getRootRoiStrategy() -> intReturns: (
int) the root ROI strategy constant
- getSingleGraph()#
Generates a single DirectedWeightedGraph`s by combining getGraphs()’s list into a single, combined graph. Typically, this method assumes that the skeletonization handles a known single component (e.g., an image of a single cell). If multiple graphs() do exist, this method requires that setRootRoi(Roi, int) has been called using ROI_CENTROID or `ROI_CENTROID_WEIGHTED.
Signature:
getSingleGraph() -> DirectedWeightedGraphReturns: (
DirectedWeightedGraph) the single graph
- getSingleTree()#
Generates a single Tree from getSingleGraph(). If a ROI-based centroid has been set, Root is converted to a single node, root path with radius set to that of a circle with the same area of root-defining soma.
Signature:
getSingleTree() -> TreeReturns: (
Tree) the single tree
- getTrees()#
Generates a list of Trees from the skeleton image. Each Tree corresponds to one connected component of the graph returned by SkeletonResult.getGraph().
Signature:
getTrees() -> ListReturns: (
List[Any]) the skeleton tree list
- setPruneByLength(arg0)#
Sets whether to prune components below a threshold length from the result.
Signature:
setPruneByLength(boolean) -> voidParameters:
arg0 (
bool)
Returns:
None
StrahlerAnalyzer#
- getAvgBifurcationRatio()#
Signature:
getAvgBifurcationRatio() -> doubleReturns: (
float) the average bifurcation ratio of the parsed tree. In a complete binary tree, the bifurcation ratio is 2.
- getAvgContractions()#
Signature:
getAvgContractions() -> MapReturns:
Dict[str, Any]
- getAvgExtensionAngle(arg0, arg1)#
Gets the average relative extension angle for branches of a specific Strahler order.
Signature:
getAvgExtensionAngle(boolean, int) -> doubleParameters:
arg0 (
bool): - the Strahler orderarg1 (
int)
Returns: (
float) the average relative extension angle in degrees, or Double.NaN if no valid angles
- getAvgExtensionAngles(arg0)#
Gets a map of average relative extension angles for all Strahler orders.
Signature:
getAvgExtensionAngles(boolean) -> MapParameters:
arg0 (
bool)
Returns: (
Dict[str, Any]) map with Strahler order as key and average relative extension angle as value
- getAvgFragmentations()#
Signature:
getAvgFragmentations() -> MapReturns:
Dict[str, Any]
- getBifurcationRatios()#
Signature:
getBifurcationRatios() -> MapReturns: (
Dict[str, Any]) the map containing the bifurcation ratios obtained as the ratio of no. of branches between consecutive orders (Horton-Strahler numbers as key and ratios as value).
- getBranchCounts()#
Signature:
getBranchCounts() -> MapReturns: (
Dict[str, Any]) the map containing the number of branches on each order (Horton-Strahler numbers as key and branch count as value).
- getBranchPointCounts()#
Signature:
getBranchPointCounts() -> MapReturns: (
Dict[str, Any]) the map containing the number of branch points on each order (Horton-Strahler numbers as key and branch points count as value).
- getBranches()#
Signature:
getBranches() -> MapReturns:
Dict[str, Any]
- getExtensionAngles(arg0)#
Gets a map of relative extension angles for all branches in each Strahler order.
Signature:
getExtensionAngles(boolean) -> MapParameters:
arg0 (
bool)
Returns: (
Dict[str, Any]) map with Strahler order as key and list of relative extension angles as values
- getGraph()#
Signature:
getGraph() -> DirectedWeightedGraphReturns: (
DirectedWeightedGraph) the graph of the tree being parsed.
- getHighestBranchOrder()#
Signature:
getHighestBranchOrder() -> intReturns: (
int) the highest Horton-Strahler number associated with a branch in the parsed tree. Either getRootNumber() or getRootNumber()-1.
- getLengths()#
Signature:
getLengths() -> MapReturns: (
Dict[str, Any]) the map containing the cable lengh associated to each order ( Horton-Strahler numbers as key and cable length as value).
- getRelativeExtensionAngle(arg0)#
Computes the relative extension angle for a StrahlerAnalyzer branch by finding the parent direction from the graph structure.
Signature:
getRelativeExtensionAngle(Path) -> doubleParameters:
arg0 (
Path): - the branch path to analyze
Returns: (
float) the relative extension angle in degrees (0-180°), or Double.NaN if computation fails
- getRootAssociatedBranches()#
Signature:
getRootAssociatedBranches() -> ListReturns:
List[Any]
- getRootNumber()#
Signature:
getRootNumber() -> intReturns: (
int) the highest Horton-Strahler number in the parsed tree.
TracerCanvas#
- getAccessibleContext()#
Signature:
getAccessibleContext() -> AccessibleContextReturns:
Any
- getAlignmentX()#
Signature:
getAlignmentX() -> floatReturns:
float
- getAlignmentY()#
Signature:
getAlignmentY() -> floatReturns:
float
- getAnnotationsColor()#
Signature:
getAnnotationsColor() -> ColorReturns:
Any
- getBackground()#
Signature:
getBackground() -> ColorReturns:
Any
- getBaseline(arg0, arg1)#
Signature:
getBaseline(int, int) -> intParameters:
arg0 (
int)arg1 (
int)
Returns:
int
TracerThread#
- getExitReason()#
Signature:
getExitReason() -> intReturns:
int
- getNodesAsImageFromGoal()#
Signature:
getNodesAsImageFromGoal() -> SearchImageStackReturns:
Any
- getNodesAsImageFromStart()#
Signature:
getNodesAsImageFromStart() -> SearchImageStackReturns:
Any
- getResult()#
Signature:
getResult() -> PathReturns:
Path
Tree#
- getApproximatedSurface()#
Retrieves an approximate estimate of Tree’s surface are by approximating the surface area of each path, and summing to total. The surface of each path is computed assuming the lateral surface area of a conical frustum between nodes.
Signature:
getApproximatedSurface() -> doubleReturns: (
float) the approximate surface area or NaN if this Tree’s paths have no radius
- getApproximatedVolume()#
Retrieves an approximate estimate of Tree’s volume by approximating the volume of each path, and summing to total. The volume of each path is computed assuming the volume of each of inter-node segment to be that of a truncated cone (Frustum).
Signature:
getApproximatedVolume() -> doubleReturns: (
float) the approximate volume or NaN if this Tree’s paths have no radius
- getAssignedValue()#
Retrieves the numeric property assigned to this Tree.
Signature:
getAssignedValue() -> doubleReturns: (
float) the assigned value.
- getBPs()#
Gets the branch points (junctions) of the graph. This is simply an alias for DirectedWeightedGraph.getBPs().
Signature:
getBPs() -> ListReturns: (
List[Any]) the list of branch points
- getBoundingBox(arg0)#
Gets the bounding box associated with this tree.
Signature:
getBoundingBox(boolean) -> BoundingBoxParameters:
arg0 (
bool): - if
Returns: (
BoundingBox) the BoundingBox
- getColor()#
Gets the color assigned to this Tree.
Signature:
getColor() -> ColorRGBReturns: (
Any) the Tree color, or null if no color has been assigned
- getConvexHull()#
Retrieves the convex hull of this tree.
Signature:
getConvexHull() -> AbstractConvexHullReturns:
Any
- getGraph()#
Assembles a DirectedGraph from this Tree.
Signature:
getGraph() -> DirectedWeightedGraphReturns:
DirectedWeightedGraph
- getImpContainer(arg0, arg1)#
Gets an empty image capable of holding the skeletonized version of this tree.
Signature:
getImpContainer(int, int) -> ImagePlusParameters:
arg0 (
int): - the pane flag indicating the SNT view for this image e.g., MultiDThreePanes.XY_PLANEarg1 (
int)
Returns: (
Any) the empty ImagePlus container
- getLabel()#
Returns the identifying label of this tree. When importing files, the label typically defaults to the imported filename,
Signature:
getLabel() -> StringReturns: (
str) the Tree label (or null) if none has been set.
- getNodes()#
Gets all the nodes (path points) forming this tree.
Signature:
getNodes() -> ListReturns: (
List[Any]) the points
- getNodesAsSWCPoints()#
Signature:
getNodesAsSWCPoints() -> ListReturns:
List[Any]
- getNodesCount()#
Gets the total number of nodes across all paths in this Tree.
Signature:
getNodesCount() -> longReturns: (
int) the total node count
- getProperties()#
Returns the Properties instance holding the persistent set of properties. Useful to associate metadata to this tree. E.g.
`
getProperties().setProperty(Tree.KEY_SPATIAL_UNIT, "um");
String unit = getProperties().getProperty(Tree.KEY_SPATIAL_UNIT);
getProperties().setProperty(Tree.KEY_COMPARTMENT, Tree.DENDRITIC);
`
Signature:
getProperties() -> PropertiesReturns: (
Any) the Properties instanceExample:
getProperties().setProperty(Tree.KEY_SPATIAL_UNIT, "um"); String unit = getProperties().getProperty(Tree.KEY_SPATIAL_UNIT); getProperties().setProperty(Tree.KEY_COMPARTMENT, Tree.DENDRITIC);
- getRoot()#
Gets the first node of the main primary path of this tree
Signature:
getRoot() -> PointInImageReturns: (
PointInImage) the root node, or null if the main primary path is undefined for this tree.
- getSWCTypeNames(arg0)#
Gets the set of SWC type labels present in this tree with optional soma inclusion in a readable form.
Signature:
getSWCTypeNames(boolean) -> SetParameters:
arg0 (
bool): - if true, includes soma in the returned set; if false, excludes Path.SWC_SOMA from the result
Returns: (
Set[Any]) a Set containing the SWC type labels (e.g., Path.SWC_AXON_LABEL, Path.SWC_DENDRITE_LABEL, etc.) present in the tree
- getSWCTypes(arg0)#
Gets the set of SWC types present in this tree with optional soma inclusion.
Signature:
getSWCTypes(boolean) -> SetParameters:
arg0 (
bool): - if true, includes the soma type in the returned set; if false, excludes Path.SWC_SOMA from the result
Returns: (
Set[Any]) a Set containing the SWC type constants (e.g., Path.SWC_AXON, Path.SWC_DENDRITE, etc.) present in the tree
- getSkeleton()#
Retrieves the rasterized skeleton of this tree at 1:1 scaling.
Signature:
getSkeleton() -> ImagePlusReturns:
Any
- getSkeleton2D(arg0)#
Retrieves a 2D projection of the rasterized skeleton of this tree at 1:1 scaling.
Signature:
getSkeleton2D(int) -> ImagePlusParameters:
arg0 (
int): - the pixel intensities of the skeleton. If
Returns: (
Any) the skeletonized 16-bit binary image
- getSomaNodes()#
Gets the list of all nodes tagged as Path.SWC_SOMA.
Signature:
getSomaNodes() -> ListReturns: (
List[Any]) the soma nodes or null if no Paths are tagged as soma.
- getTips()#
Gets the end points (tips) of the graph. This is simply an alias for DirectedWeightedGraph.getTips().
Signature:
getTips() -> ListReturns: (
List[Any]) the list of end points
- isAnnotated()#
Checks if the nodes of this Tree have been assigned BrainAnnotations (neuropil labels).
Signature:
isAnnotated() -> booleanReturns: (
bool) true if at least one node in the Tree has a valid annotation, false otherwise
- isEmpty()#
Checks if this Tree is empty.
Signature:
isEmpty() -> booleanReturns: (
bool) true if this tree contains no Paths, false otherwise
TreeColorMapper#
- getAvailableLuts()#
Gets the available LUTs.
Signature:
getAvailableLuts() -> SetReturns: (
Set[Any]) the set of keys, corresponding to the set of LUTs available
- getColor(arg0)#
Signature:
getColor(double) -> ColorParameters:
arg0 (
float)
Returns:
Any
- getColorRGB(arg0)#
Signature:
getColorRGB(double) -> ColorRGBParameters:
arg0 (
float)
Returns:
Any
- getColorTable(arg0)#
Signature:
getColorTable(String) -> ColorTableParameters:
arg0 (
str)
Returns:
Any
- getMinMax()#
Signature:
getMinMax() -> [DReturns:
Any
- getMultiViewer()#
Assembles a Multi-pane viewer using all the Trees mapped so far.
Signature:
getMultiViewer() -> MultiViewer2DReturns: (
MultiViewer2D) the multi-viewer instance
- getNaNColor()#
Signature:
getNaNColor() -> ColorReturns:
Any
- isIntegerScale()#
Signature:
isIntegerScale() -> booleanReturns:
bool
- isNodeMapping()#
Signature:
isNodeMapping() -> booleanReturns:
bool
TreeStatistics#
- cancel(arg0)#
Sets the table for this TreeStatistics instance.
Signature:
cancel(String) -> voidParameters:
arg0 (
str): - the table to be used by this TreeStatistics instance
Returns:
None
- getAnnotatedLength(arg0, arg1)#
Retrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron.
Signature:
getAnnotatedLength(int, String) -> MapParameters:
arg0 (
int)arg1 (
str)
Returns:
Dict[str, Any]
- getAnnotatedLengthHistogram(arg0)#
Retrieves the histogram of cable length frequencies across brain areas of the specified ontology level across the specified hemisphere.
Signature:
getAnnotatedLengthHistogram(int) -> SNTChartParameters:
arg0 (
int): - the ontological depth of the compartments to be considered
Returns: (
SNTChart) the annotated length histogram
- getAnnotatedLengthsByHemisphere(arg0)#
Retrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron in the two brain hemispheres. Lengths are absolute and not normalized to the cells’ cable length.
Signature:
getAnnotatedLengthsByHemisphere(int) -> MapParameters:
arg0 (
int): - the ontological depth of the compartments to be considered
Returns: (
Dict[str, Any]) the map containing the brain compartments as keys, and cable lengths per hemisphere as values.
- getAnnotations(arg0)#
Retrieves the brain compartments (neuropil labels) associated with the Tree being measured innervated by the analyzed neuron.
Signature:
getAnnotations(int) -> SetParameters:
arg0 (
int): - the max. ontological depth of the compartments to be retrieved
Returns: (
Set[Any]) the set of brain compartments (BrainAnnotations)
- getAvgBranchLength()#
Gets average length for all the branches of the analyzed tree.
Signature:
getAvgBranchLength() -> doubleReturns: (
float) the average branch length
- getAvgContraction()#
Gets average contraction for all the branches of the analyzed tree.
Signature:
getAvgContraction() -> doubleReturns: (
float) the average branch contraction
- getAvgFractalDimension()#
Gets the average fractal dimension of the analyzed tree. Note that branches with less than 5 points are ignored during the computation.
Signature:
getAvgFractalDimension() -> doubleReturns: (
float) the average fractal dimension
- getAvgFragmentation()#
Gets the average no. of nodes (fragmentation) for all the branches of the analyzed tree.
Signature:
getAvgFragmentation() -> doubleReturns: (
float) the average no. of branch nodes (average branch fragmentation)
- getAvgPartitionAsymmetry()#
Gets the average partition asymmetry of the analyzed tree. Note that branch points with more than 2 children are ignored during the computation.
Signature:
getAvgPartitionAsymmetry() -> doubleReturns: (
float) the average partition asymmetry
- getAvgRemoteBifAngle()#
Gets the average remote bifurcation angle of the analyzed tree. Note that branch points with more than 2 children are ignored during the computation.
Signature:
getAvgRemoteBifAngle() -> doubleReturns: (
float) the average remote bifurcation angle
- getBranchPoints(arg0, arg1)#
Gets the position of all the branch points in the analyzed tree associated with the specified annotation.
Signature:
getBranchPoints(BrainAnnotation, boolean) -> SetParameters:
arg0 (
Any)arg1 (
bool)
Returns:
Set[Any]
- getBranches()#
Gets all the branches in the analyzed tree. A branch is defined as the Path composed of all the nodes between two branching points or between one branching point and a termination point.
Signature:
getBranches() -> ListReturns: (
List[Any]) the list of branches as Path objects.
- getCableLength(arg0)#
Gets the cable length associated with the specified compartment (neuropil label).
Signature:
getCableLength(BrainAnnotation) -> doubleParameters:
arg0 (
Any): - the query compartment (null not allowed)
Returns: (
float) the filtered cable length
- getCableLengthNorm(arg0)#
Gets the cable length associated with the specified compartment (neuropil label) as a ratio of total length.
Signature:
getCableLengthNorm(BrainAnnotation) -> doubleParameters:
arg0 (
Any): - the query compartment (null not allowed)
Returns: (
float) the filtered cable length normalized to total cable length
- getCancelReason()#
Signature:
getCancelReason() -> StringReturns:
str
- getContext()#
Signature:
getContext() -> ContextReturns:
Any
- getConvexAnalyzer()#
Gets the ConvexHullAnalyzer instance associated with this TreeStatistics instance.
Signature:
getConvexAnalyzer() -> ConvexHullAnalyzerReturns: (
Any) the ConvexHullAnalyzer instance
- getConvexHullMetric(arg0)#
Convenience method to obtain a single-value metric from ConvexHullAnalyzer
Signature:
getConvexHullMetric(String) -> doubleParameters:
arg0 (
str): - the metric to be retrieved, one of ConvexHullAnalyzer.supportedMetrics()
Returns: (
float) the convex hull metric
- getDepth()#
Returns the depth of the BoundingBox box of the tree being measured
Signature:
getDepth() -> doubleReturns: (
float) the bounding box depth
- getDescriptiveStats(arg0)#
Computes the DescriptiveStatistics for the specified measurement.
Signature:
getDescriptiveStats(String) -> DescriptiveStatisticsParameters:
arg0 (
str): - the measurement (N_NODES, NODE_RADIUS, etc.)
Returns: (
Any) the DescriptiveStatistics object.
- getFlowPlot(arg0, arg1)#
Assembles a Flow plot (aka Sankey diagram) for the specified feature.
Signature:
getFlowPlot(String, Collection) -> SNTChartParameters:
arg0 (
str): - the feature (“Cable length”, “No. of branch points”, “No. of tips”, etc.). Note that the majority of getAllMetrics() metrics are currently not supported.arg1 (
List[Any])
Returns: (
SNTChart) the SNTChart holding the flow plot
- getFractalDimension()#
Gets the fractal dimension of each branch in the analyzed tree. Note that branches with less than 5 points are ignored.
Signature:
getFractalDimension() -> ListReturns: (
List[Any]) a list containing the fractal dimension of each branch
- getHeight()#
Returns the height of the BoundingBox box of the tree being measured
Signature:
getHeight() -> doubleReturns: (
float) the bounding box height
- getHighestPathOrder()#
Gets the highest path order of the analyzed tree
Signature:
getHighestPathOrder() -> intReturns: (
int) the highest Path order, or -1 if Paths in the Tree have no defined order
- getHistogram(arg0)#
Retrieves the histogram of relative frequencies histogram for a univariate measurement. The number of bins is determined using the Freedman-Diaconis rule.
Signature:
getHistogram(String) -> SNTChartParameters:
arg0 (
str): - the measurement (N_NODES, NODE_RADIUS, etc.)
Returns: (
SNTChart) the frame holding the histogram
- getInnerBranches()#
Retrieves the branches of highest Strahler order in the Tree. This typically correspond to the most ‘internal’ branches of the Tree in direct sequence from the root.
Signature:
getInnerBranches() -> ListReturns: (
List[Any]) the list containing the “inner” branches. Note that these branches (Path segments) will not carry any connectivity information.
- getInnerLength()#
Gets the cable length of inner branches
Signature:
getInnerLength() -> doubleReturns: (
float) the length sum of all inner branches
- getMetric(arg0)#
Computes the specified metric.
Signature:
getMetric(String) -> NumberParameters:
arg0 (
str): - the single-value metric to be computed (case-insensitive). While it is expected to be an element of getAllMetrics(), if isExactMetricMatch() is set,
Returns: (
Union[int, float]) the computed value (average if metric is associated with multiple values)
- getNBranchPoints(arg0)#
Gets the number of branch points in the analyzed tree associated with the specified annotation.
Signature:
getNBranchPoints(BrainAnnotation) -> intParameters:
arg0 (
Any): - the BrainAnnotation to be queried.
Returns: (
int) the number of branch points
Tubeness#
- getArity()#
Signature:
getArity() -> intReturns:
int
- getIndependentInstance()#
Signature:
getIndependentInstance() -> UnaryComputerOpReturns:
Any
Viewer2D#
- getAvailableLuts()#
Signature:
getAvailableLuts() -> SetReturns:
Set[Any]
- getChart()#
Gets the current viewer as a SNTChart object
Signature:
getChart() -> SNTChartReturns: (
SNTChart) the converted viewer
- getColor(arg0)#
Signature:
getColor(double) -> ColorParameters:
arg0 (
float)
Returns:
Any
- getColorRGB(arg0)#
Signature:
getColorRGB(double) -> ColorRGBParameters:
arg0 (
float)
Returns:
Any
- getColorTable(arg0)#
Signature:
getColorTable(String) -> ColorTableParameters:
arg0 (
str)
Returns:
Any
- getJFreeChart()#
Gets the current viewer as a JFreeChart object
Signature:
getJFreeChart() -> JFreeChartReturns: (
Any) the converted viewer
- getMinMax()#
Signature:
getMinMax() -> [DReturns:
Any
- getMultiViewer()#
Signature:
getMultiViewer() -> MultiViewer2DReturns:
MultiViewer2D
- getNaNColor()#
Signature:
getNaNColor() -> ColorReturns:
Any
- getPlot()#
Gets the current plot as a XYPlot object
Signature:
getPlot() -> XYPlotReturns: (
Any) the current plot
- getTitle()#
Gets the plot display title.
Signature:
getTitle() -> StringReturns: (
str) the current display title
- isIntegerScale()#
Signature:
isIntegerScale() -> booleanReturns:
bool
- isNodeMapping()#
Signature:
isNodeMapping() -> booleanReturns:
bool
- setPreferredSize(arg0, arg1)#
Sets the preferred size of the plot to a constant value.
Signature:
setPreferredSize(int, int) -> voidParameters:
arg0 (
int): - the preferred widtharg1 (
int)
Returns:
None
Viewer3D#
- getAnnotation(arg0)#
Gets the annotation associated with the specified label.
Signature:
getAnnotation(String) -> Annotation3DParameters:
arg0 (
str): - the (unique) label as displayed in Viewer’s list
Returns: (
Any) the annotation or null if no annotation is associated with the specified label
- getAnnotations()#
Returns all annotations added to this viewer.
Signature:
getAnnotations() -> ListReturns: (
List[Any]) the annotation list
- getFrame()#
Gets the frame containing this viewer, optionally controlling its visibility.
Returns the AWT Frame that contains this viewer’s 3D canvas and UI components. If no frame exists, one will be created with the specified visibility setting. This method is useful when you need to control whether the viewer window appears immediately or remains hidden for programmatic manipulation.
Signature:
getFrame() -> FrameReturns:
Any
- getID()#
Returns this Viewer’s id.
Signature:
getID() -> intReturns: (
int) this Viewer’s unique numeric ID.
- getManagerPanel()#
Returns a reference to ‘RV Controls’ panel.
Signature:
getManagerPanel() -> Viewer3D$ManagerPanelReturns: (
Any) the ManagerPanel associated with this Viewer, or null if the ‘RV Controls’ dialog is not being displayed.
- getMesh(arg0)#
Gets the mesh associated with the specified label.
Signature:
getMesh(String) -> OBJMeshParameters:
arg0 (
str): - the (unique) label as displayed in Viewer’s list
Returns: (
Any) the mesh or null if no mesh is associated with the specified label
- getMeshes()#
Returns all meshes added to this viewer.
Signature:
getMeshes() -> ListReturns:
List[Any]
- getRecorder(arg0)#
Gets the script recorder for this viewer, optionally creating one if needed.
Signature:
getRecorder(boolean) -> ScriptRecorderParameters:
arg0 (
bool): - if true, creates a new recorder if one doesn’t exist; if false, returns null when no recorder exists
Returns: (
Any) the ScriptRecorder instance, or null if none exists and createIfNeeded is false
- getTree(arg0)#
Gets the tree associated with the specified label.
Signature:
getTree(String) -> TreeParameters:
arg0 (
str): - the (unique) label as displayed in Viewer’s list
Returns: (
Tree) the Tree or null if no Tree is associated with the specified label
- getTrees()#
Returns all trees added to this viewer.
Signature:
getTrees() -> ListReturns:
List[Any]
- isActive()#
Checks whether this instance is currently active
Signature:
isActive() -> booleanReturns: (
bool) true, if active, false otherwise
- isDarkModeOn()#
Checks if scene is being rendered under dark or light background.
Signature:
isDarkModeOn() -> booleanReturns: (
bool) true, if “Dark Mode” is active
- isSNTInstance()#
Checks whether this instance is SNT’s Reconstruction Viewer.
Signature:
isSNTInstance() -> booleanReturns: (
bool) true, if SNT instance, false otherwise
- isSplitDendritesFromAxons()#
Checks whether axons and dendrites of imported Trees are set to be imported as separated objects.
Signature:
isSplitDendritesFromAxons() -> booleanReturns: (
bool) if imported trees are set to be split into axonal and dendritic subtrees.
WekaModelLoader#
- cancel(arg0)#
Signature:
cancel(String) -> voidParameters:
arg0 (
str)
Returns:
None
- getCancelReason()#
Signature:
getCancelReason() -> StringReturns:
str
- getContext()#
Signature:
getContext() -> ContextReturns:
Any
- getDelegateObject()#
Signature:
getDelegateObject() -> ObjectReturns:
Any
- getInfo()#
Signature:
getInfo() -> DynamicCommandInfoReturns:
Any
- getInput(arg0)#
Signature:
getInput(String) -> ObjectParameters:
arg0 (
str)
Returns:
Any
- getInputs()#
Signature:
getInputs() -> MapReturns:
Dict[str, Any]
- getOutput(arg0)#
Signature:
getOutput(String) -> ObjectParameters:
arg0 (
str)
Returns:
Any
- getOutputs()#
Signature:
getOutputs() -> MapReturns:
Dict[str, Any]
- isCanceled()#
Signature:
isCanceled() -> booleanReturns:
bool
- isInputResolved(arg0)#
Signature:
isInputResolved(String) -> booleanParameters:
arg0 (
str)
Returns:
bool
- isOutputResolved(arg0)#
Signature:
isOutputResolved(String) -> booleanParameters:
arg0 (
str)
Returns:
bool
- isResolved(arg0)#
Signature:
isResolved(String) -> booleanParameters:
arg0 (
str)
Returns:
bool
Category index generated on 2026-01-02 23:09:09