Virgo Logbook
UTC--:--:--
GPS-
Reports
Detector Operation›Automation #43924

Metatron dictionary states <-> indices

The alias metatron_dictionary has been added to allow to find which state/index corresponds to a given Metatron index/state -- so it works both ways. The syntax is

metatron_dictionary

and the script returns

When either the node or the index/state does not exist, the script returns 'Unknown'

=> See examples below:

ctrl6|~>alias metatron_dictionary
alias metatron_dictionary='/virgoApp/DetcharScripts/v0/scripts/metatron_dictionary'
ctrl6|~>metatron_dictionary ITF_LOCK 160
ITF_LOCK 160 LOW_NOISE_3
ctrl6|~>metatron_dictionary ITF_LOCK LOW_NOISE_3
ITF_LOCK LOW_NOISE_3 160
ctrl6|~>metatron_dictionary ITF_LOCK 161
ITF_LOCK 161 Unknown
ctrl6|~>metatron_dictionary ITF_LOCKKKK 160
ITF_LOCKKKK 160 Unknown
ctrl6|~>metatron_dictionary ITF_LOCK LOW_NOISE_4
ITF_LOCK LOW_NOISE_4 Unknown

The script relies on the Metatron documentation that is automatically regenerated every morning. So the dictionary does not include the changes made since the documentation was regenerated for the last time. If the documentation breaks, the dictionary may not work. In that case (or if your favourite Metatron node is not included in the dictionary), contact me.