From 908d47af4cbcbc8fca7326e6a187d39f3ba4c758 Mon Sep 17 00:00:00 2001 From: AlainKadar <73320455+AlainKadar@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:37:05 -0400 Subject: [PATCH] Update README.rst --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index e37bfc2..49e6dbe 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ The following minimal example shows how the package can be used to calculate the .. code:: python - from StructuralGT.structural import Structural + from StructuralGT.structural import Degree from StructuralGT.networks import Network Nanofibre3DNetwork = Network('Nanofibre_Image_Stack') @@ -38,6 +38,6 @@ The following minimal example shows how the package can be used to calculate the Nanofibre3DNetwork.img_to_skel(crop=[0,500,0,500,0,500]) Nanofibre3DNetwork.set_graph(weight_type=['Length']) - S = Structural() + S = Degree() S.compute(Nanofibre3DNetwork) - print(S.diameter) + print(S.average_degree)