adaptive signal detection