Edit code to view either trajectories or odor-triggered segments.