Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mlwright84 opened this issue Aug 20, 2018 · 4 comments
Open

Comments

@mlwright84
Copy link
Contributor

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
Copy link
Contributor Author

This is similar to Issue #129.

@delooper
Copy link

delooper commented Oct 6, 2018

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
Copy link
Contributor

xoltar commented Oct 8, 2018

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
Copy link

delooper commented Oct 8, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants