Open VincentRouvreau opened 4 years ago
3 coordinates: dim, birth, death? That seems similar to a format that giotto likes, it is worth checking if that matches.
Another interesting format, produced for instance by the scikit-tda interface to ripser, is a list of nx2 arrays, one array per dimension.
At some point, with too many formats, it may become dangerous to guess, although for now it still seems doable.
Eventually, we may want to deprecate our current List[Tuple[int,Tuple[float,float]]], which is less convenient than the alternatives.
User reports they use numpy to load/save persistence diagrams with dimension information.
A patch to make it work:
Some documentation to be done.