AMIGOf PI tuning & rationalize peak detection