PyFoam.Basics.TableData module

A simple object for table data where data is accessed with a tuple (rowLabel,colLabel)

class PyFoam.Basics.TableData.TableData(rowLabels, columnLabels)[source]

Bases: object

A simple table. Current limitiation is that column and row labels have to be known at creation time

apply(func)[source]

Return the table with a function applied to it :param func: the function to apply to each element

columns()[source]

Iterate over the column names

getIndex(labels)[source]

Return the numeric indizes for these labels

max()[source]

Return the maximum of the data in the table

min()[source]

Return the minimum of the data in the table

rows()[source]

Iterate over the row names