peng/wave_core.py
def _homogenize_waves(wave_a, wave_b):
    """
    Generate combined independent variable vector.

    The combination is from two waveforms and the (possibly interpolated)
    dependent variable vectors of these two waveforms
    """
    indep_vector = _get_indep_vector(wave_a, wave_b)
    dep_vector_a = _interp_dep_vector(wave_a, indep_vector)
    dep_vector_b = _interp_dep_vector(wave_b, indep_vector)
    return (indep_vector, dep_vector_a, dep_vector_b)
def _homogenize_waves(wave_a, wave_b):
    """
    Generate combined independent variable vector.

    The combination is from two waveforms and the (possibly interpolated)
    dependent variable vectors of these two waveforms
    """
    indep_vector = _get_indep_vector(wave_a, wave_b)
    dep_vector_a = _interp_dep_vector(wave_a, indep_vector)
    dep_vector_b = _interp_dep_vector(wave_b, indep_vector)
    return (indep_vector, dep_vector_a, dep_vector_b)
Generate combined independent variable vector.

    The combination is from two waveforms and the (possibly interpolated)
    dependent variable vectors of these two waveforms