Slot¶
-
class
astroplan.Slot(start_time, end_time)[source]¶ Bases:
objectA time slot consisting of a start and end time
Parameters: start_time :
TimeThe starting time of the slot
end_time :
TimeThe ending time of the slot
Attributes Summary
durationMethods Summary
split_slot(early_time, later_time)Split this slot and insert a new one. Attributes Documentation
-
duration¶
Methods Documentation
-
split_slot(early_time, later_time)[source]¶ Split this slot and insert a new one.
Will return the new slots created, which can either be one, two or three slots depending on if there is space remaining before or after the inserted slot.
Parameters: early_time :
TimeThe start time of the new slot to insert.
later_time :
TimeThe end time of the new slot to insert.
-