docstr: Test with non-C-contiguous input arrays.
docstr_tok: ["Test","with","non-C-contiguous","input","arrays","."]
code: def test_non_contiguous(self):
      """
      Test with non-C-contiguous input arrays.
      """
      x = np.repeat([0, 100, 50], 4)
      peaks = np.repeat([1], 3)
      result = peak_widths(x[::4], peaks[::3])
      assert_equal(result, [0.75, 75, 0.75, 1.5])
  
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 3 for calling the TestPeakWidths obj's underlying member method code with example usage: obj.test_non_contiguous() without return types