PyFoam.Basics.GnuplotCompare module
Compare files with Gnuplot
- class PyFoam.Basics.GnuplotCompare.GlobGnuplotCompare(pattern, col=2, common=None)[source]
Bases:
GnuplotCompareWrapper to Gnuplot Compare to compare files with similar names
- __init__(pattern, col=2, common=None)[source]
- Parameters:
pattern – The pattern for which to look
col – The colum that is to be compared
common – String that is to be removed from the filename before using it as a name
- __module__ = 'PyFoam.Basics.GnuplotCompare'
- class PyFoam.Basics.GnuplotCompare.GnuplotCompare(files, col=2)[source]
Bases:
objectClass that compares a number of files with gnuplot
- __annotations__ = {}
- __dict__ = mappingproxy({'__module__': 'PyFoam.Basics.GnuplotCompare', '__doc__': 'Class that compares a number of files with gnuplot', '__init__': <function GnuplotCompare.__init__>, 'writePlotFile': <function GnuplotCompare.writePlotFile>, '__dict__': <attribute '__dict__' of 'GnuplotCompare' objects>, '__weakref__': <attribute '__weakref__' of 'GnuplotCompare' objects>, '__annotations__': {}})
- __init__(files, col=2)[source]
- Parameters:
files – a list of tuples: (filename,name [,col])
col – the default column to use
- __module__ = 'PyFoam.Basics.GnuplotCompare'
- __weakref__
list of weak references to the object (if defined)