Use start_idx/end_idx to slice to the actual race window (e.g. 10:00–18:00) OR remove them and let get_ghi_curve() return only the race window.