``` # TODO: argmin only works for negative threshold crossings PeakInd = FilteredArr[SampArr, ChArr].argmin() ```