Searched refs:cosMean (Results 1 – 2 of 2) sorted by relevance
201 double cosMean = mCosAccumulator / mFramesAccumulated; in calculateMagnitudePhase() local203 double magnitude = 2.0 * Math.sqrt((sinMean * sinMean) + (cosMean * cosMean)); in calculateMagnitudePhase()204 magphase.mPhase = Math.atan2(cosMean, sinMean); in calculateMagnitudePhase()
136 double cosMean = mCosAccumulator / mFramesAccumulated; variable137 double magnitude = 2.0 * sqrt((sinMean * sinMean) + (cosMean * cosMean));139 double phase = M_PI_2 - atan2(sinMean, cosMean);