You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ StructuralGT
5
5
Overview
6
6
========
7
7
A python package for the extraction and analysis of graphs from 2D and 3D experimental micrographs. Image processing techniques taken from `StructuralGT <https://github.com/drewvecchio/StructuralGT>`__.
8
-
*StructuralGT* is available as an APIbased package, or GUI. Use `conda-forge <https://anaconda.org/conda-forge/structuralgt>`__ or the main GitHub branch for the API version, and the `GUI branch <https://github.com/compass-stc/StructuralGT/tree/DicksonOwuor-GUI>`__ for the GUI version.
8
+
*StructuralGT* is available as an API-based or GUI-based package. Use `conda-forge <https://anaconda.org/conda-forge/structuralgt>`__ or the main GitHub branch for the API version, and the `GUI branch <https://github.com/compass-stc/StructuralGT/tree/DicksonOwuor-GUI>`__ for the GUI version.
9
9
10
10
Installation guide
11
11
==================
@@ -16,12 +16,12 @@ platforms. Install with
16
16
17
17
conda install conda-forge::structuralgt
18
18
19
-
**StructuralGT** can also be built from source, via the
19
+
**StructuralGT** can also be built from source via the
Prior to install, you will need to install some dependencies into your conda
22
22
environment. Note that installation will most likely be
23
23
successful if carried out in a new conda environment. While it is posisble to
24
-
obtain some of these dependencies with pip, installation will most likely be
24
+
obtain some of these dependencies with pip, installation is most likely to be
25
25
sucessful when all dependencies are obtained with conda.
26
26
27
27
.. code:: bash
@@ -57,7 +57,7 @@ included tests:
57
57
Quickstart and examples repository
58
58
==================================
59
59
60
-
To showcase the API, here is a simple example script used to predict the sheet resistance of silver nanowires, used in our recent publication :cite:`WuKadar2025`
60
+
To showcase the API, here is a simple example script used to predict the sheet resistance of silver nanowires, used in our recent publication :cite:`WuKadar2025`.
61
61
To learn how to implement this yourself, consult our
Copy file name to clipboardExpand all lines: doc/source/gettingstarted/introduction.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
Introduction
3
3
============
4
4
5
-
StructuralGT is a Python package for graph theoretic analysis of image data. Originally prototyped as a GUI based package for microscopy data, :cite:`Vecchio2021` the package outlined in this documentation is designed for terminalbased use. Addtionally, this package offers the possibility of analysing 3-dimensional datasets and property predictions. Initial graph theoretic studies of microscopy datasets have shown structural differences betweeen disordered architectures of various nanoscale materials. This API offers the users the possiblility of performing analysis beyond what has been reported in the literature. Some basic examples of analyses are given in Examples.
5
+
StructuralGT is a Python package for graph theoretic analysis of image data. Originally prototyped as a GUI based package for microscopy data, :cite:`Vecchio2021` the package outlined in this documentation is designed for terminal-based use. Addtionally, this package offers the possibility of analysing 3-dimensional datasets and property predictions. Initial graph theoretic studies of microscopy datasets have shown structural differences betweeen disordered architectures of various nanoscale materials. This API offers the users the possiblility of performing analysis beyond what has been reported in the literature. Some basic examples of analyses are given in Examples.
6
6
7
-
All analyses carried out with StructuralGT involve a :class:`Network` class, which represents the system being studied. To motivate it's construction, we first outline the conceptual differecne between a `network` and a `graph`. Networks are real-world objects which exhibit a structure akin to points linked by connections. Their study belongs to the discipline of `network science` and examples may include social networks, internet networks, or material networks. The mathematical objects which abstract these structures are graphs, and the discipline which examines them is `graph theory`. A graph may be defined only by it's nodes and connecting edges. While the nodes and edges may contain attributes, to give further detail, a large part of the network's description is lost as a result of it's abstraction into a graph (most notably, its geometric features). Hence we construct the :class:`Network` class to contain a conventional graph, and all other information that would be otherwise lost. Specifically, after the appropriate graph extraction methods have been called, the :class:`Network` class is populated with a :attr:`graph` attribute.
7
+
All analyses carried out with StructuralGT involve a :class:`Network` class, which represents the system being studied. To motivate its construction, we first outline the conceptual difference between a `network` and a `graph`. Networks are real-world objects which exhibit a structure akin to points linked by connections. Their study belongs to the discipline of `network science` and examples may include social networks, internet networks, or material networks. The mathematical objects which abstract these structures are graphs, and the discipline which examines them is `graph theory`. A graph may be defined only by its nodes and connecting edges. While the nodes and edges may contain attributes, to give further detail, a large part of the network's description is lost as a result of its abstraction into a graph (most notably, its geometric features). Hence we construct the :class:`Network` class to contain a conventional graph, and all other information that would be otherwise lost. Specifically, after the appropriate graph extraction methods have been called, the :class:`Network` class is populated with a :attr:`graph` attribute.
8
8
9
-
The second component required for analysis in StructuralGT is a :class:`Compute` class, which represents the calculations being carried out on the system (i.e. :class:`Network` class). All compute methods may be instantiated with a weight type, to specify whether graph weights are to be used in the calculations. Compute modules contain a :meth:`compute` method, which populates the object with attributes containing the results of the calculations. Generally, compute modules call a mixture of python functions and fast graph theoretic computations, via the :code:`igraph` C library :cite:`Csardi2005`. When the user wishes to carry out their own custom analysis with C-level speed, they may implement their own C routines, which expose the results to the Python API. Instructions on this implementation are given in Adding C++ Scripts.
9
+
The second component required for analysis in StructuralGT is a :class:`Compute` class, which represents the calculations being carried out on the system (i.e. :class:`Network` class). All compute methods may be instantiated with a weight type, to specify whether graph weights are to be used in the calculations. Compute modules contain a :meth:`compute` method, which populates the object with attributes containing the results of the calculations. Generally, compute modules call a mixture of python functions and fast graph theoretic computations, via the :code:`igraph` C library :cite:`Csardi2005`. When the user wishes to carry out their own custom analysis with C-level speed, they may implement their own C routines, which expose the results to the Python API. Instructions on this implementation are given in :doc:`../reference/addingcppscripts`.
Copy file name to clipboardExpand all lines: doc/source/reference/addingcppscripts.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Adding C++ Scripts
7
7
Python Wrapper Method
8
8
=====================
9
9
10
-
This is the called by the user and should be a method of a :class:`Compute` subclass. These methods should create a deep copy of the graph, to pass to the C++ script. The graph is passed to the C++ script via its pointer, which can be accessed from igraph's :meth:`_raw_pointer` method.
10
+
This is called by the user and should be a method of a :class:`Compute` subclass. These methods should create a deep copy of the graph to pass to the C++ script. The graph is passed to the C++ script via its pointer, which can be accessed from igraph's :meth:`_raw_pointer` method.
0 commit comments