get_topic_key#

lsst.ts.watcher.get_topic_key(topic)#

Compute the key unique to a topic.

Parameters:

topic (lsst.ts.salobj.ReadTopic) – Topic.

Returns:

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

Return type:

tuple