code: def point_scalar(mesh, name):
      
      vtkarr = mesh.GetPointData().GetArray(name)
      if vtkarr:
          if isinstance(vtkarr, vtk.vtkBitArray):
              vtkarr = vtk_bit_array_to_char(vtkarr)
          return vtk_to_numpy(vtkarr)
docs: Returns point scalars of a vtk object