Text this: Effects of Magnetic Field and an Endoscope on Peristaltic Motion