code: def test_height_fwhm_calculation(peakdata):
      """Test for correctness of height and FWHM calculation."""
      # mu = 0
      # variance = 1.0
      # sigma = np.sqrt(variance)
      # x = np.linspace(mu - 20*sigma, mu + 20*sigma, 100.0)
      # y = norm.pdf(x, mu, 1)
      x = peakdata[0]
      y = peakdata[1]
      check_height_fwhm(x, y, lineshapes.voigt, models.VoigtModel())
      check_height_fwhm(
          x, y, lineshapes.pvoigt, models.PseudoVoigtModel()
      )
      check_height_fwhm(
          x, y, lineshapes.pearson4, models.Pearson4Model()
      )
      check_height_fwhm(
          x, y, lineshapes.pearson7, models.Pearson7Model()
      )
      check_height_fwhm(x, y, lineshapes.moffat, models.MoffatModel())
      check_height_fwhm(
          x, y, lineshapes.students_t, models.StudentsTModel()
      )
      check_height_fwhm(
          x, y, lineshapes.breit_wigner, models.BreitWignerModel()
      )
      check_height_fwhm(
          x,
          y,
          lineshapes.damped_oscillator,
          models.DampedOscillatorModel(),
      )
      check_height_fwhm(
          x, y, lineshapes.dho, models.DampedHarmonicOscillatorModel()
      )
      check_height_fwhm(
          x,
          y,
          lineshapes.expgaussian,
          models.ExponentialGaussianModel(),
      )
      check_height_fwhm(
          x, y, lineshapes.skewed_gaussian, models.SkewedGaussianModel()
      )
      check_height_fwhm(x, y, lineshapes.doniach, models.DoniachModel())
  
file_path: lmfit-py/tests/test_builtin_models.py
imports: import inspect
  import numpy
  from numpy.testing import assert_allclose
  import pytest
  from scipy.optimize import fsolve
  from lmfit import lineshapes, models
  from lmfit.models import GaussianModel
label_desc: Use image node_id 2 for calling a global function with example usage: test_height_fwhm_calculation(peakdata) without return types