Schedule

class astroplan.Schedule(start_time, end_time, constraints=None)[source]

Bases: object

An object that represents a schedule, consisting of a list of Slot objects.

Parameters:

start_time : Time

The starting time of the schedule; the start of your observing window.

end_time : Time

The ending time of the schedule; the end of your observing window

constraints : sequence of Constraint s

these are constraints that apply to the entire schedule

Attributes Summary

observing_blocks
open_slots
scheduled_blocks

Methods Summary

change_slot_block(slot_index[, new_block])
insert_slot(start_time, block)
new_slots(slot_index, start_time, end_time)
to_table([show_transitions, show_unused])

Attributes Documentation

observing_blocks
open_slots
scheduled_blocks

Methods Documentation

change_slot_block(slot_index, new_block=None)[source]
insert_slot(start_time, block)[source]
new_slots(slot_index, start_time, end_time)[source]
to_table(show_transitions=True, show_unused=False)[source]