The nerve impulse is characterised by a great influx of sodium ions through channels in the neuron's cell membrane followed by an efflux of potassium ions through other channels. The neuron is unable to fire again for a short time (known as the refractory period), which is mediated by another potassium channel. The flow through these ion channels is governed by a "gate" which is opened by either a voltage change or a chemical messenger known as a ligand (such as a neurotransmitter). These channels are another target for anticonvulsant drugs.
In essence, it is a diet that causes the body to release ketones into the bloodstream. Most cells prefer to use blood sugar, which comes from carbohydrates, as the body’s main source of energy. In the absence of circulating blood sugar from food, we start breaking down stored fat into molecules called ketone bodies (the process is called ketosis). Once you reach ketosis, most cells will use ketone bodies to generate energy until we start eating carbohydrates again. The shift, from using circulating glucose to breaking down stored fat as a source of energy, usually happens over two to four days of eating fewer than 20 to 50 grams of carbohydrates per day. Keep in mind that this is a highly individualized process, and some people need a more restricted diet to start producing enough ketones.
Around this time, Bernarr Macfadden, an American exponent of physical culture, popularised the use of fasting to restore health. His disciple, the osteopathic physician Dr. Hugh William Conklin of Battle Creek, Michigan, began to treat his epilepsy patients by recommending fasting. Conklin conjectured that epileptic seizures were caused when a toxin, secreted from the Peyer's patches in the intestines, was discharged into the bloodstream. He recommended a fast lasting 18 to 25 days to allow this toxin to dissipate. Conklin probably treated hundreds of epilepsy patients with his "water diet" and boasted of a 90% cure rate in children, falling to 50% in adults. Later analysis of Conklin's case records showed 20% of his patients achieved freedom from seizures and 50% had some improvement.