Skip to content

Parse Rhythmia ablation file

Full example code: examples/parser/rhythmia_ablation.py

Note

Ablation data is not contained in the main matlab file. A separate export is needed.

Simply pass your ablation file to the reader to get a dataframe with ablation points.

from dgmr.parser import RhythmiaReader

ablation_file = "path_to_your_ablation_file"
data = RhythmiaReader.load_ablation(ablation_file)

print(data[:5])

Output: pandas DataFrame with coordinates of the ablation points.

           x          y           z
0  11.400326  80.901123 -144.134064
1  52.538200  53.794727 -156.060791
2  54.436630  55.119423 -159.684631
3  50.141178  53.620991 -150.535583
4  48.067261  57.244194 -149.712555