def _cplxpair(z, tol=None):

    z = atleast_1d(z)
    if z.size == 0 or np.isrealobj(z):
        return np.sort(z)

    if z.ndim != 1:
        raise ValueError('z must be 1-dimensional')

    zc, zr = _cplxreal(z, tol)

    # Interleave complex values and their conjugates, with negative imaginary
    # parts first in each pair
    zc = np.dstack((zc.conj(), zc)).flatten()
    z = np.append(zc, zr)
    return z
Similar to parent class, but returns the request object as soon as it
dataset/ETHPy150Open scipy/scipy/scipy/signal/filter_design.py/_cplxpair--crossover with--dataset/ETHPy150Open robcharlwood/django-mothertongue/mothertongue/tests/test_utils.py/RequestFactory.request