Abstract:
A plurality of formation resistivity logging data sets are generated along a borehole. From the data formation dip values are preliminarily determined at different elevations along the borehole. The dip values are combined for each borehole elevation of interest in a functional relationship utilizing a variable scatter parameter related to dip direction and magnitude variations whereby the resulting dip value at each elevation is taken as the corrected value. The variable scatter parameter may be selectively varied to produce variable representations as desired of formation dip, including visual representations. These variable representations may range from those excluding dip data points inconsistent with prevailing geological interpretation patterns and thereby exhibiting progressively less scatter to those representations including more available and possible dip values with scatter to be interpreted.

Description:
BACKGROUND OF THE INVENTION 
     This invention relates generally to improved methods and apparatus for investigating subsurface earth formations traversed by a borehole, and more particularly to an improved technique for processing formation measurements to obtain displacements between measurements for use in correlating logs. 
     It is often desirable to correlate or compare curve shapes of two or more well logging curves which have been generated either during the same or different traversals of the logging instrument through the same borehole or, alternatively, during traversals through adjacent boreholes to locate corresponding data points on the curves. 
     One example of the reason for this may be to check or compare a re-logging of a well against a prior log of the same or different parameters to insure that all measurements are on depth. Another example might be in field studies where well-to-well depth correlations are desired. Yet another example might be in the case of formation dip measurements wherein a plurality of measurements are made during one borehole pass. 
     In the latter case, a logging instrument is provided having four movable arms spaced ninety degrees apart in azimuth, each having a pad in contact with the borehole wall which carries an electrode system for making a shallow focused formation resistivity measurement. 
     Normally, the shapes of each logging curve measurement thus generated by the pads are similar since they are measuring characteristics of portions of the formation relatively adjacent one another. 
     However, due to such things as the logging sonde not always being oriented perpendicular to formation beds (for example because the beds are inclined relative to the sonde), although the shapes of each measurement may appear similar, they may appear offset in depth. This is because one of the measuring pads will reach the bed and thus generate a characteristic signature prior to another pad. 
     As is well known in the art, the amount of such offsets in the pad signals relative to one another provides valuable information about the amount and direction of formation dip. Thus, once again it is necessary to find ways to compare or correlate the logging curve shapes to determine the offsets. 
     Several methods have been attempted over the years to correlate two or more logging curves. The oldest method was simply optical correlation by an experienced individual whereby visual comparisons were simply made between portions of the logs. While this method was often very reliable, it was obviously extremely time consuming, particularly if high resolution was desired or large depth intervals were involved, and moreover, the method further depended upon the subjective human abilities of the particular analyst. 
     Another group of methods known as &#34;fixed interval correlation&#34; utilized a statistically defined cross-correlation coefficient in comparing successive intervals of finite length on two measurement curves as a measure of curve similarity. 
     Fixed interval correlation has also evidenced several difficiencies in log analysis applications including insufficient depth resolution and computational inefficiency inasmuch as a large number of computations was required. The method was also particularly unsuited to formation dip measurements exhibiting unreliability in complicated stratification, for example, and loss of dip variations when smaller than the correlating interval. 
     Moreover, this correlation interval was preset and thus not adapted continuously to the current geological context, causing missed correlations and limitations on resolutions. Still further, because the dip calculations were attributed to an interval and not to the bedding, only bulk directional properties over each particular interval were described rather than the basic cause of correlation, e.g., bedding. Thus, true correlations were often missed or high cross-correlation coeffients were noted for curve features which did not correlate. 
     Still another log correlation method commonly referred to as &#34;point-to-point&#34; correlation has been attempted. In this method, pattern recognition or classificiation is employed whereby pattern vectors of each curve to be correlated are analyzed against a &#34;catalog&#34; of standard patterns. 
     However, although improvement in depth resolution may have been noted, this method too has been found deficient particularly with formation dip applications in its noise susceptibility, e.g., failure to distinguish between regular and random features in data which result in excessive scatter and gaps in formation dip determinations. 
     Once these correlations have been determined, by whatever method, several methods known in the prior art have been used to determine formation dip from these correlations. However, even with improved methods of determining correlations, problems still existed from the resulting conventional dip determinations. This was because even with improved dip determinations a certain amount of &#34;scatter&#34; or variation in dip direction and magnitude frequently was present due to signal noise, pad liftoffs, and the like. 
     Various techniques have been attempted in the past to solve this problem of reducing scatter such as the use of statistical methods. However, one problem with such methods is that rather than eliminating &#34;incorrect&#34; indications of formation dip values contributing to scatter, scatter reduction was accomplished by averaging of correct dip data with the incorrect values. 
     Thus, methods and apparatus were desired for providing representations of formation dips wherein the scatter was reducible in degrees by selectively increasing the number of inconsistent dip indications which could be eliminated in a formation dip analysis. In this manner, an analyst could select representations of formation dips ranging over a continuum. That is to say, visual displays, for example, could be selected ranging from those wherein all available possible dip values are computed and displayed (with scatter presented and to be interpreted by the analyst) to displays wherein scatter is progressively reduced to a point of substantial reduction wherein a maximum of inconsistent dip values are excluded. In the latter instance, the only dips which would be selected were those most consistent with the prevailing geological patterns wherein these patterns could be more readily discernible. 
     Accordingly, the present invention overcomes these further deficiencies of the prior art in providing an improved method and apparatus for selectively varying the amount of scatter in formation dip presentations as a function of a variable scatter parameter. 
     SUMMARY OF THE INVENTION 
     A plurality of well logging curves to be correlated are generated, each over a respective borehole interval. The data for each curve is pre-processed in accordance with an algorithm whereby, for each curve, an activity function is derived and a corresponding activity curve of the following form as herein defined: ##EQU1## 
     An activity function noise level cutoff is empirically determined and all maxima above the cutoff on each activity function are identified and matched to depth-correlative data points on the corresponding logging curve from which the respective activity function was derived. 
     All possible pairs of such data points meeting predetermined conditions are then identified, wherein each data point of each pair corresponds to a different logging curve, and wherein each such pair simultaneously satisfies the constraints that: the difference in depth at which each point of the pair was generated does not exceed a predetermined maximum; the points of each pair are either both on the positively sloping portions or both on the negatively sloping portions of their respective corresponding logging curves; and the shapes of the corresponding sloping portions of the logging curves including the points of each pair must be &#34;similar&#34; as defined by a predetermined function of the activity function values corresponding to the sloping portions and having the herein defined form of A 1  /A 2  ≦F, A 2  /A 1  ≦F. 
     Once all possible pairs of data points meeting the above-noted conditions are matched for all two-curve combinations, for each pair of curves selection of optimal point-to-point correlations or pairs from the universe of all possible pairs is made by dynamic programming optimization, wherein equations of the following form and herein defined are solved: ##EQU2## 
     In a particular preferred embodiment of the invention, the plurality of logging curves is comprised of a plurality of micro-resistivity measurements each derived from a different respective pad of a dip meter logging tool. 
     Once all the curve-to-curve correlations have been thus determined, formation dip at each borehole depth of interest is determined. These dip values are then modified in accordance with formulas of the following form and herein defined: ##EQU3## wherein the coefficient C value controls the degree of scatter reduction. 
     It is therefore an object of the present invention to provide an improved method and apparatus for detection of formation bedding plane dips. 
     Yet another object of the present invention is to provide an improved automated formation dip analysis method and apparatus wherein scatter may be selectively variable. 
     It is another object of the present invention to provide for selective variability of scatter wherein scatter is reduced by increasing the number of inconsistent dip data points excluded. 
     It is a further object of the present invention to provide an automatically visual representative formation dip measurements wherein the representative dip may be selectively varied from extreme detail to broadly identifiable dip patterns. 
     These and other objects and advantages of the present invention can be understood from the following detailed description in conjunction with the drawings wherein: 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a side elevational view, partly in cross-section, of a dip meter logging system in accordance with the present invention. 
     FIG. 2A depicts an illustrative pair of transform functions of the present invention and their correlative logging curves. 
     FIG. 2B is a schematic depiction of an illustrative set of maximum possible pairs of similar features. 
     FIG. 2C is a schematic depiction of an illustrative set of optimal correlation pairs selected from the maximum possible pairs depicted in FIG. 2B. 
     FIG. 3 illustrates the steps for producing activity transform functions depicted in FIGS. 2A-C for the dip meter system of FIG. 1. 
     FIG. 4 illustrates the steps for determining the maximum possible matching pairs of similar features on curve pairs depicted in FIG. 2B. 
     FIG. 5 illustrates the steps for selecting optimal formation dip values. 
     FIG. 6A illustrates a representative formation dip presentation of the present invention wherein minimum scatter is selected. 
     FIG. 6B illustrates a representative formation dip presentation of the present invention wherein large scatter is selected. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Referring now to the drawings in detail, particularly to FIG. 1, therein is illustrated schematically a typical borehole surveying operation in which a portion of the earth 10 is shown in vertical section. Well 11 penetrates the earth&#39;s surface. Typical earth formations are illustrated by shale formations 12 and 13 and intervening sand formation 14 having formation interfaces 15 and 16. Disposed within well 11 is a formation surveying instrument 17 commonly known as a dip meter tool. Dip meter tool 17 includes an elongated body member 18 having a plurality of arm members 19, 20, 21 and 22 disposed symmetrically about body member 18. Mounted on each arm member 19-22 is a corresponding probe pad 23, 24, 25 and 26 for contacting the sides of borehole 11 to obtain formation data. (In the view of FIG. 1, arm member 22 and probe pad 26 are obscured from view by body member 18, arm member 20 and probe pad 24.) 
     Each probe pad 23-26 includes an emitting electrode 27 for emitting currents into the surrounding earth formations. Each probe pad 23-26 also has a metal guard electrode 28 which encircles and is concentric with emitting electrode 27. Emitting electrode 27 is electronically insulated from guard electrode 28. Guard electrode 28 functions to insure that the potential difference across the entire pad remains near zero so that emitted current is focused into the formation. 
     The measured voltages and currents are processed by electronic circuitry (not shown) located within body member 18. Also located within body member 18 is telemetry circuitry for transferring data between tool 17 and surface processing circuitry 29. A more detailed description of various techniques associated with the measurements herein discussed can be found in the articles &#34;The Micro Laterolog&#34; and &#34;The Laterolog&#34; by H. G. Doll, published in the Journal of Petroleum Technology in January 1953 and November 1951, respectively, which are herein incorporated by reference. 
     Dip meter tool 17 is suspended in well 11 by multi-conductor cable 30 which contains the required conductors for electrically connecting tool 17 with surface processing circuits 29 through slip rings 31 located on the end of drum 32. Cable 25 is wound or unwound from drum 32 in raising and lowering tool 17 to traverse well 11. As tool 17 traverses well 11 the movement of cable 30 is measured by a suitable measuring device and coupled to depth indicator 33. The depth information from depth indicator 33 is coupled to signal processing circuits 29 and recorder 34. Therefore, each sample of a measured signal corresponds to one increment in depth and displacements determined between such signals are indicative of depth displacements. 
     The elements of FIG. 1 are shown diagrammatically, and it is to be understood that the associated circuits and power supplies are provided in a conventional manner. It is also to be understood that the instrument housing will be constructed to withstand the pressures, mechanical, and thermal abuses encountered in logging a dip well and to provide adequate space therewithin to house the necessary apparatus to conduct the surveying operation. Further, while the tool of FIG. 1 is described as having four movable arms spaced 90 degrees apart, the present invention is not limited to any specific number of arms, or even the dip meter tool depicted herein. The dip meter tool 17 has been depicted for convenience because it simultaneously generates four resistivity logs 23A-26A whereby the curve correlating features of the present invention may be described. However, it is specifically contemplated that the correlating methods and apparatus of the present invention may be adapted to two or more other well logging curves. 
     On a well logging operation such as illustrated in FIG. 1, tool 17 is caused to traverse well 11. Current is emitted from emitting electrode 27 located in each probe pad 23-26. Guard electrode 28 on each respective probe pad 23-26 confines the emitted currents into the desired focused pattern. Measured survey signals indicate changes in formation characteristics adjacent each pad. The resultant survey signals are processed in subsurface electronic circuitry and transmitted through electrical conductors within cable 30, through slip rings 31, to signal processing circuits 29 for processing. It should be recognized that the signals can be processed at the well site or the signals may be transmitted by a transmission system to a remote computer location for processing. Additionally, the signals may be recorded on a suitable recording medium, such as, for example, magnetic tape for later processing. 
     The measurements from the dip meter tool 17 are useful in identification of faults, cross bedding, sand bars, reef, channels, deformation around salt domes, and other structural anomalies. There are two basic sets of data necessary for calculating dip angle and direction. These are at least three points to establish a plane, and a system for determining the orientation of the plane with respect to vertical and true north. 
     Referring still to FIG. 1, a brief description will be given of how this data is derived within a borehole. Housed within body member 18 of FIG. 1 is an orientation section which continuously establishes the position of tool 17 with respect to the vertical and to magnetic north. The azimuth or direction of pad 23 is measured by a magnetic compass 40. Attached directly to compass 40 is the wiper arm of a potentiometer. Relative movement of the compass needle due to rotation of tool 17 varies the measured resistance of the potentiometer. The resistance of the potentiometer is directly related to the azimuth of the number one probe pad. A gimbal type suspension system supports the compass assembly 40, thereby allowing the compass needle to remain in a horizontal plane to permit accurate orientation measurements to be made in deviated wells. This azimuth information signal 40A is delivered uphole on cable 30. 
     Deviation of tool 17 from vertical is also continuously measured. Tool 17 utilizes a weighted pendulum system 41 suspended on swivel pivots and allowed to hang vertically. When tool 17 deviates from vertical pendulum 41 varies the resistance of a potentiometer. Changes in the resistance of the potentiometer are calibrated to indicate the magnitude of deivation of tool 17. Derivation signal 41A is also sent uphole on cable 30. 
     The direction of deviation from vertical of tool 17 is measured by pendulum system 42 which continuously aligns itself in a vertical plane passing through the well. Pendulum system 42 is connected to the wiper arm of a 360 degree potentiometer. Movement of pendulum system 42 changes the resistance of the potentiometer, indicating on a calibrated scale the angle of deviation with respect to the number one probe pad. Since the orientation of pad 23 is continuously measured as described previously, the azimuth of deviation is easily determined. 
     The systems described to measure tool 17 position within the well utilize low torque potentiometers. Each device is extremely sensitive to slight changes in the position of tool 17, yet is constructed to withstand the severe abuse encountered in well surveying operations. Further details as to how to obtain and use the reference measurements may be found in the article &#34;Automatic Computation of Dipmeter Logs Digitally Recorded on Magnetic Tape&#34; by J. H. Mercer, et al and published in the July 1962 issue of the Journal of Petroleum Technology, which is incorporated herein by reference. 
     Still referring to FIG. 1, therein are illustrated the four probe pads 23-26 of tool 17. Probe pads 23-26 are in a radially spaced apart symmetrical relationship and placed in a common plane perpendicular to the longitudinal axis of tool 17. As tool 17 traverses up the well 11, the four probe pads trace a path along the borehole wall. These pads 25, 26, 24, 23 will intersect the formation bedding plane 16 on the borehole wall respectively at the four elevational locations indicated at x, y, y and z, corresponding to probe pads 25, 26, 24, 23, respectively. As indicated, the mechanical arm assembly assures that the pad paths are located on opposite sides of the borehole for each diagonally opposing pair of pads. 
     The signal response for each of probe pads 23-26 is illustrated by correlation curves 23A, 24A, 25A, and 26A as the tool 17 traverses up the borehole 11. These signals from each pad 23-26 are transmitted to the surface on cable 30 as signals 23A-26A, respectively. The change in the character of correlation curves 23A, 24A, 26A, 25A, indicated by respective inflection points z, y, y and x correspond to depths at which formation bedding plane 16 intersects well 11. As illustrated, as tool 17 travels up well 11 probe pad 25 intersects formation bedding plane 16 first at x resulting in a change in the measured signal response, shown at x of correlation curve 25A. Similarly, probe pad numbers 24 and 26 next intersect formation bedding plane at y resulting in a change in the measured signal response for pads 24 and 26, shown as Y on respective correlation curves 24A and 26A. 
     As tool 17 continues to move upward in well 11 pad 23 intersects formation bedding plane 16 at point z, being indicated by a change in the measured signal response for pad 23, shown as Z on correlation curve 23A. It should be recognized that correlation curves 23A-26A can be used to determine displacement between the points of intersection of the formation bedding plane 16 along the wall of well 11. Thus, displacement may be determined for pads 23A and 24A or 26A using points A and Y of correlation curves 23A and 24A or 26A, for pads 23A and 25A using points Z and X of correlation curves 23A and 25A, respectively and so on. 
     In addition to the displacement between signal responses, the radial distance between the measure points on probe pads must be determined. The radial distances are measured independently between opposing pad pairs 23 and 25, and 24 and 26 by a borehole caliper circuit, shown at 43. This circuit transmits uphole as signal 43A the caliper measurement signal 43B from the caliper in tool 17 connected to arms 19-22. It is known that the position of any three points provide the definition of a plane penetrated by a borehole. Any two related displacements from a pad and the corresponding diameters thus define the three points and can be used to determine dip and azimuth values. A more detailed description of the determination of dip and azimuth values can be found in U.S. Pat. No. 4,303,975 by V. R. Heep which is incorporated herein by reference. 
     From the foregoing it will be appreciated that at least two logging data curves have been generated, and in accordance with the present invention it is now desired to compare shapes of the curves to determine displacement. For illustrative purposes and simplicity, curves 23A and 25A will be utilized having corresponding peaks z and x, respectively, which correspond to differing elevations Z and X within borehole 11 where formation bedding 16 intersects borehole 11. It will also be noted from the preceeding discussion that the elevational distance Δ between these points Z and X will be proportional to the distance Δ separating the corresponding peaks Z and X on respective pad signals 23A and 25A. 
     Referring now to FIG. 2A, there will be seen depicted therein micro-resistivity pad signals or &#34;logging curves&#34; 23A and 25A with corresponding peaks Z and X indicated thereon. Additionally, peaks M and N have been indicated on curves 23A and 25A corresponding to the additional bedding interface 15 of FIG. 1. The purpose for these additional peaks is to illustrate that in the depth correlation of logs there are many points which may be correlated in that the entire curve shapes will be generally similar. 
     It is thus desired as part of the subject invention to identify as many matched data pairs such as Z-X and M-N on respective curves such as 23A and 25A as possible. As indicated in the background of the invention these pairs will ideally thus correspond to the true correlative data points generated at the same borehole elevations in the case of two repeat logs through the same borehole. This information can then be used to make depths of the two logs correspond. 
     Alternatively, in the case of the dip meter measurement presently being described, the distance such as Δ between the two correlation pairs such as X minus Z is valuable information directly indicative of formation dip. 
     Moreover, in explaining the present invention, reference will be made to correlating only two curves for simplicity. However, particularly in view of the fact that generation of four curves has been described already, it should be readily apparent that it is contemplated that the methods to be carried out would be applicable to all combinations of curves desired to be correlated such as the four micro-resistivity curves of the dip meter measurement. 
     In what follows, reference will be made first to FIGS. 2A-2C for a general graphical and intuitive description and explanation of the present invention, followed thereafter by more detailed representative and illustrative flow diagrams of FIGS. 3-5 implementable by a digital computer in a conventional manner. 
     The method of the present invention whereby optimally correlated, matched data pairs are identified between all combinations of curves to be correlated can best be described in two stages: first the selection of all possible and feasible points on curves 23A and 25A which may be candidates for pair matchings (signifying possible depth correlation between the two points of each pair); second, the selection of the actual optimally correlated data pairs from the universe of all possible feasible pairs. 
     Taking first the selection of all possible pairs and still referring to FIG. 2A, at first one seemingly rational scheme for picking distinctive points on curves 23A and 25A for comparison might be the derivatives of each curve (which would indicate distinctive, unique inflection points). However, in practice the simple derivative is not suitable because it will give large values even for low amplitude noise. 
     Referring still to FIG. 2A, there will be seen two additional curves 23B and 25B corresponding respectively to logs 23A and 25A. Each curve is a function of its respective log and will be referred to as the &#34;activity&#34; function defined by: ##EQU4## where A(d) is the &#34;activity&#34; of the log signal at depth d; 
     r(i+d) is the logging signal at depth i+d 
     r(d) is the signals arithmetic average of the log over N samples at depth d, or ##EQU5## i+d indicates N samples at depth d, half of them higher and half of them lower at this depth; and 
     K is a normalization coefficient. 
     In the preferred embodiment N is selected to be from 7 to 11 measurement points with 9 having been found preferable in many instances. Also, with respect to dip meter measurements, it is typical to have a data sampling rate of 64 samples per foot. 
     The activity function, behaving as a filter or pre-processing function rather than acting upon discrete points as in the derivative, has the property that, unlike with the derivative, a smoothing effect is exhibited with low values resulting for low amplitude noise. Activity maximums may be used for characteristic log points for correlation and, in fact, will indicate characteristic points of bed boundaries on micro-resistivity readings. Moreover, by selecting an established noise cutoff level based upon an entire class of logs such as micro-resistivity logs, for example, activity maxima levels falling below this level, which indicate no significant information was recorded, are disregarded. 
     Thus, referring to FIG. 2A again, it will be seen that each activity maxima establishes a characteristic point on its corresponding original log (designated by a cross) with maxima below the noise level (not shown) being disregarded. These crosses will thus indicate all possible point-to-point matches, in accordance with the activity function criteria, on the two log curves 23A and 25A which may be correlated. 
     In theory, any crossed point on curve 23A could correspond to any crossed point on 25A, the total number of such corresponding matches equally the product of the number of crosses on each curve. Intuitively, it will be noted that it is necessary to apply some criteria in addition to the activity function to reduce this total number of characteristic points to a more manageable portion implementable efficiently on a computer for picking final correlation point pairs. 
     Fortunately, three such constraints exist to reduce the number of possible matches considerably. The first of these is that the difference in the depths at which two correlation points on two curves were derived must not be greater than a given maximum for the given logs. This constraint corresponds physically to the fact that there will be a maximum expected separation in borehole elevation such as Δ of FIG. 1 between two correlating points which may be the maximum expected dip angle in the area and referred to as the search limit. 
     The second criteria is that for a point on each of two curves to be considered a potentially correlated pair, both points must lie on respective curve segments having the same slope and sign, e.g., either positive or negative. 
     The third criteria is that for a point in each of two curves to still be considered a potentially correlating pair, the curve segments on which each point lie must have a similar &#34;shape&#34; to be hereinafter defined. 
     Referring now to FIG. 2B, the significance of the preceding criteria may be seen graphically. Depicted therein are the curves 23A, B, and 25A, B of FIG. 2A, with all potentially correlating crossed point-pairs on curves 23A and 25A which meet the foregoing criteria being interconnected by a straight line. 
     Referring to points 71 and 72 for the moment, it can be seen, for example, why line 70 (which was drawn in only for illustrative purposes) might not properly appear due to the criteria. 
     First, in accordance with the first criteria, the vertical distance represented by line 73 may exceed the corresponding maximum expected dip angle in the area where the two logs 23A and 25A were derived. 
     Next, in accordance with the second criteria, it will be noted that points 71 and 72 lie on portions of curves 23A and 25A, respectively, having different slopes, violating this criteria. 
     In accordance with the third criteria, the points 71 and 72 are not situated on slopes of curves having similar shapes and thus, even intuitively, should not be candidates for a match. It should be noted that if any one of the above criteria is not met with respect to a potential point pair, the pair is rejected and not shown interconnected with the line. Thus, it will be appreciated that a significant reduction is possible in the number of potential matches from the total of A×B (wherein A and B are the number of crossed points respectively in curves 23A and 25A) to a number which, in the case of dip meter logs, for example, is often found to be in practice a reduction by a factor of 1/10. 
     With reference to the third criteria, further detail is required. Whereas the first two criteria are numerically definable, the third, at least initially, does not appear so in that the criteria requires a seemingly subjective condition, e.g., &#34;similarity&#34; of two slope segments containing the matched pair candidate. However, it has been found that each slope within the vicinity of the respective candidate-point has primarily only steepness (or &#34;gradient&#34;) and width. Since the slope characteristics are adequately represented by the activity function (which is a function of gradient and width), the activity function at these points may be used to express the third criteria of &#34;shape&#34; numerically. Thus, two slopes in the vicinity of two corresponding selected points on two corresponding curves are &#34;similar in shape&#34; if their respective activity function values do not differ by more than a predetermined amount, or: 
     
         A.sub.1 /A.sub.2 ≦F 
    
     
         A.sub.2 /A.sub.1 ≦F 
    
     where 
     F is a parameter predetermined for each class of logs which controls maximum allowable curve dissimilarity and is found to be four in the case of diplogs; and wherein 
     A1, A2 are activity values for the selected points being tested on the first and second slopes. 
     Once, as indicated in FIG. 2B, all possible paired point-to-point matches are selected by derivation and application of the activity functions, and then (in accordance with the three criteria reduced) the number of possible correlation pair-points is reduced, the second stage of the present invention is then applied wherein the final selection of the actual optimally correlated paired-points is made as shown in FIG. 2C. 
     Thus, referring now to FIG. 2C in comparison to FIG. 2B, several things may be noted. First, FIG. 2C is a graphical representation of the actual point pairs (selected from the universe of possibly correlating pairs depicted in FIG. 2B) which have been optimally correlated in accordance with the method of the present invention depicted in the flow diagram of FIG. 5. Each such pair is interconnected by a line which has a counterpart line in FIG. 2B. 
     It can be seen that the number of such point pairs has been substantially reduced from those shown in FIG. 2B. Also, it will be noted that unlike in FIG. 2B wherein lines connecting possible correlating point pairs cross, there is no such line crossing in FIG. 2C. This corresponds to the physical constraint that bed boundaries do not cross. 
     Now that a graphical and intuitive understanding of the logging curve correlation methods of the present invention have been presented, reference will be made to FIGS. 3-5 wherein illustrative flow diagrams are depicted for implementation of the invention by means of a digital computer. 
     Referring now to FIG. 3, there are illustrated the steps performed in accordance with the present invention in computing the activity transform functions such as 23B, 25B for the corresponding measurement curves 23A, 25A. Block 45 corresponds to the inputting of the formation measurement curve data derived from tool 17 into an appropriate buffer. Block 46 corresponds to designating the probe pad signal sequences for processing. As indicated in block 46 on the first sequence i is set to equal 23 corresponding to probe pad 23 signals. The next step in the process, as indicated in block 47 is to compute an activity transform function value for pad 23, i being equal to 23. The step is indicated by IA IACT, IACT representing the activity transform value such as X of FIG. 2A corresponding to pad 23 signal IA or point X. 
     Once all of the transform function values (shown as curve 23B of FIG. 2A, for example) are computed for a first probe pad measurement curve (such as curve 23A) the maximum values, or peaks, of the transform function are located, as shown in block 48. After locating the peaks on the activity transform the corresponding points of the logging curve itself at the same depth where the activity peaks occurred are designated (shown graphically by the crosses). The value of i is then increased by one as can be seen in block 49. The value of i is then checked to determine if it is less than 26 (block 50). If the value of i is less than 26 the transform function is computed for the next probe pad measurement curve. Once the value of i is equal to 26, this signifies that the transform values and maxima for the last pad 26 have been detected and the program shifts to the curve MATCH routine, indicated by block 51. 
     The purpose of the MATCH portion of the program is to match all possible crossed points on one log such as 23A with those on another curve such as 25A as shown in FIG. 2B for the various pad combinations, such as 1-2, 1-3, 1-4, 2-3, 2-4, and 3-4 and in accordance with certain criteria already discussed. The crossed points were derived from the steps of FIG. 3 just described. To correlate two curves characteristic features on one curve which relate to similar features on another curve must be determined. The basic feature of the curve is a simple slope. The curve character is determined by relative positions of the slopes separated by areas where the curve is relatively stable. Simply stated, in correlating two curves, first all possible single features are matched, then their relative positions are considered to find larger features that match on both curves and finally reverting to the single features to establish point-to-point correlations. 
     Referring now to FIG. 4, the initial step in correlating a pair of probe pad measurement curves is indicated in block 52 and corresponds to selecting a peak on the activity transform formation of the first curve, IACT1, which may, for example, be curve 23B. Next as indicated in block 53 a peak is selected on the acivity transform function of the second curve, IACT2 which may be curve 25B. As will be recalled these peaks represent slopes on the corresponding probe pad measurement curves. 
     The criteria previously discussed are that two slopes match if they have comparable steepness and magnitude and they go in the same direction. Additionally, the two slopes must be separated by a distance less than the search limit. The search limit it will be recalled, is an external parameter defining the maximum possible displacement given the geological factors, such as borehole diameter and borehole deviation. The next step indicated in block 54 is to compare the peak of IACT1 with the peak of IACT2. If the depth displacement between IACT1 and IACT2 is less than the search limit the slopes are compared to determine if they are in the same direction, e.g., increasing or decreasing at a given depth, as indicated in block 55. To avoid small variations in direction in the curves introducing errors, direction is determined on an interval around a given point. The averaging interval corresponds to the window of the transform function. Thus, an average of the measurement values on the interval is found. The number of measurement values that are shallower than the depth being analyzed with values less than the mean, plus the number of measurement values that are deeper than the depth being analyzed with values greater than the mean, will represent the tendency of the curve to increase. The tendency of the curve to decrease is represented in the opposite manner. Comparing this information, a prevailing direction at any depth is obtained. 
     The next step as indicated in block 56 is a determination if the slopes are substantially comparable in &#34;shape&#34;. As previously stated, this requirement translates into comparable steepness and magnitude. As previously noted, two shapes are comparable if their activities do not differ by more than factor predetermined by the general class of logs under consideration. Such a factor for dip meter determinations with micro-resisitivy logs has been found to be preferably four, for example. 
     Thus in block 56 the conditions IACT1≦4×IACT2 (or for shorthand, A 1  /A 2  ≦F) and IACT2≦4×IACT1 (or for shorthand, A 2  /A 1  ≦F) are checked. If the above conditions are met the correlation is registered and the data pairs are stored, as shown in block 57. The next step in block 58 is to check the curve IB for additional slopes. If additional slopes are present the program returns to block 53. Once all slopes on the second curve, IB, are located the first curve IA is checked for more slopes as shown in block 59. If additional slopes are present on IA the program returns to block 52. Once all slopes on both curves are registered, the combination routine of FIG. 5 is entered wherein the actual optimal correlation point-pair selection is performed. 
     At the completion of FIG. 4, the universe of possibly correlating pairs have thus been selected. These pairs are depicted schematically in FIG. 2B as being interconnected with lines and were selected in accordance with the constraints of FIG. 4. 
     The next step is to narrow down the choices to the actual selected correlated pairs shown for illustrative purposes in FIG. 2C. The preferred method for accomplishing this has been described in the co-pending U.S. patent application Ser. No. 533,178, filed on Sept. 19, 1983, and entitled &#34;Log Correlation Method and Apparatus&#34; which is incorporated herein by reference. It should be appreciated, however, that the method and apparatus of the present invention may be employed not only as part of a system for automatic dip computation using the technology disclosed in the aforementioned patent application, but may also be employed after formation dips have been computed using any existing manual or automatic technique, and thus the present invention is not limited to such systems of the mentioned application wherein dip is automatically computed in a particular manner. 
     Once all of the curve-to-curve and point-to-point correlations have been made, the formation dips at preselected borehole elevations may be determined in accordance with well known principles employing analytical geometry. A more detailed description of such determinations may be found in the aforementioned U.S. Pat. No. 4,303,975 to V. R. Hepp. 
     In the analysis of formation dips it frequently becomes apparent that certain correlations may be made yielding indications of formation dip that are possibly erroneous in terms of magnitude or direction and known in the art as &#34;scatter&#34;. 
     Referring, for example, to a comparison between FIGS. 6B and 6A wherein there are depicted conventional dot-tail type graphical indications known in the art of formation dips, a closer examination of FIG. 6B reveals several points such as 150 and 151 which appear to be inconsistent with one another in that points 151 would seem to strongly indicate a general or prevailing bedding plane trend wherein lying in one direction (due to the number of tails pointing in the direction) whereas point 150 would appear to indicate a bedding plane in a different direction. Such seeming inconsistency could be explained, for example, as being due to &#34;noise&#34; or false correlations due to pad liftoff, errors in measuring circuits, etc. A comparison of FIG. 6B to that of FIG. 6A (both of which are intended to depict the same borehole data) further reveals that point 150 (as well as many other seemingly inconsistent dip indications or scatters) have been dropped out of FIG. 6A such that only the broad, general, and consistent formation dip trends appear. 
     It will be noted that data available in both formats have their place and are desirable in different circumstances and for different purposes, as well as formats in between the two extremes, and that thus formats are desirable wherein selectively variable amounts of scatter may be chosen. 
     Thus, in some instances, it is desirable to permit large amounts of scatter (if present) in detail such as that shown in FIG. 6B in order to permit visual checks on a more detailed level to resolve computational errors and produce correct correlations. On the other hand, at times it is desirable to be able to automatically vary and reduce the amount of noise and scatter and detail (such as that shown in FIG. 6A) by automatically selecting only those dips most consistent with clearly defined patterns of geological interpretation. Thus, the particular format of the data derived might depend upon whether the object of the study is most or all available data with scatter to be interpreted or, alternatively, whether clear formation bed interpretation patterns are desired. 
     Referring now to the method and apparatus of the present invention for providing selectively variable scatter for a presentation of a plurality of formation dip measurements, first it may be noted that a mathematical expression may be developed to express the total difference between such successive dip measurements of the form: ##EQU6## where n is the total number of computed dips and dir i  is the direction of the ith dip. 
     Due to a rule based upon observed computed dip meter logs and corresponding analyzed geology (known as the rule of stability of dip direction wherein if a certain computed dip contradicts another one in the absence of any other information the dip which is more in line with the surrounding patterns should be preferred), the preceeding sum of Equation 6 should be minimized while at the same time keeping the number of selected dips as large as possible to provide as much accurate dip information as possible. This requirement can be expressed in the form of a minimization criterion: ##EQU7## where S is the number of omitted dips and where C is a coefficient. 
     The term &#34;omitted&#34; dip may be explained as follows. The final total number of optimally selected dips will not equal the n total number of dips initially computed and available in that it is presupposed that some of the dips which are incorrect must be omitted, giving rise to the problem of selection and minimization indicated by the foregoing criteria. The preceeding Equation 7 is therefore minimized over all possible subsets of the set of all computed dips and thus the number S is the difference between the total number of computed dips and the number of dips n used in the current selection. 
     A second property of the preceeding Equation 7 is that the number of non-contradicting dips present in the final optimal selection will be maximized, which is a desirable result for the aforementioned reason that it is desirable to have as many consistent or non &#34;scattered&#34; dip indications as possible. Thus, given one dip indication which crosses the bedding planes of two other dip indications, with all other conditions equal, preference will be given in the aforementioned minimization criterion to leaving out the single contradicting dip. 
     The coefficient C dictates the amount of scatter allowed in the final dip selections, and thus the criterion of the preceeding Equation 7 can therefore be used in two different ways. First, by selecting a relatively large value for C, a larger amount of the available data will be selected and will of necessity contain scatter (if present) which must be interpreted thus allowing for resolution of computational errors. On the other hand, if smaller values of the coefficient C are selected, the output of the criterion of the preceeding Equation 7 will be a less &#34;noisy&#34; picture with more clearly defined interpretation patterns and reduced scatter due to selection of dips which are most consistent with recognized patterns of geological interpretation (as for example, in the graphical illustration of FIG. 6A). Thus, scatter reduction may be controlled by the value of the coefficient C in accordance with the object of the geological exploration or study. 
     The criterion of the preceeding Equation 7 is formulated as a problem of discrete optimization which lends itself to a solution by dynamic programming with a modern digital computer. Representative description in more detail of dynamic programming techniques of the present invention may be found in &#34;Sequential Optimization in Pattern Recognition and Picture Description&#34; in the proceedings of the IFIP Congress, Amsterdam, The Netherlands, by Kovalewsky, 1971, and &#34;On the Optimal Detection of Curves and Picture Processing&#34;, Communications of the ACM, Volume 14, May 1971, pages 335-341, by Montanari, which are incorporated herein by reference. 
     The following is a representative dynamic programming solution to the foregoing criterion as depicted in more detail in FIG. 5 hereof. However, inasmuch as different algorithms can be suggested for the same optimization model which will only result in different computer time and memory requirements, it is fully contemplated by the present invention that it lends itself to a variety of differing algorithm solutions and thus the present invention is not intended to be limited to any one particular solution such as that hereinafter depicted. 
     First, the values of dip directions for m computed dips, expressed in degrees and sorted by depth are input into the computer memory and are of the form dir i , dir 2 , . . . , dir m , where 0≦=dir i  &lt;360°. 
     Two virtual dips are also added to the initial set, dip 0 and dip( m+1 ) having directions dir 0  and dir m+1 . The directions of the two dips can fully be described by a function scat(i,j) as follows: ##EQU8## 
     The intermediate optimal values for the functions are computed according to the following formulas: ##EQU9## 
     The values of f i , i=0, 1, . . . , m+1, represent intermediate optimum values of Equation 6. Each f i  has a corresponding value of ch i , defined as a value of j for which the minimum in Equations 9 was obtained. The values of ch i , i=1, 2, . . . , m+1, are recorded for future references, wherein &#34;ch&#34; stands for chain. 
     The value of f m+1  at the completion of the iterations of Equations 9 is the total minimum value obtained for a given set of dip data. The value ch m+1  is a reference to the last actual (not virtual) dip selected. 
     The optimal set of dips is decoded as follows: 
     
         p.sub.1 =ch.sub.m+1                                        Equation 10 
    
     
         p.sub.k =ch.sub.p.sbsb.k, until p.sub.k =0 
    
     The n denotes the number of different p&#39;s obtained from iterations in Equation 10. The dips in the optimal selection will be those numbered p 1 , p 2 , . . . , dirp n . These dips will appear sorted by depth but in the order reverse from that of the input. 
     Referring now back to FIG. 5, this Figure represents a typical flow diagram of the foregoing dip selection process just described whereby the optimally selected dip values are selected as a function of the desired amount of scattering (determined, it will be recalled, from the selection of the value of the coefficient C). The diagram is suitable for implementation by a digital computer in a manner well known in the art. 
     As previously noted, at the end of all iterations of FIG. 5, the dips in the optimal selection will be numbered dir p .sbsb.1, dir p .sbsb.2, . . . , dir p .sbsb.n, and will appear sorted by depth in order reversed from the input. 
     It is therefore apparent that the present invention is one well adapted to obtain all of the advantages and features hereinabove set forth, together with other advantages which will become obvious and apparent from a description of the apparatus itself. It will be understood that certain combinations and subcombinations are of utility and may be employed without reference to other features and subcombinations. Moreover, the foregoing disclosure and description of the invention is only illustrative and explanatory thereof, and the invention admits of various changes in the size, shape and material composition of its components, as well as in the details of the illustrated construction, without departing from the scope and spirit thereof.