libgs_ops.scheduling.Schedule

class libgs_ops.scheduling.Schedule(passes=[], buffertime=180)[source]

Class to hold a schedule of passes

Parameters:
  • passes (list(CommsPass)) – List of CommsPass objects
  • buffertime (int, optional) – number of seconds to allow, as a minimum between two passes

Methods

add_pass(tpass) Add a pass to the schedule
copy() Create a copy of the Schedule instance.
from_dict(d) Classmethod to Create Schedule object from a python dictionary representation of the schedule
from_json(data) Classmethod to create Schedule from a json string or from a json file.
pop_pass([index]) Pop the n’th pass from the schedule
remove_pass(tpass) Remove a CommsPass instance from the schedule
to_dict() Convert schedule to its python dictionary representation
to_json() Convert schedule to its json representation

Inherited from base class