rivetTDA / rivet

RIVET is a tool for Topological Data Analysis, in particular two-parameter persistent homology.
GNU General Public License v3.0
73 stars 24 forks source link

Print Hilbert function and Betti numbers from a module invariants file #134

Open mlwright84 opened 5 years ago

mlwright84 commented 5 years ago

It would be helpful if rivet_console could print the values of the Hilbert function and bigraded Betti numbers from a module invariants file. Currently, one must re-do the computation from an input file to obtain these values.

mlwright84 commented 5 years ago

This is similar to Issue #129.

delooper commented 5 years ago

I agree with this issue but for different reasons.

I'm writing a paper where I make predictions for the betti numbers of a bigraded persistence module. I want to plot my predicted bigraded Betti number window against the output from RIVET. At present all I can do is print out the line selection window from the RIVET GUI.

It would be much more pleasant if I had the data and just created my own plotting code in Python. For instance, this would allow me to plot various predicted curves into the betti number plot (from RIVET data). Saving the line selection window from RIVET creates a scale issue -- it can be quite fussy to scale and shift the images so they are at the same scale, sharing a common axis.

xoltar commented 5 years ago

Hi Ryan, this is relatively convenient with the Python API, if you are looking for something like https://github.com/rivetTDA/rivet-python/blob/master/example/RIVET%20Python%20API%20Tour.ipynb (see box 11)? Let me know if I'm misunderstanding.

delooper commented 5 years ago

Thanks, I did not know the Python API was available. I'll look into it as soon as I wake my laptop from its swapping coma.