code: def test_gauss_noiselevel():
      """Test that dely increases as expected with changing noise level."""
      lonoise = 0.05
      hinoise = 10 * lonoise
      x, y, model, params = get_gaussianmodel(
          amplitude=20.0, center=2.1, sigma=1.0, noise=lonoise
      )
      ret1 = model.fit(y, params, x=x)
      dely_lonoise = ret1.eval_uncertainty(sigma=1)
  
      x, y, model, params = get_gaussianmodel(
          amplitude=20.0, center=2.1, sigma=1.0, noise=hinoise
      )
      ret2 = model.fit(y, params, x=x)
      dely_hinoise = ret2.eval_uncertainty(sigma=1)
  
      assert_allclose(
          dely_hinoise.mean(), 10 * dely_lonoise.mean(), rtol=1.0e-2
      )
  
file_path: lmfit-py/tests/test_model_uncertainties.py
imports: import os
  import numpy
  from numpy.testing import assert_allclose
  from lmfit.lineshapes import gaussian
  from lmfit.models import ExponentialModel, GaussianModel, LinearModel
label_desc: Use image node_id 6 for calling a global function with example usage: test_gauss_noiselevel() without return types