GraphAnalysis_fe1fb978c73a11e889bcc860006dfcdd¶
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2020. |
| date: | Oct 03 2018 14:34 |
| dragonflyVersion: | |
| 4.0.0.514 (D) | |
| UUID: | fe1fb978c73a11e889bcc860006dfcdd |
Class Code¶
-
class
OrsPythonPlugins.GraphAnalysis_fe1fb978c73a11e889bcc860006dfcdd.GraphAnalysis_fe1fb978c73a11e889bcc860006dfcdd.GraphAnalysis_fe1fb978c73a11e889bcc860006dfcdd(varname=None, managed=True)¶ -
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
calculateAngles()¶
-
cleanup()¶ Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.
-
closable= True¶
-
closeWidget(name)¶
-
interfacemethod
exportAngles(aGraph, stringOfNodeConnectivityToExport, filename)¶ Finds The node-Type Abundance In the Graph
Parameters: - aGraph (ORSModel.ors.Graph) – a graph
- stringOfNodeConnectivityToExport (str) – a string of node connectivity type to export
- filename (str) – file name
-
interfacemethod
exportGraphToCSV(filename, aGraph)¶ Exports the graph to CSV
Parameters: - filename (str) – file name
- aGraph (ORSModel.ors.Graph) – a graph
Returns: output (bool) – True if succeeded, False otherwise
-
interfacemethod
exportNodeAbundance(aGraph, stringOfNodeConnectivityToExport, filename)¶ Finds The node-Type Abundance In the Graph
Parameters: - aGraph (ORSModel.ors.Graph) – a graph
- stringOfNodeConnectivityToExport (str) – a string of node connectivity type to export
- filename (str) – file name
-
fitNodeAbundance(aGraph)¶
-
generateStringForLineEditConnectivityTypes(listNodeConnectivityTypesToCompute: list)¶
-
getGraphToAnalyze()¶
-
getHistogramDataToPlot()¶
-
getNodeAbundanceCurveFitDividerType()¶
-
getNodeConnectivityTypesToCompute()¶
-
getTableConnectivityTypesModel()¶
-
getVolumeThicknessROI()¶
-
getYAxisDividerType()¶
-
keepAlive= False¶
Declaration of a plugin menu item.
This method has to be decorated by “menuItem(menuItemDefinition=True)”.
Returns: output – Menu item instance
-
multiple= True¶
-
classmethod
openGUI(aGraphGUID)¶
-
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)¶
-
parseStringForLineEditConnectivityTypes(strLineEditConnectivityTypes)¶
-
plotNodeAbundanceCurveFit()¶
-
plotNodeAbundanceData()¶
-
interfacemethod
pruneGraph(aGraph, aROI, timestep)¶ Prunes the graph by removing duplicate edges, isolated edges and deadends. Also, it merges close vertices into a single vertex
Parameters: - aGraph (ORSModel.ors.Graph) – a graph to prune
- aROI (ORSModel.ors.ROI) – ROI used to compute the volumetric thickness
- timestep (int) – time step
Returns: output (bool) – True if succeeded, False otherwise
-
refreshAfterPreferencesChanged()¶
-
savable= False¶
-
setGraphToAnalyze(graphToAnalyze)¶
-
setNodeAbundanceCurveFitDividerType(nodeAbundanceCurveFitDividerType)¶
-
setNodeConnectivityTypesToCompute(listNodeConnectivityTypesToCompute)¶
-
setVolumeThicknessROI(volumeThicknessROI)¶
-
setYAxisDividerType(yAxisDividerType)¶
-
classmethod
startMenuItem(listSelectedObjectsRepr)¶ Contextual menu.
This code will be executed when a contextual menu has to be displayed.
The menu item instances used in this method should be taken from menu item definitions declared in this plugin and filled with proper values (section, action, enabled, …). If multiple menu items have to be used by this method, they should be defined using the same pattern.
Parameters: listSelectedObjectsRepr – list of selected objects (this argument is given as string representation) Returns: output – None, a single menu item instance, or a list of menu item instances
-