Data Type: Label Analysis ()

Description:

This data type represents a read only spreadsheet. As with any spreadsheet, you can display it in the Tables panel, compute its histogram, plot it, query it from Tcl scripts, and import it into an external spreadsheet program like Microsoft Excel.
When Label Analysis is displayed, two spreadsheets appears in the same table. The first one is a summary of the second one. It is composed of statistics computed on each column ( Means, Min, Max, Median, Variance, Kurtosis and Skewness ). Label Analysis are generated by Label Analysis module.

Note: In order to edit cell values, add or remove rows or columns, you can use the converter Analysis To Spreadsheet.

Connections:

Master [optional]
Connection to the compute module that the data is generated by.

Ports:

Table

A push button which allows showing the spreadsheet in the table panel.

Commands:

getSelection [table:0]
Returns the indices list of the selected cells from the spreadsheet.
Each coordinate is returned as {column_number row_number}.

setSelection { {col1 row1} {col2 row2} ... {coln rown} }
Select spreadsheet cells according to given indices.

getNumRows [table:0]
Returns the number of rows constituting the table.

getValue [table:0] <col> <row>
Returns the value of the specified cell.

getNumTables
Returns the number of tables.

getTableName <tableId>
Returns the specified table name.

getColumName [tableId:0] <col>
Returns the specified column name.

findColumnIndexByName [tableId] <colName>
Returns the index of the specified column

getNumOfCol [tableId:0]
Returns the number of columns.

setNumPrecisionCol [table:0] <col> <precision>
Changes the column precision. Precision is the number of significant digits.