Home
last modified time | relevance | path

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

12

/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/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/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_param_noise_reduction.py98 rgb_snrs = [numpy.mean(r_snrs), numpy.mean(g_snrs), numpy.mean(b_snrs)]
Dtest_reprocess_noise_reduction.py118 rgb_snrs = [numpy.mean(r_snrs),
119 numpy.mean(g_snrs),
120 numpy.mean(b_snrs)]
Dtest_post_raw_sensitivity_boost.py153 mean = sum(vals) / len(vals)
154 print "%s channel vals %s mean %f"%(rgb_str[rgb], vals, mean)
156 ratio = vals[step] / mean
Dtest_burst_sameness_manual.py74 img_mean = imgs.mean(0)
Dtest_ev_compensation_advanced.py93 avg_diff = abs(numpy.array(luma_diffs)).mean()
Dtest_crop_regions.py93 diff = numpy.fabs(tile_full - tile_crop).mean()
/cts/apps/CtsVerifier/jni/verifier/
Dcom_android_cts_verifier_camera_StatsImage.cpp45 float *mean = new float[ngy*ngx*4]; in com_android_cts_verifier_camera_its_computeStatsImage() local
69 mean[gy*ngx*4 + gx*4 + ch] = m; in com_android_cts_verifier_camera_its_computeStatsImage()
76 env->SetFloatArrayRegion(ret, 0, ngx*ngy*4, (float*)mean); in com_android_cts_verifier_camera_its_computeStatsImage()
78 delete [] mean; in com_android_cts_verifier_camera_its_computeStatsImage()
/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/CameraITS/tests/scene5/
Dtest_lens_shading_and_color_uniformity.py95 center_y = numpy.mean(img_y[top:bottom, left:right])
96 center_r_g = numpy.mean(r_g[top:bottom, left:right])
97 center_b_g = numpy.mean(b_g[top:bottom, left:right])
148 block_y = numpy.mean(img_y[top:bottom, left:right])
149 block_r_g = numpy.mean(r_g[top:bottom, left:right])
150 block_b_g = numpy.mean(b_g[top:bottom, left:right])
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
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()
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()
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py401 X0 = (X-X.mean(0)) / numpy.sqrt(((X-X.mean(0))**2.0).sum())
402 Y0 = (Y-Y.mean(0)) / numpy.sqrt(((Y-Y.mean(0))**2.0).sum())
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java92 double mean = getMean(collection); in getVariance() local
95 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/apps/CameraITS/tests/scene3/
Dtest_edge_enhancement.py71 ret["sharpness"] = numpy.mean(sharpness_list)
Dtest_reprocess_edge_enhancement.py77 ret["sharpness"] = numpy.mean(sharpness_list)
/cts/suite/audio_quality/test_description/processing/
Dcheck_spectrum_playback.py55 spectrumMean = np.mean(spectrum)

12