SurveyTopology

class lsst.ts.scheduler.driver.SurveyTopology

Bases: object

Stores information about survey topology.

Survey topology is basically an account of how many proposals are defined, the type of proposal and their names.

Attributes Summary

num_props

Total number of proposals.

Methods Summary

as_dict()

Return survey topology as a dictionary.

from_topic(topic)

Update internal information from the topic data.

Attributes Documentation

num_props

Total number of proposals.

Methods Documentation

as_dict() dict[str, int | list[str]]

Return survey topology as a dictionary.

Returns:
dict

Dictionary with survey topology data.

from_topic(topic: BaseMsgType) None

Update internal information from the topic data.