code: def _gen_gaussians_even(sigmas, total_length):
      num_peaks = len(sigmas)
      delta = total_length / (num_peaks + 1)
      center_locs = np.linspace(
          delta, total_length - delta, num=num_peaks
      ).astype(int)
      out_data = _gen_gaussians(center_locs, sigmas, total_length)
      return out_data, center_locs
  
imports: from __future__ import division, print_function, absolute_import
  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._lib.six import xrange
  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 2 for calling a global function with example usage: _gen_gaussians_even(sigmas, total_length) and returns: out_data,  center_locs