MIMOTable

Defined in module: wield.control.MIMOtable.MIMOtable.MIMOTable

class MIMOTable(table, rownames, colnames, colunits=None, rowunits=None)[source][github]

Bases: object

__init__(table, rownames, colnames, colunits=None, rowunits=None)[source][github]

Methods

__init__(table, rownames, colnames[, ...])

copy()

cut(threshold[, replace, inplace])

Apply a threshold and cutoff to the table.

loop_close(row, col[, pushrow, pushcol])

Apply an infinite-gain loop from the row sensor to the col actuator.

push_col(colname)

Pushes a column to the back of the table

push_row(rowname)

Pushes a row to the back of the table

sort([rownames, colnames])

Sorts the table by rows or columns

tabulate([diag, units, tablefmt, transform, ...])

copy()[source][github]
sort(rownames=None, colnames=None)[source][github]

Sorts the table by rows or columns

The inputs are the rownames or colnames which have been sorted. If either is not specified, then the existing order is used

push_col(colname)[source][github]

Pushes a column to the back of the table

push_row(rowname)[source][github]

Pushes a row to the back of the table

cut(threshold, replace=None, inplace=False)[source][github]

Apply a threshold and cutoff to the table. This will hide elements that are under the cutoff

threshold represents a ratio of each element to the max of its column or the max of its row.

loop_close(row, col, pushrow=True, pushcol=True)[source][github]

Apply an infinite-gain loop from the row sensor to the col actuator. This then propagates the cross couplings to give the residual couplings of other matrix entrees.

tabulate(diag=None, units=True, tablefmt='simple', transform=None, drop_character='↓')[source][github]