algorithm comparison in signal detecting