Home
last modified time | relevance | path

Searched refs:mean (Results 1 – 25 of 25) sorted by relevance

/cts/libs/commonutil/src/com/android/cts/util/
DStatisticsUtilsTest.java60 double mean = StatisticsUtils.getMean(values); in testGetMean() local
61 assertEquals(2.0, mean, 0.00001); in testGetMean()
64 mean = StatisticsUtils.getMean(values); in testGetMean()
65 assertEquals(3.0, mean, 0.00001); in testGetMean()
68 mean = StatisticsUtils.getMean(values); in testGetMean()
69 assertEquals(6.0, mean, 0.00001); in testGetMean()
DStatisticsUtils.java77 double mean = getMean(collection); in getVariance() local
80 double difference = mean - value.doubleValue(); in getVariance()
/cts/apps/CameraITS/tests/scene1/
Dtest_tonemap_sequence.py49 means.append(tile.mean(0).mean(0))
58 means.append(tile.mean(0).mean(0))
Dtest_crop_region_raw.py118 img = img.reshape(h/2,2,w/2,2,3).mean(3).mean(1)
139 diff_yuv = numpy.fabs((imgs2["yuv_full"] - imgs2["yuv_crop"])).mean()
140 diff_raw = numpy.fabs((imgs2["raw_full"] - imgs2["raw_crop"])).mean()
Dtest_dng_noise_model.py85 mean = tile.mean()
91 var_expected[ch].append(s * mean + o)
Dtest_burst_sameness_manual.py74 img_mean = imgs.mean(0)
Dtest_ev_compensation_advanced.py81 avg_diff = abs(numpy.array(luma_diffs)).mean()
Dtest_crop_regions.py93 diff = numpy.fabs(tile_full - tile_crop).mean()
/cts/apps/CameraITS/tests/scene0/
Dtest_gyro_bias.py60 xs = xs.reshape(nevents/N, N).mean(1)
61 ys = ys.reshape(nevents/N, N).mean(1)
62 zs = zs.reshape(nevents/N, N).mean(1)
73 assert(samples.mean() < MEAN_THRESH)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationVerifier.java118 double mean = computeMean(deltas); in assertMeanAndStdev() local
119 double stdev = computeStdev(mean, deltas); in assertMeanAndStdev()
122 if (mean < minMean) { in assertMeanAndStdev()
123 fail(provider + " provider mean too small: " + mean in assertMeanAndStdev()
135 mCb.log(provider + " provider mean: " + mean); in assertMeanAndStdev()
147 private double computeStdev(double mean, List<Long> deltas) { in computeStdev() argument
150 double diff = d - mean; in computeStdev()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DMagnitudeVerification.java98 float mean = mSum / mCount; in verify() local
99 boolean failed = Math.abs(mean - mExpected) > mThreshold; in verify()
102 stats.addValue(SensorStats.MAGNITUDE_KEY, mean); in verify()
106 mean, mExpected, mThreshold)); in verify()
/cts/apps/CameraITS/tests/inprog/scene2/
Dtest_dng_tags.py81 cm_scale = cm.mean(1).mean(0) / cm_ref.mean(1).mean(0)
/cts/apps/CameraITS/tests/dng_noise_model/
Ddng_noise_model.py155 np.mean(tile(p, tile_size), axis=(0, 1)).flatten()
159 for (mean, var) in zip(means_tiled, vars_tiled):
162 if mean + 2*math.sqrt(var) < max_signal_level:
163 samples_e.append([mean, var])
175 samples.extend([(round(s), mean, var) for (mean, var) in samples_s])
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUtil.java24 public static double mean(double[] data) { in mean() method in Util
25 Mean mean = new Mean(); in mean() local
26 return mean.evaluate(data); in mean()
DWavAnalyzer.java84 coeffOfVar[i] = Util.std(powerAtFreq) / Util.mean(powerAtFreq); in isConsistent()
86 if (Util.mean(coeffOfVar) > 1.0) { in isConsistent()
107 if (Util.mean(dB) - Util.mean(noiseDB) < Common.SIGNAL_MIN_STRENGTH_DB_ABOVE_NOISE) { in responsePassesHifiTest()
119 if (Util.mean(responseInRange) < threshold) { in responsePassesHifiTest()
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py384 X0 = (X-X.mean(0)) / numpy.sqrt(((X-X.mean(0))**2.0).sum())
385 Y0 = (Y-Y.mean(0)) / numpy.sqrt(((Y-Y.mean(0))**2.0).sum())
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbase.js183 var mean = BenchmarkSuite.GeometricMean(this.results);
184 var score = this.reference / mean;
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java81 double mean = getMean(collection); in getVariance() local
84 double difference = mean - value.doubleValue(); in getVariance()
/cts/apps/CameraITS/tests/inprog/
Dtest_burst_sameness_auto.py81 img_mean = imgs.mean(0)
Dtest_burst_sameness_fullres_auto.py75 img_mean = imgs.mean(0)
/cts/suite/audio_quality/test_description/processing/
Dcheck_spectrum_playback.py55 spectrumMean = np.mean(spectrum)
Dcheck_spectrum.py60 ratioMean = np.mean(amplitudeRatio)
/cts/apps/CameraITS/pymodules/its/
Dimage.py589 means.append(numpy.mean(img[:,:,i], dtype=numpy.float64))
662 ch = ch.reshape(h,w/f,f).mean(2).reshape(h,w/f)
663 ch = ch.T.reshape(w/f,h/f,f).mean(2).T.reshape(h/f,w/f)
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py375 average_baseline_amps = scipy.mean(