def MixedModeConverterVoltage():
    """MixedModeConverterVoltage
    Voltage mixed-mode converter
    @return the s-paramater matrix of a voltage mixed-mode converter.
    Ports 1 2 3 4 are + - D C

    this one has the right definition for differential
    and common mode voltage the way we usually understand it meaning
    that the differential voltage is the difference and the common-mode
    voltage is the average of the plus and minus inputs.
    """
    DF = 1.0
    CF = 2.0
    return [[0.0, 0.0, DF / 2.0, CF / 2.0], [0.0, 0.0, -DF / 2.0, CF / 2.0],
        [1.0 / DF, -1.0 / DF, 0.0, 0.0], [1.0 / CF, 1.0 / CF, 0.0, 0.0]]
