def get_time_tuple(stage_data):
    start_seconds = (stage_data['start'] - all_start).total_seconds()
    return (start_seconds, stage_data['duration'].total_seconds())
def get_time_tuple(stage_data):
    start_seconds = (stage_data['start'] - all_start).total_seconds()
    return (start_seconds, stage_data['duration'].total_seconds())