code: def test_smooth_histo():
      n = 100
      x = np.random.randn(n)
      h, c = smoothed_histogram_from_samples(x, normalized=True)
      thh = 1.0 / np.sqrt(2 * np.pi)
      hm = h.max()
      assert np.absolute(hm - thh) < 0.15
  
file_path: nipy/nipy/algorithms/statistics/tests/test_empirical_pvalue.py
imports: import numpy
  from ..empirical_pvalue import NormalEmpiricalNull, fdr, fdr_threshold, gaussian_fdr, gaussian_fdr_threshold, smoothed_histogram_from_samples
label_desc: Use image node_id 2 for calling a global function with example usage: test_smooth_histo() without return types