ENH: added 'max' mode to extract_label_time_course