Local wave grouping in a parameter-gradient system and its formation mechanism