The SetSign method sets the flag that
controls whether centroid calculations are made on peaks or
valleys. Set the value true to calculate centroid on peaks.
Syntax
CCentroid:SetSign( bPeaks )
Set bPeaks true to centroid on
peaks or false to centroid on valleys.