Log amplifier

A log amplifier is an amplifier for which the output voltage Vout is K times the natural log of the input voltage Vin. This can be expressed as, resistor on capacitor
where Vref is the normalization constant in volts and K is the scale factor.