Electromyography refers to a method utilizing either surface electrodes or fine wire/needle electrodes to detect the action potentials of muscles and provide an electronic readout of the contraction intensity and duration.