Curvature, torsion from VMTK

Hello, I am using the Extract Centerline module. I obtained one centerline and one table containing a single line with a pair of curvature and torsion values.

I noticed that curvature and torsion are reported in the exported table called “centerline quantification”. I assume these values are averages. As stated in the document: “Geometrical properties (length, average radius, curvature, torsion, tortuosity)”. However, I also noticed that the code comment does not explicitly mention that these values are averages. Therefore, I am not sure whether my understanding is correct.

If these values are averages, could you advise on whether there are any approaches to estimate a fixed curvature and a fixed torsion value that best fit the currently extracted centerline?

I am considering using a sum of squared errors approach and fitting the parameters via the Python console to obtain these two values. Would this be a reasonable strategy?

Thanks a lot.