update _detect_peaks
update _detect_peaks

found a few more if statements that will not be used based on the hardcoded parameters used in triangle function from the threshold sub-package

stiphyMT/plantcv,danforthcenter/plantcv,danforthcenter/plantcv,danforthcenter/plantcv,stiphyMT/plantcv,stiphyMT/plantcv