Electrodiagnostic methods in vision