iode.TableCell.coefficients

property TableCell.coefficients: List[str]

Get the list of coefficients (scalars) associated with the LEC expression of a cell of type β€˜LEC’.

Returns:
list(str)

Examples

>>> from iode import SAMPLE_DATA_DIR
>>> from iode import variables, tables
>>> variables.load(f"{SAMPLE_DATA_DIR}/fun.var")
Loading .../fun.var
394 objects loaded
>>> tables.load(f"{SAMPLE_DATA_DIR}/fun.tbl")
Loading .../fun.tbl
46 objects loaded
>>> table = tables["ANAKNFF"]    
>>> table[5]
('"Output gap "', 'knff1*ln (QAFF_/(Q_F+Q_I))')
>>> table[5][1].coefficients
['knff1']