finam_vtk.DataArray#

class finam_vtk.DataArray(name, association=None, **info_kwargs)[source]#

Bases: object

Specifications for a VTK data array.

Parameters:
  • name (str) – Data array name in the VTK file.

  • association (str, optionl) – Indicate how data is associated (“point”, “cell”, or “field”). Can be None to be determined.

  • **info_kwargs – Optional keyword arguments to instantiate an Info object (i.e. ‘grid’ and ‘meta’) Used to overwrite meta data, to change units or to provide a desired grid specification.

Methods

get_meta()

Get the meta-data dictionary of this data array.

get_meta()[source]#

Get the meta-data dictionary of this data array.