Skip to content

Commit f16bbc7

Browse files
authored
Merge pull request #26 from josephburkhart/fix-docs-typos
Fix typos in documentation and readme
2 parents 29131d5 + 5526a23 commit f16bbc7

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

README.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ StructuralGT
55
Overview
66
========
77
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 API based 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.
99

1010
Installation guide
1111
==================
@@ -16,12 +16,12 @@ platforms. Install with
1616
1717
conda install conda-forge::structuralgt
1818
19-
**StructuralGT** can also be built from source, via the
19+
**StructuralGT** can also be built from source via the
2020
`public repository <https://github.com/compass-stc/StructuralGT>`__.
2121
Prior to install, you will need to install some dependencies into your conda
2222
environment. Note that installation will most likely be
2323
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
2525
sucessful when all dependencies are obtained with conda.
2626

2727
.. code:: bash
@@ -57,7 +57,7 @@ included tests:
5757
Quickstart and examples repository
5858
==================================
5959

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`.
6161
To learn how to implement this yourself, consult our
6262
`examples repository <https://github.com/compass-stc/StructuralGT-Examples>`__.
6363

@@ -111,7 +111,9 @@ To build the documentation, run the following commands in the source directory:
111111
cd doc
112112
make html
113113
# Then open build/html/index.html
114+
115+
or
116+
114117
.. code:: bash
115118
116-
conda install sphinx furo nbsphinx jupyter_sphinx sphinxcontrib-bibtex sphinx-copybutton
117119
sphinx-build -b html doc html

doc/source/gettingstarted/introduction.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Introduction
33
============
44

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.
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.
66

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.
88

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`.

doc/source/reference/addingcppscripts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Adding C++ Scripts
77
Python Wrapper Method
88
=====================
99

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.
1111

1212
Cython Module
1313
=============

0 commit comments

Comments
 (0)