The popular name undulant fever originates from the characteristic undulance (or wave-like nature) of the fever, which rises and falls over weeks in untreated patients.
Where the electrocardiogram detects muscular activity in various regions of the heart, the electrogastrogram detects the wave-like contractions of the stomach (peristalsis).