code: def testSine_partialperiod():
      mod = lmfit.models.SineModel()
      x = np.linspace(-1, 1, 201)
      pars = dict(amplitude=1.5, frequency=0.9, shift=0.4)
  
      y = pars["amplitude"] * np.sin(
          x * pars["frequency"] + pars["shift"]
      )
  
      params = mod.make_params(amplitude=1, frequency=1, shift=-0.2)
      check_fit(mod, params, x, y, pars)
  
file_path: lmfit-py/tests/test_models.py
imports: import numpy
  import lmfit
  from lmfit.lineshapes import gaussian
  from lmfit.models import GaussianModel, SplineModel
label_desc: Use image node_id 5 for calling a global function with example usage: testSine_partialperiod() without return types