FIELD AND BACKGROUND OF THE INVENTION 
     The present invention relates in general to the field of electric current computed tomography or ECCT, and, in particular, to a new and useful method and apparatus for determining which pattern of current to apply to the surface of a body in order to best distinguish an unknown conductivity distribution within the body from a known conductivity distribution. 
     Various interior regions and organs of the human body are known to have different conductivity. Knowledge concerning the patterns of this conductivity can be used as a clinical tool. Differences in conductivity can indicate, for example, the presence of breast tumors. 
     U.S. Pat. No. 4,539,640 to Fry et al discloses a system and method of impedance imaging which utilizes an array of electrodes that are applied to the outer surface of a torso to be examined in a non-invasive manner. Currents are applied to the electrodes and resulting voltages are measured. Calculations are then made to construct an image for impedances in the body. This reference, however, does not teach how a best possible distribution of currents can be applied to the electrodes for best distinguishing the electrical properties of different areas in the body. 
     An apparatus and method for detecting tumors in living tissue is disclosed in U.S. Pat. No. 4,291,708 to Frei et al, which determine dielectric constants of various local regions in the tissue. This apparatus and method is drawn primarily to detecting tumors in breast tissue. It does not teach how one should go about selecting a current pattern for application to a plurality of electrodes for determining the electrical properties of the human tissue. 
     U.S. Pat. No. 4,486,835 to Bai et al teaches an ECCT technique, which utilizes an array of electrodes to be applied to an area of the human body and supplied with electric voltages. Currents produced by these voltages are then measured to calculate the electrical properties at a plurality of locations in the body for the purpose of producing a visual representation of the electrical properties. 
     So-called impedance cameras and other techniques for imaging patterns of electrical properties within the human body and other objects are disclosed in: 
     (1) R. J. Lytle and K. A. Dines, &#34;An impedance camera: a system for determining the spatial variation of electrical conductivity,&#34; Lawrence Livermore Laboratory Report, UCRL-52413, 1978. 
     (2) R. P. Henderson and J. G. Webster, &#34;An impedance camera for spatially specific measurements of the thorax,&#34; IEEE Trans. Biomed, Eng. Vol. BME-25, No. 3, p. 250-254, May 1978. 
     (3) R. H. Bates, G. C. McKinnon, and A. D. Seager, &#34;A limitation on systems for imaging electrical conductivity distributions,&#34; IEEE Trans. Biomed. Eng., Vol. BME-27, p. 418-420, July 1980. 
     (4) T. Muari and Y. Kagawa, &#34;Electrical impedance computed tomography based on a finite element model,&#34; IEEE Trans. Biomed Eng. Vol. BME-32, No. 3, p. 177-184, March 1985. 
     SUMMARY OF THE INVENTION 
     The present invention provides a method and apparatus for automatically determining the best pattern of currents to apply to the electrodes of an array in an electric current computed tomography (ECCT) system. In an ECCT system, having a finite precision, an object of the invention is to find the best current pattern which permits the system to distinguish between an unknown conductivity σ inside the body from a given conductivity s. 
     In order for an ECCT system to image a conductivity σ, it must be able to distinguish it from all conductivities, s=s(p), in some class of functions. In other words, there must be some current j l  whose voltage v (p;σ,j l ) differs from voltage for the other conductivities v(p;s,j l ), by more than the precision of the ECCT system. Otherwise, the system cannot distinguish σ from s (where p is a point in the body). 
     In a paper by the inventor (D. Isaacson, &#34;Distinguishability of Conductivity by Electric Current Computed Tomography&#34;, IEEE Transaction of Medical Imaging, Vol. MI-5, No. 2, June 1986), it was shown what the best pattern of current j l  is to distinguish σ, the unknown conductivity from s, a known conductivity. 
     The present invention provides an automatic process by which an ECCT system can find this best pattern of current. The present invention solves the problem of whether or not the ECCT system can distinguish the unknown conductivity from the selected known conductivity. The invention also yields the best pattern of current for distinguishing these two conductivities. 
     While the present invention is particularly useful for non-invasive medical diagnosis, it can also be utilized for imaging the interior of materials other than living tissue, for geophysical imaging of the earth and oceans and other fields where imaging changes in conductivity would be useful. 
     The method of the present invention automatically finds the best current j l  to distinguish the unknown conductivity σ inside a body from a given or selected conductivity s, by following the steps of: 
     (a) Guessing a current j o  (p) and applying it to the surface of the body; 
     (b) Measuring and recording the resulting voltage for the unknown conductivity v (p; σ, j o ); 
     (c) Calculating or analytically computing the voltage for the given conductivity, v (p; s, j o ); 
     (d) Numerically calculating the difference between the measured and computed voltages; 
     
         y(1)=(v (p;σ,j.sup.o)-v (p;s,j.sup.o)) 
    
      (where p is a point in the body) 
     
         and j.sup.l =y(1)/∥y(1)∥ 
    
     (e) If j l  (p) and j o  (p) differ by less than the precision of the ECCT system, then j l  =j l  (p). 
     If not, the guessed current j o  (p) is changed to the new current j l  (p) and applied as a new current in step (a) above to repeat the process. Likewise, the process is repeated until the best current pattern j l  is found to match the precision of the ECCT system. To better understand the present invention, a description of the forward and inverse problems to be solved will first be given. Letting B denote a body and S its surface, it is first assumed that B is a linear conductor with scalar conductivity σ=σ(p), where p is a point in the body as in the foregoing equations. 
     The voltage or potential U=U(p) is assumed to satisfy 
     
         ∇·σ∇U=0 
    
     in B. The current density vector is denoted by J=J(p) and is given by 
     
         J≡-σ∇U. 
    
     In the forward problem, it is assumed that σ, and the normal component of the current density vector on the body&#39;s surface S are given. 
     In other words, on S we are given ##EQU1## where n denotes the unit outward normal vector on S. 
     If one specifies U at one point in B, and one chooses a j for which ##EQU2## then there is a unique solution U(p) to the preceding equations. Its restrictions to the boundary S is denoted by 
     
         V=V(p)≡U(p), 
    
     for p on S. 
     Thus, the forward problem is to find the voltage V on the body&#39;s surface S, given the conductivity σ and current j. To emphasise that the voltage V is a linear functional of j and a non-linear functional of σ, one writes 
     
         V=V (p;σ,j). 
    
     This forward problem can be solved numerically by finite difference or finite element methods. 
     The inverse problem is to find the conductivity o in B from a knowledge of 
     
         V.sub.k ≡V(p;σ,j.sub.k) 
    
     for a sequence of currents j k , k=1,2,3, . . . 
     The various features of novelty which characterize the invention are pointed out with particularity in the claims annexed to and forming a part of this disclosure. For a better understanding of the invention, its operating advantages and specific objects attained by its uses, reference is made to the accompanying drawings and descriptive matter in which a preferred embodiment of the invention is illustrated. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a perspective view of an idealized model of a thorax in the form of a tank used to demonstrate the present invention; 
     FIG. 2 is a graph plotting absolute voltage difference for electrodes around the tank against the diameter of target objects in the tank for demonstrating the present invention; 
     FIG. 3 is an illustration showing the relative sizes of the smallest non-homogeneous area distinguishable from a uniform background for three current patterns applied to the electrodes around the tank; 
     FIG. 4 is a block diagram showing the apparatus used to demonstrate the present invention in conjunction with the thorax model; 
     FIG. 5A is a graph plotting the applied current against the angle of the electrode around the tank for three iterations of the inventive method, in the presence of a forty-one millimeter diameter circular conductive target in the center of the tank; 
     FIG. 5B is a view similar to FIG. 5A plotting the measure of voltage against the angle; 
     FIG. 6A is a view similar to FIG. 5A for four iterations where the same target was moved to the 45° location at a radius of 0.5 of the tank diameter; 
     FIG. 6B is a view similar to FIG. 6A plotting the measure of voltage against angle; and 
     FIG. 7 is a flow chart showing the adaptive current selecting scheme of the present invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The present invention is designed primarily for application to biological systems. As noted above, however, it also has applications in other fields where an image of conductivity patterns within a body is desired. 
     The most promising application for the present invention, on biological systems, is for the thorax of a human body. For this reason, an invitro idealized model of the thorax is used to demonstrate the invention. 
     FIG. 1 is a schematic representation of a cylindrical tank generally designated 31 having a plastic cylindrical wall 34, a closed bottom 37 and a top 35. Thirty-two electrodes E are distributed in an array generally designated 10 around the tank 31. Each electrode is fashioned from a titanium plate having a platinum-iridium surface. These electrodes are arranged on the interior surface of the cylindrical plastic tank 31. The tank has a radius r o  of 15 cm and a height or depth h of 6.5 cm. The electrodes are each 28.4 mm wide (W) and leave a 1 mm gap 36 between adjacent electrodes. Each electrode extends the full height h of the tank. 
     To demonstrate the present invention, the tank 31 was filled to a depth of 36 mm with different saline solutions having various electrical conductivities over the range of interest. Targets with different geometries and conductivities were then placed in the tank. Metal or plastic targets were used for conductivity of infinity (conducting) and zero (insulating). When conductivity similar to that of the bath in the tank were desired, mixtures of agar in saline were used to produce gelatine-like structures of desired geometry and conductivity. 
     To better understand the theory of the inventive process, consider a body B whose internal conductivity at a point p is σ(p) and which is surrounded by a surface S having area A. If L electrodes are then placed on the surface S, the area available for each electrode is A/L. In practice, the electrodes cannot cover the surface, which must have inter-electrode gaps. If f is the fraction of the available area covered by the electrodes, than fA/L is the area of each electrode. 
     For 1=1,2, . . . , L; I l   k  denotes the k th  current applied to the l th  electrode and V l   k  denotes the k th  voltage that results on the l th  electrode. 
     In the tank, shown in FIG. 1, S is a cylinder of radius r o  with L electrodes E placed on its sides of height h and width. 
     
         W=f·r.sub.o.sup.0.2π/L. 
    
     When the cylinder is filled with saline of conductivity σ o  to a height h and currents I l   k  are applied to the electrodes E centered at θ l  =1·2π/L, a current density j k  =j k  (θ), that is independent of depth, results on S. 
     Generally, this current density has a fourier series representation ##EQU3## This current density results in voltages V l   k  =V l   k  (σ o ). 
     Let V l   k  (s) denote the voltages that the k th  current would produce on the l th  electrode when a cylinder of radius r, depth h, and conductivity σ is centered in the previous saline filled tank or phantom. 
     The voltage difference between homogeneous and centered phantoms, δV l   k  is then approximately given by 
     
         δV.sub.l.sup.k =V.sub.l.sup.k (σ.sub.o)-V.sub.l.sup.k (s)(1) 
    
     where 
     
         p.sub.n.sup.k =(r.sub.o /σ.sub.o n)·(2μR.sup.2n)/(1+μR.sup.2n) 
    
     and 
     
         μ≡(σ-σ.sub.o)/(σ+σ.sub.o) 
    
     
         R≡r/r.sub.o 
    
     This formula (1) is compared with experiments illustrated in FIG. 2 for the currents (in mA) ##EQU4## The cosine pattern I l  yields the largest voltage differences and enables one to distinguish smaller centered targets than the other patterns. 
     A centered cylindrical conductor of radius r can be distinguished from a uniform background by the current pattern I k  only if the maximum voltage difference, max l  |δV l   k  |≧ε v  where ε v  is the smallest voltage difference the system can reliably measure. 
     When L is large and f is approximately one, it follows from (1) that for the cosine current pattern I 1  this is the case if ##EQU5## For the single current I 2  applied between a pair of adjacent electrodes: 
     
         r≧r.sub.a ≡[4 sin (fπ/L) sin (π/L)/π].sup.-1/2 r.sub.b.                                                  (3) 
    
     For the single current I 3  applied between opposite electrodes: 
     
         r≧r.sub.p ≡[4 sin (fπ/L)/π].sup.-1/2r b.(4) 
    
     Here 2r b , 2r a  and 2r p  yield the diameters of the smallest centered, conducting cylinders that can be distinguished from a uniform background. When r o  =15 cm, σ o   -1  =350 Ω-cm, L=32, h=3.6 cm. and E v  =5 mV the respective diameters are 0.9, 2.6 and 8.3 cm as shown in FIG. 3 and confirmed by experiment. 
     In general, one measures the ability of a current pattern I k  =(I l   k , I 2   k , . . . I L   k ), to distinguish between two conductivities σ and by a single number, the &#34;distinguishability δ&#34; where ##EQU6## 
     We define I* to be a &#34;best&#34; pattern of current to distinguish o from  s  if I* maximizes the distinguishability, i.e. 
     
         δ(σ,s;I*)=max.sub.I δ(σ,s;I) 
    
     For the previous example, it can be proven that I 1  is a &#34;best&#34; pattern. In general, the best pattern depends on σ and s and cannot be known in advance. 
     The inventive process for producing the &#34;best&#34; I to distinguish σ from s is shown in FIG. 7 where the process is illustrated in terms of current density j. FIG. 7 illustrates the following steps of the invention: 
     (a) Guess any I k  for k=0.sup.(J(o)). 
     (b) Measure and compute V k  (σ) and V k  (s). 
     (c) Compute ##EQU7## (d) If ∥I k+1  -I k  ∥≦ε (minimum current difference specifiable) stop, otherwise set k=k+1, and go to step (b). 
     In order to be able to produce these &#34;best&#34; current patterns, the instrument of FIG. 4 is used. 
     The overall system architecture was designed for maximum flexibility with a minimum of special-purpose hardware. The system is an array of thirty-two current generators 12, 13, each of which has a separately programmable output level. A single voltmeter 22 is attached sequentially through a multiplexer 20 to each electrode E of array 10 in tank 31 for measurement purposes. This special-purpose hardware is connected to a microcomputer 14 (e.g. an IBM PC-AT) through a general-purpose analogue and digital interface board 24, 26 (e.g., a Data Translation DT2800). Synchronization between the instrument and software is accomplished by having the software write clock signals to the digital output port 24. A stable sinusoidal oscillator 28, at 15 kHz is included in the instrument. 
     The 15 kHz oscillator output is buffered and directed to each of thirty-two current generators 12, 13. Each generator is based upon a three-amplifier configuration, using type LF 412 op-amps. The output of each generator 12, 13 is coupled through a 1 (mu)F capacitor directly to the output electrode. The maximum load for the current generators is 1,000 ohms at 5 mA rms. With an output current sensing resistor of 432 ohms, the op-amp output voltage ranges between about 2-7 V rms for load resistances between 0 and 1,000 ohms. Input to each current generator is obtained from a multiplying digital-to-analogue converter (DAC) (e.g., an AD 7549), operating as a digitally controlled attenuator 30. The analogue input signal to the DAC reference terminal is the 15 kHz output from the oscillator 28. Digital input to the DAC is obtained from the digital output port 24 of the computer through the DT 2800  board. Some complexity is introduced here since the DAC used requires a sequence of three &#34;nibbles&#34; of four bits each to acquire a full 12 bit word it then converts. This requirement is handled by the controlling software and on-board digital sequencer 40. The DAC circuit is configured as a 4 quadrant converter, so that currents of either polarity and between 0-5 mA rms amplitude may be produced by any of the thirty-two current generators. 
     One of the electrodes of tank 31 is grounded. For this reason, only thirty-one current generators 12 are actually needed to implement the 32 electrode scheme. The thirty-second current generator 13 is connected to a precision fixed resistor 18, and serves as a reference and test channel. 
     The digital multiplexer 20 selects one of the 32 electrodes and connects it to the input stage of the voltmeter 22. This meter consists of a two-stage high-pass filter (f co  -1.9 kHz), followed by a synchronous full-wave demodulator (AD 630). The demodulator is an active switching device synchronized with the oscillator output through an adjustable phase shifter, which compensates for small phase shifts elsewhere in the circuit. 
     The detector switches at the exact zero crossings of the real component of the voltage signal. 
     A two-stage low-pass filter having poles or cutoff frequencies of 177 Hz and 1770 Hz then produces a ±5 volt DC signal proportional to the electrode voltage amplitude. This voltage is sampled by the analogue-to-digital convertor (ADC) 26 of the interface board (DT 2801/5716), which has 16 bit resolution, programmable gain, and is under software control. The filter has a calculated attenuation at 24 kHz of 65.0 db, and a calculated ripple of 4 millivolts peak with a 7 volt rms input. 
     A single digital sequencer 40 addresses both the current generator 12, 13 and the demultiplexer 20 for the voltmeter 22. Under software control, a master reset signal assures that the sequence begins with channel 1. Sequential counters 38 are then used to address the DAC&#39;s 30 as the digital words representing the desired amplitude for each generator are transmitted. When the DAC addressing lines 16 are enabled, new current-specifying words are latched into the DAC&#39;s, so that new currents are applied to each electrode E. During the read sequence, when the software does not enable the DAC address line, the counter addresses each channel of the multiplexer 20 in sequence and presents the output of each electrode to the voltmeter 22. The ADC 26 input is then read by the software as the desired input data, with a 15 msec interval allowed between successive electrodes. 
     The special-purpose hardware is driven by &#34;words&#34; or programs written in a FORTH-like language called ASYST (Macmillan Software Co., Inc.). This interactive, flexible programming language is easily adaptable to the requirements of this hardware and is quickly learned by new programmers. One hardware handler word or program accepts a 32-element array of desired currents, verifies that the array is properly scaled, and sends it to the hardware. A second word recovers and stores a 32-element array containing the electrode voltages. 
     Connection to the electrode array 10 is through four 76 cm. lengths of 24 conductor stripline, each containing the connections for eight electrodes. Each electrode wire is guarded by the two adjacent wires, which are driven by a buffer amplifier from the current generator circuit. This guarding scheme virtually eliminates the effects of inter-wire capacitances due to the cable. 
     The current generators were calibrated by introducing a single resistor sequentially to each channel. Gain and offset for each channel were thus separately adjusted in software so that by a table look-up function, differences in the channel-to-channel gains could be reduced from the 1% level due to component tolerance to the 1/4096 level achievable by the 12 bit DAC&#39;s 30. Similarly, small offsets in the voltmeter circuits were compensated for in software. The variation in current output from the current generators was adjusted to be less than 10 μA in 5 mA for load changes between one and 800 ohms. The voltmeter multiplexer 20 and A-to-D converter 26 were tested at different read rates. With an interval of 10 msec or greater between successive channels, no influence of one channel on the next was recorded. For faster rates, interactions between successive channels were evident, due to storage in the voltmeter filter. The software therefore drives the voltmeter sequencer with a 15 msec period, so that about 1/2 second is required to obtain the voltages from all 32 electrodes. 
     
                       TABLE______________________________________Current Pattern      max |V.sup.inho -V.sup.homo |                     Distinguishability______________________________________TARGET: 22.5 mm DIA CONDUCTOR AT CENTERI.sup.2     2.8760        0.49591st iteration       2.5244        1.06912nd iteration       8.2861        2.52083rd iteration      15.5371        2.73364th iteration      12.0898        2.55605th iteration      12.8418        2.67996th iteration      13.1201        2.6157cos Θ      13.7891        2.6281TARGET: 35.0 mm. DIA CONDUCTOR AT CENTERI.sup.2    0.9570         0.31051st iteration      8.9648         3.01352nd iteration      33.7549        6.78953rd iteration      33.8916        6.80374th iteration      34,6924        6.90435th iteration      32.9102        6.76486th iteration      35.3418        6.9099cos Θ      33.3594        6.7962______________________________________ 
    
     
                       TABLE______________________________________Current Pattern      max |V.sup.inho -.sub.V.sup.homo |                     Distinguishability______________________________________TARGET: 41.5 mm DIA. CONDUCTOR AT CENTERI.sup.2     1.0840        0.46761st iteration      24.4336        6.35292nd iteration      47.7539        9.47393rd iteration      46.2109        9.34974th iteration      47.9492        9.48575th iteration      50.1855        9.3868cos Θ      49.4385        9.5677TARGET: 22.5 mm. DIA. CONDUCTOR at (45°, 0.5)I.sup.2     1.4941        0.44301st iteration       6.7139        1.52102nd iteration      16.1426        3.28003rd iteration      15.7617        3.31604th iteration      16.7285        3.27665th iteration      15.4590        3.22176th iteration      17.2314        3.28657th iteration      16.3623        3.3170______________________________________ 
    
     FIG. 2 demonstrates the measured ability of the present system to distinguish inhomogeneities. The absolute value of the maximum difference between the voltages recorded with a target present and with no target present in the tank is plotted as a function of the diameter of the target. The target is placed in the center of the tank. Three different patterns of current were tested. In the right-most, lowest pair of points, the current, I 2 , is applied between two adjacent electrodes. The points shown were obtained using insulating (open circles) targets. The system can distinguish insulators or conductors from the homogeneous field with equal ability; the voltage differences are positive for insulators, negative for conductors. They are plotted here as absolute values for convenience. Voltage differences above 12 mV were seen when the target diameter was above 120 mm. The middle pair of points was obtained using conducting and insulating targets and a single current, I 3 , applied between a pair of diametrically opposed electrodes. Because this current pattern results in a larger current density through the center of tank where the target is located, a much larger voltage difference is seen. For example, a voltage difference of 96 mv. is seen with a 120 ml. diameter target. The voltage difference produced by these current patterns is to be compared with the significantly larger voltage differences produced by the best current pattern; I 1 , shown in the left-most or upper points in FIG. 2. The ability of the present system to distinguish targets can be compared to the results obtainable by a pair of electrodes directly from FIG. 2. For example, using targets of 40 mm in diameter, an electrode pair produces a voltage difference of only about 8-12 mv. when diametrically opposed, and only 3 mv. when adjacent. In contrast, a voltage difference of about 75 mV is obtained from the pair of electrodes at the maximum of the cosine waveform when a cosine pattern of currents is applied. Expressed alternatively, since the resolution of the present system&#39;s voltmeter is on the order of ±2.5 mV (full scale is ±5 volts rms), the uppermost points in FIG. 2 shows that targets as small as 8-9 mm in diameter are detectable. It is important to note that these comparisons are all made for targets located at the center of the tank where their detection is most difficult. All of these current patterns will yield greater voltage differences as targets are placed closer to the appropriate electrodes. Since the present system adaptively produces the best current pattern, it will always have a distinguishability greater than that obtainable by either configuration of electrode pairs or by the cosine pattern, which is the best pattern only for concentric targets. The curves in FIG. 2 give the expected results from the theoretical analysis of the experiment performed, obtained by evaluating the first Fourier coefficients of the current patterns I k , and plotting the 1st term of |δV l   k  | given by equation (1), for k=1,2,3. 
     The smallest centered insulators distinguishable from a uniform background of 350 ohm-cm saline for currents I 1 , I 2 , I 3 , are drawn to scale in FIG. 3. These &#34;smallest&#34; targets were found by placing successively smaller targets in the center of the bath until the measured maximum voltage difference was approximately 5 mV. 
     The experimentally observed diameters 0.9, 2.6 and 8.2 cm. agree closely with the values predicted by formulas (2)-(4). 
     Although the saline used in these experiments had a resistivity of 385 ohm-cm, the value of resistivity used in the formulas (1) to (4) was 350 ohm-cm. The use of this &#34;effective&#34;  resistivity value permits us to model these experiments accurately with the simple formulas. 
     Beginning with a deliberately poor choice of initial current pattern, I 2 , and a central circular target, the second and subsequent current patterns used where determined by the observed voltage pattern obtained by subtracting the homogeneous voltage pattern from that observed with a target in the tank. The target used was a 41 mm. diameter circular conductive target. The successive voltage patterns found in the first three iterations of the adaptive current scheme are shown in FIGS. 5A and 5B. The successive voltage patterns quickly approached a cosine, which is known to be the best current pattern for this simple case. 
     In a second test of the adaptive feature, the target was moved from the center of the bath to a location at θ=45°, R=0.5. Beginning with a poor choice of initial current pattern, that of two adjacent active electrodes at θ=11° and 23°, the iterative scheme was again allowed to determine subsequent current patterns. These successive current patterns are shown in FIG. 6A. The voltage patterns (FIG. 6B) and the resulting current pattern for the next iteration (FIG. 6A) approach a maximum on the electrode located nearest the target. The current pattern becomes smoother than the original guess and is of relatively low amplitude where the bath is homogeneous. In other words, the applied current is maximized near the inhomogeneity or target. 
     The TABLE gives the values of the maximum voltage differences and distinguishabilities for each iteration of the adaptive process when it was applied to four targets in a 285 ohm-cm solution. The starting current pattern was I 2 . Since the smallest measurable voltage is ±2.5 mV, differences in voltage below 5 mV are below the precision of the system. 
     FIG. 7 is a flow chart of the inventive method.
A method and apparatus for an electric current computed tomography system having an array of electrodes determines the best pattern of currents to apply to the electrodes based on the precision of the system for distinguishing between a known conductivity in a body and an unknown conductivity. An arbitrary current pattern is first applied to the array, which is at the surface of the body. Measurements are then taken for the resulting voltage pattern of the unknown conductivity. Calculations are then made to determine the calculated voltage pattern for the selected conductivity. The absolute value of the difference between the calculated and measured voltage patterns are then taken and, from this, a new current pattern is calculated. If the difference between the new current pattern and the arbitrary current pattern is less than the precision of the system, the arbitrary current pattern is applied to the electrodes. More likely, however, the difference will be greater than the precision. In this case, the new current pattern is applied to the electrodes and the measurements and calculations are repeated to generate a still further new current pattern. The difference between the previous and the new current pattern is then taken and again compared to the precision of the system. By repeating this process, the best current pattern is eventually reached.