docstr: Generate a series of gaussians and attempt to find the peak locations.
code: def test_find_peaks_exact(self):
      """
      Generate a series of gaussians and attempt to find the peak locations.
      """
      sigmas = [5.0, 3.0, 10.0, 20.0, 10.0, 50.0]
      num_points = 500
      test_data, act_locs = _gen_gaussians_even(sigmas, num_points)
      widths = np.arange(0.1, max(sigmas))
      found_locs = find_peaks_cwt(
          test_data, widths, gap_thresh=2, min_snr=0, min_length=None
      )
      np.testing.assert_array_equal(
          found_locs,
          act_locs,
          "Found maximum locations did not equal those expected",
      )
  
imports: import copy
  import numpy
  from numpy.testing import assert_, assert_equal, assert_allclose, assert_array_equal
  import pytest
  from pytest import raises, warns
  from scipy.signal._peak_finding import argrelmax, argrelmin, peak_prominences, peak_widths, _unpack_condition_args, find_peaks, find_peaks_cwt, _identify_ridge_lines
  from scipy.signal._peak_finding_utils import _local_maxima_1d, PeakPropertyWarning
label_desc: Use image node_id 1 for calling the TestFindPeaksCwt obj's underlying member method code with example usage: obj.test_find_peaks_exact() without return types