Code for the computation of alpha magnitude, introduced in the paper "Alpha magnitude" by Miguel O'Malley, Sara Kalisnik, Nina Otter.
We also provide samples from the Cantor set, the Feigenbaum attractor as well as the unit circle.
- Install the python implementation of GUDHI.
- Download the alpha magnitude files to your root directory.
- Run
amagrun.py
and follow the instructions for file selection and bounds. - Run
plotter.py
and select the file generated by amagrun.py
- Run
amagrun.py
and follow the instructions for file selection and bounds. - Run
amagmulriregplot.py
and select the file generated by `amagrun.py
- Run
amaglogspaced.py
and follow the instructions for file selection and bounds. - Run
amagmultiregplot.py
and select the files generated in the previous step. Note you may wish to adjust the bounds for regression estimation in the code itself.