TableBase¶
-
class
TableBase
¶ -
setVector
()¶ (destination message field) Assigns field value.
-
getVector
()¶ (destination message field) Requests field value. The requesting Element must provide a handler for the returned value.
-
getOutputValue
()¶ (destination message field) Requests field value. The requesting Element must provide a handler for the returned value.
-
getSize
()¶ (destination message field) Requests field value. The requesting Element must provide a handler for the returned value.
-
getY
()¶ (destination message field) Requests field value. The requesting Element must provide a handler for the returned value.
-
linearTransform
()¶ (destination message field) Linearly scales and offsets data. Scale first, then offset.
-
xplot
()¶ (destination message field) Dumps table contents to xplot-format file. Argument 1 is filename, argument 2 is plotname
-
plainPlot
()¶ (destination message field) Dumps table contents to single-column ascii file. Uses scientific notation. Argument 1 is filename
-
loadCSV
()¶ (destination message field) Reads a single column from a CSV file. Arguments: filename, column#, starting row#, separator
-
loadXplot
()¶ (destination message field) Reads a single plot from an xplot file. Arguments: filename, plotnameWhen the file has 2 columns, the 2nd column is loaded.
-
loadXplotRange
()¶ (destination message field) Reads a single plot from an xplot file, and selects a subset of points from it. Arguments: filename, plotname, startindex, endindexUses C convention: startindex included, endindex not included.When the file has 2 columns, the 2nd column is loaded.
-
compareXplot
()¶ (destination message field) Reads a plot from an xplot file and compares with contents of TableBase.Result is put in 'output' field of table.If the comparison fails (e.g., due to zero entries), the return value is -1.Arguments: filename, plotname, comparison_operationOperations: rmsd (for RMSDifference), rmsr (RMSratio ), dotp (Dot product, not yet implemented).
-
compareVec
()¶ (destination message field) Compares contents of TableBase with a vector of doubles.Result is put in 'output' field of table.If the comparison fails (e.g., due to zero entries), the return value is -1.Arguments: Other vector, comparison_operationOperations: rmsd (for RMSDifference), rmsr (RMSratio ), dotp (Dot product, not yet implemented).
-
clearVec
()¶ (destination message field) Handles request to clear the data vector
-
vector
¶ vector<double> (value field) vector with all table entries
-
outputValue
¶ double (value field) Output value holding current table entry or output of a calculation
-
size
¶ unsigned int (value field) size of table. Note that this is the number of x divisions +1since it must represent the largest value as well as thesmallest
-
y
¶ unsigned int,double (lookup field) Value of table at specified index
-