Measuring the average discrete gaussian and mean curvature of a model with vtk in python?

Forgive me, are you saying line 353 of the demo code you pointed me towards before or some other code? Also, with the snippet you sent, I’m assuming numpy_support is a vtkmodule, but the np_curv that you are defining, would that be specifically the curvatures created by the following code:

curv = vtk.vtkCurvatures()
curv.SetInputData(mesh)
curv.SetCurvatureTypeToGaussian()
curv.Update()
pd = curv.GetOutputData(0)

from pd or would I use curv?