MunchLab / ect

Code for computing the Euler Characteristic Transform (ECT)
https://munchlab.github.io/ect/
GNU General Public License v3.0
1 stars 0 forks source link

Add examples #3

Closed lizliz closed 3 months ago

lizliz commented 7 months ago

Need to add lots of example code blocks and/or notebooks. In particular, a really basic running example is

import ect.ect_on_graphs as ECTg

Build a graph and plot it:

G = ECTg.create_example_graph()
G.plot()

Calculate the ECT and plot it

myect = ECTg.ECT(8,10)
myect.calculateECT(G)
myect.plotECT()