An electromyography is a diagnostic procedure that assesses the health of muscles and the motor neurons that control them.