The cdsutils installation has been updated to r440, which includes a new CDSMatrix object that, once initialized, can be used to reference CDS front end EPICS matrix elements by name.
NOTE: this object uses the standard (row, column) ordering, for consistency with the most matrix element reference standards.
Example usage:
jameson.rollins@operator1:~ 0$ cdsutils --version cdsutil 440 jameson.rollins@operator1:~ 0$ guardian -i -------------------- aLIGO Guardian Shell -------------------- ezca prefix: H1: In [1]: from cdsutils import CDSMatrix In [2]: m = CDSMatrix('LSC-PD_DOF_MTRX', rows={'DARM': 1, 'MICH': 2,}, cols={'OMC': 1, 'POP_A_RF45_Q': 5}) In [3]: m Out[3]:
In [4]: m('MICH', 'POP_A_RF45_Q') Out[4]: 'LSC-PD_DOF_MTRX_2_5' In [6]: m['MICH', 'POP_A_RF45_Q'] Out[6]: 0.0 In [7]: m['DARM', 'POP_A_RF45_Q'] = 0