Py-GraSPI Documentation
Welcome to the documentation for Py-GraSPI.
About
Py-GraSPI (Graph-based Structure Property Identifier) is a Python package designed to compute a comprehensive set of descriptors for segmented microstructures using a graph-based approach. It leverages the igraph library to represent microstructures as graphs, enabling efficient computation of a wide range of descriptors with low computational overhead. Py-GraSPI is the Python implementation of the original GraSPI package, which was developed in C/C++. In addition to descriptor computation, Py-GraSPI offers tools for data conversion across various formats and for post-processing the raw outputs of the graph analysis.
In Brief
The Py-Graspi project provides tools for creating, filtering, and analyzing graphs, with benchmarks for runtime and memory performance.
Contents:
- Functionality
- Descriptors
- Inputs
- Installation
- Example of Usage
- Graph-based representation of microstructure
- Basic Definitions
- API Overview
compute_descriptors()
descriptorsToTxt()
readDescriptorsFromTxt()
printDescriptors()
CC_descriptors()
shortest_path_descriptors()
filterGraph_metavertices()
generateGraph()
generateGraphAdj()
generateGraphGraphe()
adjList()
graphe_adjList()
adjvertexColors()
visualize()
connectedComponents()
filterGraph()
filterGraph_metavertices()
filterGraph_blue_red()
graph_data_class
- Advanced
- To Run on DEBUG mode
- Converting .plt files to .txt files
- Translate Image File Into Rescaled .txt File
- Example Visualization
- 2D & 3D Morphologies Tests
- Running Py-GraSPI on the Library of Morphologies
- Tortuosity HeatMap Visualization
- Jupyter NoteBook to Visualize HeatMap
- Generate API Documentation
- Update Py-Pi Package