add peak detection block for single target (find max peak) with testcases, db threshold is correct implemented?