get_topic_key

lsst.ts.watcher.get_topic_key(topic)

Compute the key unique to a topic.

Parameters
topiclsst.ts.salobj.ReadTopic

Topic.

Returns
topic_keytuple

Topic key: (SAL component name, SAL index, topic attribute name) where topic attribute name includes the tel_ or evt_ prefix. Example: ("ESS", 5, "tel_hx85a")