simonzhang00 / ripser-plusplus

Ripser++: GPU-accelerated computation of Vietoris–Rips persistence barcodes
MIT License
101 stars 15 forks source link

file format for point cloud file #12

Closed maxsw02 closed 2 years ago

maxsw02 commented 2 years ago

What is the formatting of the pointcloud file? I opened up the example file it had a six columns. I was a big confused.

simonzhang00 commented 2 years ago

As you can see from here: each line in your case is a 6 dimensional point represented by 6 numbers in the reals.

The format is a list of $d$ floating points, each line represents point in the point cloud. A Numpy matrix can also be used with the python bindings. It has shape $n \times d$ where $n$ is the number of points and $d$ is the dimension of the space where the points lie.