Objective measurement of hepatic encephalopathy in pigs by means of spectral analysis and evoked responses