partialElevGap function

Controller function for partial elevation/gap pattern-matching