simonzhang00 / ripser-plusplus

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

file format for point cloud file #12

Closed maxsw02 closed 1 year ago

maxsw02 commented 1 year 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 1 year 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.