Peak filtering