Table Operations¶
Append Table to Cell Data¶
-
class
PVGeo.filters.tables.
AppendTableToCellData
[source]¶ Bases:
PVGeo.base.FilterPreserveTypeBase
Takes two inputs, a dataset to preserve and a table of data, where the data in the table is appended to the CellData of the input dataset. The 0th port is the dataset to preserve and the 1st port is a table whos rows will be appended as CellData to the 0th port. The number of rows in the table MUST match the number of cells in the input dataset.
Combine Tables¶
-
class
PVGeo.filters.tables.
CombineTables
[source]¶ Bases:
PVGeo.base.FilterBase
Takes two tables and combines them if they have the same number of rows. Currently this cannot handle time varing tables as that gets complicated real quick if the tables do not have the same timestep values
Extract Array¶
-
class
PVGeo.filters.tables.
ExtractArray
[source]¶ Bases:
PVGeo.base.FilterBase
Extract an array from a
vtkDataSet
and make avtkTable
of it.
Reshape Table¶
-
class
PVGeo.filters.tables.
ReshapeTable
(**kwargs)[source]¶ Bases:
PVGeo.base.FilterBase
This filter will take a
vtkTable
object and reshape it. This filter essentially treatsvtkTable``s as 2D matrices and reshapes them using ``numpy.reshape
in a C contiguous manner. Unfortunately, data fields will be renamed arbitrarily because VTK data arrays require a name.
Split Table On Array¶
-
class
PVGeo.filters.tables.
SplitTableOnArray
[source]¶ Bases:
PVGeo.base.FilterBase
A filter to seperate table data based on the unique values of a given data array into a
vtkMultiBlockDataSet
.