code: def header_properties(field_list, field_names):
      # List of lines to write
      lines = []
  
      # First line describing element vertex
      lines.append("element vertex %d" % field_list[0].shape[0])
  
      # Properties lines
      i = 0
      for fields in field_list:
          for field in fields.T:
              lines.append(
                  "property %s %s" % (field.dtype.name, field_names[i])
              )
              i += 1
  
      return lines
  
file_path: torch-points3d/torch_points3d/modules/KPConv/plyutils.py
imports: import numpy
  import sys
  import logging
label_desc: Use image node_id 4 for calling a global function with example usage: header_properties(field_list, field_names) and returns: lines