The invention relates to a system and method for analysis of gastro-intestinal electrical activity.
Gastroparesis is a condition in which the stomach typically fails to empty properly after a meal, leading to symptoms of early satiety, bloating, pain, nausea, vomiting, and in severe cases, malnutrition. Functional dyspepsia is a condition characterised by symptoms of ‘chronic indigestion’, lasting at least weeks to months, and which may include bloating, nausea and pain after eating. Delayed gastric emptying occurs in 25-40% of functional dyspepsia. Gastro-oesophageal reflux disease (GORD) is a condition involving the reflux of acidic gastric contents into the oesophagus accompanied by symptoms, primarily heartburn.
Gastric motility is controlled by an underlying bioelectrical activity, termed slow waves, and dysrhythmias of this electrical activity contribute to gastric dysfunction. Studies using electrogastrography (cutaneous gastric electrical measurements of uncertain reliability) and/or few ‘sparse’ electrodes have suggested that dysrhythmias occur routinely in gastroparesis, commonly in functional dyspepsia, and also in certain sub-populations of patients with GORD (eg, those who also have dyspepsia and those who experience regurgitation symptoms (8)). Gastric dysrhythmias may also occur in other functional disorders including cyclical vomiting syndrome, and morning sickness of pregnancy. However, the nature, mechanisms and clinical significance of gastric dysrhythmias has remained poorly understood, due to the limitations of the technologies previously used to assess them.
Peristaltic activity in the GI tract is coordinated by a propagating electrical activity termed slow waves. GI slow waves are initiated and spread via networks of interstitial cells of Cajal (ICCs), which are coupled to the smooth muscle layers in the GI tract wall. In the human stomach, slow waves originate at a pacemaker site high on the greater curvature, and propagate toward the antrum at a normal frequency of approximately three cycles per minute (cpm). Three cpm is the ‘intrinsic’ frequency of cells only in the pacemaker region. More distal areas of the stomach have been shown to intrinsically operate at lower frequencies (1.5-2 cpm) when isolated from the pacemaker region. In an intact network, therefore, all cells are synchronised to the fastest frequency in the syncytium in a process called ‘entrainment’.
The stomach may come to operate at abnormally high frequencies (termed ‘tachygastria’) or sometimes abnormally low frequencies (‘bradygastria’) and different regions of the stomach can become ‘uncoupled’, causing dynamically-competing wavefronts that collide and/or abnormal patterns of activity. Among most important of these abnormalities is tachygastria, because it has been recognised most often in disease states. There are two recognised types of tachygastria: irregular and regular. The standard conception of tachygastria is that a specific ‘focus’ of cells come to operate at a faster frequency than the rest of the stomach. The mechanisms behind this standard theory are poorly understood, but one rationale is that prostaglandins (locally acting physiological messenger hormones) might serve to raise the intrinsic frequency of a patch of slow waves above their normal level.
In broad terms in one aspect the invention comprises a system for analysis of gastrointestinal-electrical activity comprising:
In some embodiments the system is arranged to display any one or more of an activation time map indicative of the propagation of electrical activity, a propagating wavefront animation, a velocity map indicative of slow wave velocity and/or direction, an amplitude map of slow wave signal amplitudes across the stomach, and a dysrhythmia map of the GI electrical activity.
In some embodiments the system may comprise a reference database indicative of geometries of one or more sections of the GI tract and related characteristics such as subject height and sex relating to each geometry, and the system is arranged to select a best-fit geometry from the database for each subject under study and optionally modify the selected geometry.
In broad terms in a further aspect the invention comprises a method for mapping GI electrical activity which comprises acquiring electrical potentials from at least one electrode contacting a surface of a section of the GI tract and spatially mapping from the electrical signals GI electrical activity at said section of the GI tract and identifying as indicative of disease including (but not limited to) gastroparesis and/or functional dyspepsia or as useful in the diagnosis of disease mechanisms in gastro-oesophageal reflux disease and other gastro-intestinal motility disorders or nausea and vomiting disorders any one of or any of in combination:
In a preferred form said processing of the electrical potential signals detected at the electrodes includes animating the individual propagating waves over a generic or subject-specific anatomical model.
The processing may also include making time activation maps of waves, calculating velocity and amplitude fields from the activation maps, and displaying the activation maps and velocity fields over the anatomical model.
The processing may also include comparing the GI electrical activity to a stored reference database to provide an indication of normal or abnormal GI electrical activity.
In broad terms in another aspect the invention comprises a system arranged to receive and process electrical signals (obtained for example by electrocardiography) relating to GI smooth muscle electrical activity in the GI tract and to identify from said electrical signals as indicative of disease including (but not limited to) gastroparesis and/or functional dyspepsia or as useful in the diagnosis of disease mechanisms in gastro-oesophageal reflux disease and other gastro-intestinal motility disorders or nausea and vomiting disorders any one of or any of in combination:
The invention also includes a method which comprises receiving and processing electrical signals (obtained for example by electrogastrography) relating to GI smooth muscle electrical activity in the GI tract to identify from said electrical signals as indicative of disease including (but not limited to) gastroparesis and/or functional dyspepsia or as useful in the diagnosis of disease mechanisms in gastro-oesophageal reflux disease and other gastro-intestinal motility disorders or nausea and vomiting disorders any one of or any of in combination:
In electrogastrography (EGG) for gastric dysrhythmias electrodes are placed on the skin to record the distant organ electrical activity.
Normally, slow waves propagate in successive wavefronts that travel longitudinally down the stomach. Circumferential slow wave propagation (slow waves travelling transversely across the stomach) does not normally occur, except for a short distance at the normal pacemaker region, because ring wavefronts are quickly established after slow waves originate at the pacemaker region, such that excitable tissue only remains in the longitudinal organ axis.
The system and method of the invention are intended to be useful particularly in the diagnosis of gastric dysrhythmias including in gastroparesis and functional dyspepsia, and nausea and vomiting disorders, and may also be useful in the diagnosis of disease mechanisms in gastro-oesophageal reflux disease and other gastro-intestinal motility disorders such as small intestinal, colonic and rectal dysmotility disorders, or in other smooth-muscle-lined viscera, including the bladder.
The system of the invention may be employed as an adjunct to upper or lower GI endoscopy.
The system and method of the invention may be useful to guide therapies for gastric dysmotility disorders, including gastric electrical stimulation, targeted ablation of aberrant conduction pathways and targeted drug delivery.
The term “comprising” as used in this specification means “consisting at least in part of”. When interpreting each statement in this specification that includes the term “comprising”, features other than that or those prefaced by the term may also be present. Related terms such as “comprise” and “comprises” are to be interpreted in the same manner.
Embodiments of the invention are further described with reference to the accompanying figures, without intending to be limiting, in which:
In the method and system of the invention GI smooth muscle electrical activity is mapped and and any one of or any of the following in combination is identified as indicative of disease including (but not limited to) gastroparesis and/or functional dyspepsia, or nausea and vomiting disorders, or as useful in the diagnosis of disease mechanisms in gastro-oesophageal reflux disease and other gastro-intestinal motility disorders:
GI smooth muscle electrical activity or slow wave activity starts at a normal pacemaker area of the stomach indicated in
Circumferential propagation emerges during a range of gastric dysrhythmias, because if the normal ring wavefronts may be broken by conduction defects, or if aberrant initiation of a wavefront occurs within a field of resting tissue, then excitation is once more free to proceed in the circumferential direction (transversely across the stomach). An increase in extracellular amplitudes accompanies the increase in slow wave velocity because of direct proportionality between velocity and transmembrane current entering the extracellular space. The detection of amplitude and velocity changes therefore now constitutes a novel useful biomarker for detecting, localizing, characterizing and monitoring gastric dysrhythmias. The velocities detected are in the range of 1.5 to 3.5 times higher than normal in the corpus (average 2.5 times) and 1.5 to 3.5 times higher than normal in the antrum (average 2.5 times). The amplitude increase is in the range of 1.5 to 3.5 times higher than normal in the corpus (average 2.5 times and 1.5 to 3.5 times higher than normal in the antrum (average 2.5 times).
During tachygastrias slow waves typically propagate retrograde from the antrum toward the body of the stomach, reversing their normal course. This in turn may lead to reverse contractions, which may be partly responsible for symptom generation. Tachygastrias have also been correlated with dysfunctional gastric smooth muscle contractility.
We have identified a new mechanism for tachygastria based on circumferential re-entry loops. Instead of the tachygastria originating from a stable ectopic focus of cells operating above their intrinsic frequencies as schematically illustrated in
where vc is circumferential velocity and φ is the circumference. These wavefronts will propagate proximally and distally (in a slight ‘cork-screw’ formation) from the point of re-entry according to the equation:
where vl is me longitudinal velocity.
The stability (or instability) of this circumferential re-entrant pattern may be governed by several factors:
Circumferential re-entry is then promoted by the fixed path of rapid conduction around the lesser and greater curvatures.
Functional re-entrant circuits (operating on the anterior serosal surface of the antrum) have previously been shown to occur in the stomach, but these are a different mechanism and were not shown to be stable. A functional re-entrant wavefront initially propagates in both longitudinal and circumferential directions but ultimately propagates in a loop because of non-uniformity within the tissue, whereas the circumferential re-entry loops wave fronts only propagate in the circumferential direction. Moreover, circumferential re-entry loops have high amplitude and high velocity band comparing to normal detected electrical activities therefore allowing it to be readily observable. The velocities detected are in the range of 2.5 to 3.5 times higher than normal in the corpus and 1.25 to 2.5 times higher than normal in the antrum. The amplitude increase is in the range of 2 to 3.5 times higher than normal in the corpus and 1.25 to 2.5 times higher than normal in the antrum. The circumferential re-entry has greater potential to be a mechanistically stable cause of gastric dysfunction, primarily because of the rapid circumferential conduction pathway.
Re-entry may not be exclusively low in the stomach. For example, it may occur in the corpus as a result of exit-block from the normal pacemaker site, which for example may occur due to degradation of interstitial cell of Cajal networks in diabetes. Re-entry refers to one wave front repeatedly activating a tissue circuit in continuity. An abnormal wavefront may travel in a loop in the circumferential organ axis, along a continuous intrinsic rapid conduction pathway around the lesser and greater curvatures, and then continuously re-enter into that same circumferential tissue circuit.
A system for mapping gastrointestinal-electrical activity and identifying re-entrant GI electrical loops may comprise a mapping catheter and a processing system to receive and process electrical signals from multiple electrodes, spatially map the GI smooth muscle electrical activity at said section of the GI tract and identify slow wave activity indicative of abnormal GI electrical activity.
An alternative form of GI mapping catheter may comprise an expandable mesh, carrying a similar array of spaced electrodes, and formed of a resilient plastics material or a spring metal such as surgical grade stainless steel, and having a memory for its expanded position, which is mechanically restrained unexpanded until in position within the GI tract.
For example an electrode array of a GI mapping catheter of the invention may comprise between 1 and 10 rows of electrodes spaced lengthwise of the catheter between the proximal end (coupled to tube 3) and the distal end, each row comprising between 3 and 20 electrodes spaced around the catheter, providing an array of between 3 and 200 electrodes for example. In an alternative embodiment the electrodes 1 may be arranged in rows angled or tangential to the longitudinal axis of the catheter, with, when the catheter is an expanding mesh catheter, an electrode at each or at least many intersections of mesh elements, over a part of the major surface area of the mesh catheter.
In relation to the electrode form, desired qualities for GI electrical signals acquired by the electrodes are an adequate signal to noise ratio (SNR) (the gastric mucosa has high impedance and attenuates signal), a stable baseline, and preferably a steep negative descent at the down-slope of the slow wave signal. As stated the electrodes are preferably protruding, to press into or indent the mucosa to achieve an adequate SNR. Smaller electrode diameters will generally achieve a steeper down-slope (shorter duration of activation over the electrode signal; quicker offset to onset period). However, if the electrodes are too protruding and of too small a diameter, they may puncture the gastric mucosa rather than press into it. A suitable form electrode may comprise a conductive protrusion of between 2 and 5 mm, or 2 and 3 mm, or about 2.5 mm in length (from the electrode carrier or electrode base to the tip of the electrode), and of a cross-sectional dimension (such as diameter if the electrodes have a circular or similar cross-section) of between 0.3 and 3 mm, or 0.5 and 1.5 mm, or 0.7 and 1 mm, or about 0.8 mm. The electrodes may suitably comprise sintered Ag—AgCl electrodes.
The catheter has been described above in relation to, and as suitable for, insertion through a natural orifice into the GI tract but in an alternative embodiment one or more rows of electrodes may be carried on another form of electrode carrier such as an element for example a flexible pad, adapted to contact the external serosal surface of the stomach. Such an electrode carrier may be surgically inserted for example via laproscopic or keyhole surgery into the abdomen and positioned against the exterior of the stomach. An example is shown in
In use a GI mapping catheter as described is connected by a cable to a signal acquisition stage of a GI electrical activity mapping system of the invention and once the GI catheter is positioned by the clinician in the GI tract, and engaged with the mucosal wall, the clinician may activate signal acquisition, typically via a graphical user interface. The GI mapping system is arranged to receive and process multi-channel electrical signals from the mapping catheter electrodes 1, either all or at least those making good contact, and is arranged to identify GI slow waves and spatially map the GI myenteric electrical activity (herein referred to as GI smooth muscle or slow wave electrical activity) preferably in real time or near-real time, and identify re-entrant GI electrical loops. The system may typically comprise a computer including a processor, program memory, and an operator interface including display or VDU which may be a touch-input screen and optionally also a keyboard or keypad, and a communications interface, coupled by a data bus.
The analysis processing by the GI mapping system of the electrical potential signals detected at the electrodes includes identifying GI electrical slow waves and mapping the electrical activity, which may include producing any one or more of an activation time map or maps of gastric electrical waves or wavefronts, a velocity field map or maps, an amplitude map or maps, all either as pixelated or isochronal maps or in other form, and which may also or alternatively animate any one or more of the same and/or GI slow wave propagation generally. The analysis processing may include mapping and/or animating the GI electrical activity or propagating waves over a generic or subject-specific anatomical model, running on the system processor. The GI mapping system is arranged to carry out analysis to identify re-entrant GI electrical loops. This analysis processing may also include comparing the mapped GI electrical activity to a stored reference database to provide an indication of normal or abnormal GI electrical activity.
In
Many of individual system blocks of the preferred embodiment system of
Signal acquisition may for example be at a sampling resolution of >1 Hz, typically at ˜30 Hz, and up to 512 Hz or greater. In a signal acquisition stage the signal channels may be digitized and amplified, and filtered to remove low frequency drift and wandering baselines, important for mucosally-acquired low amplitude and low frequency GI electrical signals, and to remove unwanted artifacts and noise.
“Activation” as used herein refers to a rhythmic spontaneous inward current in interstitial cells of Cajal, causing the cell membrane potential to rapidly rise. In extracellular recordings the onset of this depolarization termed “activation time” or AT signals the arrival of a propagating electrical wavefront to a particular location in the tissue. ATs must be identified (“marked”) at each electrode site. The marked electrode ATs are used to generate an activation time map or maps which provide(s) detailed spatiotemporal visualization of the spread of GI electrical activity across an area of tissue. ATs are identified to produce an activation time map or animation.
A preferred method for automated AT marking is a falling edge varying threshold method, which comprises transformation, smoothing, negative edge detection, time-varying threshold detection, and AT marking of the signal from each electrode.
Transformation can be carried out by for example negative derivative, amplitude sensitive differentiator transformation, non-linear energy operator transformation, or fourth-order differential energy operator transformation. A moving average filter of a tuneable width is applied to the transformed signal to smooth the signal. The transformation amplifies the relatively large amplitude, high frequency components in the recorded signal, which corresponds to the onset of activation. Subsequent filtering increases the SNR of the transformation by reducing high frequency noise.
An edge detector kernel is then be used to identify falling edges within the smoothed signal. A falling edge produces a positive deflection in the signal from the edge detector kernel, and a rising edge produces a negative deflection.
A FEVT signal is then calculated by multiplying the signal from a falling-edge detector and the smoothed signal, and then all negative values which indicate a rising edge are set to 0.
In the preferred form a time-varying threshold is calculated from the FEVT output, by computing the median of the absolute deviation in a moving window of predefined width. The centre of the moving window consecutively shifts one sample forward, such that the threshold is computed for each point in time over the duration signal. Such a variable threshold improves detection accuracy by accounting for slight deviations in the waveforms of recorded signals. A constant threshold may be used but a time-varying threshold may reduce potential double counting and mis-marking. Signal values greater than or equal to the threshold define the times at which slow wave events might occur.
Individual slow wave events are then identified from the resulting data set which may contain multiple slow wave events, by imposing a criterion that distinct events must be separated by a minimum time.
The ATs as are clustered based on temporal closeness, into distinct cycles that partition the discrete propagating GI slow wave wavefronts. Clustering identifies individual GI slow waves based on a temporal closeness criterion, and proceeds in iterative fashion. Consecutive members in a data set are grouped as representing the same GI slow wave event if they are close enough in time to an estimated activation time. Such estimation employs deriving the best-fit second order polynomial surface, based on the location of electrode sites and the activation times detected at them. The estimated activation time is computed by extending said polynomial surface to the candidate location for clustering. The maximum time difference allowed to cluster two members is termed the time tolerance; its value must be long enough to accommodate small estimation errors and identify fractionated waveforms as single events, but short enough to properly partition distinct GI slow waves. When no more members of the data set meet this closeness criterion, a new cluster is formed to represent the next GI slow wave event. Auto clustering groups all marked data into individual clusters, each delimiting an independent GI slow wave event
The algorithm is initialized by automatically selecting a “master seed”, which is an electrode position embedded in a region with the maximal density of information about a propagating wavefront. The cluster is then grown outward from the region where the spatial density of data is highest, ensuring that the subset of points initially assigned to the cluster is statistically cohesive and limiting the possibilities of assigning noise signals to a nascent clusters. The master seed may be selected by first calculating the total number of ATs detected at each electrode site, then finding the centre of mass and selecting the seed location as the electrode closest to the centre of mass. Once the master seed is located, a queue containing the nearby electrode sites' ATs in a specified circular range of the master seed is created and the first AT in the queue becomes the current seed. Each AT is tested for membership of a cluster based on comparison to an estimated AT, which is derived by fitting (in the least squares sense) a second-order polynomial surface to the data points already assigned to the cluster. The 2nd order surface acts as a continuously updating spatiotemporal filter: if the time difference of estimated AT and tested AT is small enough, then the tested AT is considered as representing a same wavefront as the seed and is assigned to the cluster. Once assigned, the point is not assessed again. If the tested point is clustered, all of its neighbour electrodes and marked ATs at these electrodes are added to the back of the queue, providing they are not already in it. If a tested point is not clustered, it may be tested again for membership only after a new cluster is initialized at the next iteration. This restriction forces all wavefronts to be independent. Regardless of whether any point is added to the cluster, the current seed is removed from the queue and the next electrode site becomes the current seed. Thus, the region in (x, y, t) space representing an independent cycle grows, and terminates when the queue of nearby points becomes empty. At this stage, the cluster contains all ATs from one GI slow wave cycle. The same process is repeated to identify another independent cycle, starting with the next sequential AT marked at the master seed. Each iteration produces a cluster of (x, y, t) points which represent the dynamics of an independent GI slow wave cycle, from which wave front propagation, an actuation time map may be produced, and isochrones map calculation, velocity and amplitude calculation can all be realized.
An activation time or isochronal map comprises a contour plot of GI slow wave activation. An isochronal map may comprise a spatial representation of the electrode sites, and the isochrones (contour lines), which represent the spatial distribution of ATs lying within the same specified time window, i.e. sites with similar activation times. In a preferred form the temporal resolution (i.e. isochrone interval) may be about 0.5 seconds when the activity is fast (>10 mm/s), about 2 seconds when the activity is slow (<4 mm/s), and about 1 second when the activity is from 4-10 mm/s, for example. Information such as speed and direction of propagation may be inferred from an isochronal map.
The spatial interval of two neighboring isochrones can be used to calculate the velocity of slow wave propagation.
An activation time or isochronal map may be produced by:
A pixelated isochronal map may be converted into a smooth, filled contour map with isochronal lines spaced at a specified time interval.
Poor electrode contact to the mucosal surface may result in areas with imperfect electrical recordings. To represent the entire activation field, areas with bad contact may be interpolated based on the surrounding ATs. Inactive electrode sites surrounded by several active sites are preferably interpolated into the AT map. In a preferred form a 2-stage spatial interpolation and visualization scheme may conservatively interpolate inactive electrodes using information from neighboring active electrodes on the basis that if an inactive electrode site is bordered by three directly adjacent (including diagonal) active electrodes, the AT is linearly interpolated from adjacent active sites' ATs, and correspondingly pseudo-colored (an “interpolated site”). If the total number of active plus interpolated sites bordering a still-blank site is four, then the still-blank site in interpolated. Such a 2-stage scheme, as opposed to a recursive one, prevents a run-away interpolation process from inappropriately filling in blank sites across the entire array.
An isochronal map may also be applied over an anatomical geometry model in 2D or 3D to aid visualization and accurate diagnosis for the clinician.
A velocity field may be mapped in 2D or displayed over anatomical organ geometry in 3D in a similar way to as described for activation time mapping.
The wavefront propagation may be directly animated from the ATs, or clustered ATs to provide animations of an improved accuracy or clearer visualization to convey information of a propagation wave behaviour, including complex behaviors such as occur in slow wave dysrhythmias. Separate colors may be assigned to the discrete wavefronts in the animations (or map(s)). In one embodiment, animation may be performed by:
Animation(s) may also be on an anatomical geometry model to aid visualization and accurate diagnosis for the clinician as will be further described. Preferably the animation(s) may be zoomed and rotated.
GI slow wave propagation velocity in the stomach varies. Differences may be greater during dysrhythmia. Velocity calculations may assist in diagnosing at least some dysrhythmias. The change in wavefront orientation and the onset of anisotropy are important clues to the diagnosis.
The velocity map can be simply obtained from gradient field of the activation times. Preferably interpolation and smooth filter are also applied to obtain a more accurate and smooth velocity field.
The activation times are define as T(x,y) in an two dimensional array and the velocity field is defined as in Equation 1. Each of the velocity field vectors represents the direction of wave front propagation and the speed at which the wave is travelling at that time instant.
The gradient of the activation times Tx and Ty could be calculated via a finite difference approach. The finite difference approach uses centred difference in the internal 2D array of the activation times and uses two point one sided differences on the edges of the 2D array of activation times.
A smoothing filter may be introduced to reduce edge effects, and unknown values in the gradient array need to be obtained by interpolation, preferably using an inverse distance weighting method as shown in Equation 3.
where Y is the unknown value to be interpolated and the X is the known value, and D is the distance between the known (X) and unknown values (Y).
Once the gradient array of the activation times is obtained, the velocity field vectors can be calculated from the gradient field vectors using Equation 1 above.
A smoothing function is then applied to the velocity field vectors to reduce noise artefacts. Preferably the smoothing filter is a Gaussian filter, where the output is a centrally averaged weighted value, for example Equation 2 below shows a Gaussian Filter which could be used.
After the smoothing function, the interpolated values are removed from the array. Finally the velocity array is normalized to retrieve direction and speed information from each vector.
Extracellularly-recorded slow wave amplitudes may be indicative of pathology and/or dysrhythmia because amplitudes may be low in some diseases, where interstitial cell of Cajal networks are degraded and/or dysrhythmia may be associated with regional high or low slow wave amplitudes. A slow wave amplitude may be calculated based on the identified AT of an event.
The amplitude may be calculated by using a fixed time window and identify amplitude as the differences between peaks and troughs for event falls in the window. However, such method has potential inaccuracies.
Referring to
First of all a fiducal point is chosen as a detected gastric event (GEA) within detected signals, a fixed window is then applied to select signals centred around the fiducal point. The amplitude signals which fall into this window of selection are subject to first and second derivative calculation and zero crossings of the first and second derivative are located. A zero crossing of the first derivative indicates either a peak or trough has occurred at that time instant, whereas a zero crossing from the second derivative indicates a point of inflection. A point of inflection is where the original signal changes its sign of curvature, for example from negative curvature to positive curvature, or from concave downwards to concave upwards. For example in
The spatial representation of the electrodes may be defined in a system ‘configuration file’ (also used for the activation time maps), which includes information on the inter-electrode distance. Velocities are calculated as described above from the activation time map values. The propagation speeds at each active electrode are assigned colours from a spectrum range, and are then displayed as a ‘speed map’ according to the configuration file. Arrows representing normalised velocity vectors are then overlaid on the speed map to create the ‘velocity map’.
Amplitude values are calculated for each wavefront as described above. These values are then assigned a colour from a spectrum range, and displayed as an ‘amplitude map’ according to the configuration file. The colour range assigned to the amplitude and speed maps is then interpolated to give smooth colour transitions or ‘contour maps’, that allow for easier visualization and interpretation.
The electrode array position may be anatomically registered in the GI tract by for example:
In one embodiment a measuring system is arranged to measure the volume of air or other fluid installed into an inflatable mapping catheter via a syringe or pump. The user instills a sufficient volume until the electrodes press against the gastrointestinal tract mucosa. Air may also be removed from the tract, via endoscopic suction, such that the tract walls collapse down around the device. The degree of inflation determines the final spacing of the electrode array because the electrodes move further apart during inflation. In a preferred embodiment the electrode spacing at the time of mapping is determined by:
The calculated ‘inter-electrode distance’ on the expanded device, at the time of mapping, is subsequently used by the system in calculating the activation times, clustering, isochrone, velocity, and amplitude mapping and animations.
Model Selection from Generic Database, or Subject-Specific Model Development
A subject-specific anatomical model of the mapped part of the GI tract may be produced by for example:
The system may comprise a database of multiple models along with corresponding data on how each was acquired e.g. sex, age, imaging methodology, medical history, pathological conditions, and an appropriate model may be recalled from the database by the system based on data such as demographic data relating to the patient entered by the clinician, for example the patients' sex and age data. For example, if a 5 year old female child is being examined, a mean stomach geometry for five-year old female children can be automatically presented to the clinician. Alternatively, a library of models may be stored for review by the clinician, to manually select one that best matching the stomach geometry of the patient under examination. This library is arranged in size order for intuitive browsing.
Construction of a specific anatomical model brings together:
to create a model specific for the GI tract section and patient under evaluation. The chosen anatomical geometry model is reconfigured to match the calculated geometry resulting from the mapping catheter expansion, for example by:
With a specific model that best represents the anatomy under evaluation, and the position and degree of expansion of the mapping catheter and electrode array, 2D or 3D activation time, velocity, and amplitude maps and animations may be applied to the model and displayed as referred to previously. For example this may be achieved by:
The system and method of the invention may facilitate an accurate diagnosis by allowing the clinician to compare the mapped GI slow wave data to standard reference (normal population) data, or the system may be arranged to identify and highlight re-entrant GI electrical loops. A specific diagnosis may be automatically suggested by the system, based on characteristic differences from the normal population.
In a user menu in the system interface, the clinician may select to review slow wave amplitudes for a specific time period of the recording. The system is arranged to present a comparison to a standard reference range.
As a further example, to detect re-entrant loops, activation times of individual slow wave cycles are identified and isochronal activation maps and velocity maps are calculated for every wave cycle. In a user menu in the software interface, the clinician may select to review slow wave propagation and velocity for a specific time period of the recording i.e. specific slow wave cycles occurring during that period. As well as spatially mapping the isochronal activation patterns and velocities for the selected time period, the system is arranged to perform the following steps to present a comparison to the standard reference range:
The clinician may then institute a targeted therapy into the location where the dysrhythmia is occurring, such as pharmaceutical agent, or pacing or ablation therapy, to interrupt the dysrhythmic mechanism. The targeting of this therapy can be specifically guided by the anatomically visualized spatially represented isochronal slow wave maps, or animations, to ensure it is accurately delivered.
The invention is further illustrated, by way of example and without intending to be limiting, by the following description of trials work.
Patients with diabetic gastroparesis were recruited and consented. Each patient had documented delayed gastric emptying on a 4-hr standardised scintigraphy study, to at least 20% gastric retention at 4 hrs. The mean 4-hr gastric retention of this group was 29%. The mean symptom score (on a 20-pt standardized scale) was 16/20.
Flexible printed circuit board (PCB) multi-electrode arrays consisted of copper wires and silver or gold contacts on a polyimide ribbon base (‘PCB electrode array’). The recording head of each individual PCB-electrode array had 32 electrodes in a 16×2 configuration, with an interelectrode distance of 4 mm. In each experiment, 7-8 PCB-electrode arrays (224-256 electrodes total; area 36 cm2) were arranged in a square configuration (see below) to map ˜⅓ of the anterior gastric surface with each placement.
Mapping was undertaken immediately after opening the abdomen and prior to manipulating the organs or commencing any surgical dissection. The PCB-electrode arrays were laid directly on the anterior surface of the stomach; the posterior gastric surface has not yet been mapped. Once placed, the locations of the PCB-electrode arrays was defined with reference to several anatomical landmarks: the gastroesophageal junction (defined by the angle of His), the apex of the fundus, the junction between the corpus and antrum (defined by the nerves of Latarjet) and the pylorus (defined by the vein of Mayo). Warm moist gauze packs were laid on top of the PCB electrode arrays to ensure that gastric contact was maintained. Care was taken to allow the PCB-electrode arrays to move freely with the respiratory excursion, and traction by the PCB-electrode array cables was avoided by loosely attaching them to the surgical ring retractor. The mapping period was ˜15-20 min in each case, and two to three adjacent areas of stomach surface were mapped in each patient.
Unipolar recordings were acquired from the vs via the ActiveTwo System (Biosemi, Amsterdam, The Netherlands), which was modified for passive recordings, at a recording frequency of 512 Hz. The common-mode sense (reference) electrode (CMS) was placed on the left shoulder, and the right-leg drive electrode (DRL) was placed on the right shoulder; slow wave recordings are referenced to the potential of the CMS electrode. The CMS and DRL were connected to standard 3M Ag/AgCl Red Dot cutaneous monitoring electrodes (3M, St Paul, Minn.). Each PCB was connected to the ActiveTwo via a 1.5 m 68-way ribbon cable, which was in turn fiber-optically connected to a notebook computer. The acquisition software was written in Lab View 8.2 (National Instruments, Austin, Tex.).
Off-line signal analysis was performed in GEMS Software (The ‘Gastrointestinal Electrical Mapping Suite’; Auckland University, NZ). Signals were filtered by using a second-order Bessel low-pass filter with a cut-off threshold of 2 Hz. Individual slow wave events within the signal were detected using the falling edge variable threshold (FEVT) algorithm, which has been validated for this purpose. Slow waves were then partitioned into cycles using the REgion GROwing Using Polynomial Surface-estimate stabilization (REGROUPS) method. Isochronal activation maps were constructed according to our standard automated methods, in Matlab v.2006b (The Mathworks, Natick, Mass.).
In order to provide a baseline reference for the abnormal activities, an example of normal activity (activation, velocity and amplitude maps) is provided in
This patient provides an example of an antral tachygastria recorded in diabetic gastroparesis.
Observation of event times: Referring to
Two more examples of loop re-entry are next shown from the gastric corpus from two different gastroparesis patients than the antral tachygastria case. Activation and velocity maps are shown. Note that these events occurred at a frequency that would typically be considered to be ‘normal’, so the term ‘tachygastria’ should not be routinely applied to the loop re-entry mechanism.
Referring to
Mapping of the normal pacemaker region demonstrated only a small region of activation that failed to propagate >20 mm from the normal pacemaker site (ie, ‘exit block’)—see
Small intestine (SI) mapping studies show that that loop re-entry acts as a pacesetting mechanism in the GI tract, causing activity at higher than intrinsic frequencies and thereby inducing retrograde slow wave propagation.
In-vivo HR serosal mapping was performed in five anesthetised weaner pigs using customized flexible PCB-electrode array) platforms (256 electrodes; 4 mm spacing, ˜35 cm2) that were wrapped around the circumferential curvature of the small intestine (SI). Silicone cradles were used to maintain PCB-electrode array contact over the curvature of the intestine. The electrode arrays were applied at representative intervals down the length of the intestine, from the proximal duodenum to the terminal ileum. Our analysis methods and GEMS Software (as described above) were utilized to characterise the spatiotemporal details of SW propagation and velocity in HR.
Circumferential re-entry loop activity was observed at multiple locations in multiple animals. In these instances, the electrode array was wrapped around the entire circumference of the intestine (except the mesenteric attachment). SW activity propagated orally and aborally from the circumferential re-entry loop sites and the frequency matched the expected formula:
An example of stable SI circumferential re-entry loop activity is shown in
Apart from at the normal pacemaker site:
In a trial mapping methods generally as previously described were used on pigs. The recording position was over the greater curvature of the pig stomach, as shown in
The normal control situation was as shown in
Case of Incomplete Conduction Block (from Same Site)
A conduction block was induced by gastric handling. This is shown in
Referring to
Note, as per this example, that the abnormal amplitude and velocity ranges provided above are specific to the area of circumferential propagation, rather than the whole mapped field.
12 consecutive patients with medically-refractory diabetic (n=8) or idiopathic (n=4) gastroparesis, confirmed by standardized scintigraphy protocol testing (≥10% meal retention at 4 hours), underwent high-resolution serosal gastric mapping during gastric electrical stimulator implantation. Patients with malignancy, primary eating disorders, or pregnancy were excluded. The median age was 42 yrs (range: 30-62), median 4-hr gastric retention was 26% (range: 14-75%), median TSS (total symptom score on a 20 pt scale) was 16 (range: 13-20) and median BMI was 27 (range: 15.5-46).
All experiments were performed in the operating room following general anesthesia and upper midline laparotomy. The anesthetic methods used were similar to those used in another recent human study, in which 12 normal subjects underwent intra-operative mapping, and all showed exclusively normal slow wave activity.
HR mapping was performed using validated flexible printed circuit board (PCB) arrays. Each PCB had 0.3 mm electrode contacts, with 32 electrodes in a 16×2 configuration at 4 mm inter-electrode spacing, and in all cases eight PCBs were joined in parallel alignment with a sterile adhesive and used simultaneously (256 electrodes total; 16×16 array; 36 cm2). Mapping was undertaken immediately after laparotomy and prior to organ handling or stimulator placement. The PCBs were laid on the anterior stomach; the posterior surface was not mapped. The mapped positions were defined with reference to standard anatomical landmarks. Warm wet gauze was laid over the PCBs, the wound edges were approximated, and the cables were attached loosely to a retractor, ensuring they moved freely with respiratory excursion. The recording period was around 15 minutes in each case, with two or three adjacent gastric areas being mapped. Unipolar recordings were acquired at 256-512 Hz using a modified ActiveTwo System (Biosemi, The Netherlands). Reference electrodes were placed on the shoulders. Each PCB was connected to the ActiveTwo via a sterilized 1.5 m 68-way ribbon cable, and the ActiveTwo was fibre-optically connected to a computer. Acquisition software was written in Labview v8.2 (National Instruments, TX).
Full-thickness gastric biopsies were taken from the anterior stomach and analysed for circular muscle interstitial cell of Cajal counts.
All HR mapping analysis was performed in the Gastrointestinal Electrical Mapping Suite (GEMS) (v1.3). Recordings were down-sampled to 30 Hz, and filtered with a moving median filter for baseline correction, and a Savitzky-Golay filter for high-frequency noise. Slow wave activation times were identified using the FEVT algorithm, and clustered into discrete wavefronts (cycles) using the REGROUPS algorithm, with thorough manual review and correction of all automated results. Activation maps were generated using a further automated algorithm, and sites of conduction block (abnormal cessation of a propagating wavefront) were corrected using an additional automated step. Animations were prepared for the presented data segments. Frequency was determined by measuring and averaging the cycle intervals at all electrodes, and conduction velocities and extracellular amplitudes were calculated as follows. Velocity vector fields were generated using a finite difference approach, with interpolation and Gaussian filter smoothing functions, and visualized by overlaying arrows showing propagation direction on a ‘speed map’. Propagation directions were then decomposed into longitudinal and circumferential components. Amplitudes were calculated by identifying the zero-crossing of the first and second order signal derivatives of each event, before applying a peak-trough detection algorithm, and visualized by assigning a color gradient according to magnitude.
Normal HR reference data was previously established using similar methods in 12 patients with normal stomachs. This showed that slow waves propagate as successive ring wavefronts down the stomach, and circumferential propagation (wavefronts traveling transversely across the stomach) does not normally occur except at the pacemaker area. An example of normal activity is presented in
Mean ICC counts were available and analyzed for 9/12 patients, and were substantially reduced in gastroparesis patients compared to the matched controls (2.3 (SE 0.3) vs 5.4 (SE 0.4) bodies/field; p<0.0001). The mean recording duration was 13.4 (SD 4.6) min/patient. Abnormal slow wave activity was recorded in 11/12 patients, and ranged from minor transient deviations from normal activity to persistent and highly disorganized patterns. The abnormalities were classified into either abnormalities of initiation (10/12 patients), or abnormalities of conduction (6/12), which often co-existed, and then subclassified by pattern, rhythm and rate according to the scheme illustrated in
The emergence of rapid circumferential slow wave propagation was a consistent finding across: i) all cases of aberrant slow wave initiation, including both stable ectopic pacemakers and unstable ectopic focal activities, ii) all cases of incomplete conduction block; and iii) all cases of complete conduction block with escape. Across all patients with propagation direction data for comparison (n=8; corpus and proximal antrum inclusive), the velocity was faster during circumferential propagation than longitudinal propagation (7.3 (SE 0.9) vs 2.9 (SE 0.2) mm s−1; mean difference 4.4 mm s−1 [CI: 2.4, 6.4]; p=0.002). Extracellular amplitudes were also higher during circumferential propagation than longitudinal propagation (415 (SE 65) vs 170 (SE 25) μV; mean difference 245 μV [CI: 135, 360]; p=0.002).
Slow wave recordings of GI electrical activity were undertaken during surgery in pigs. Recordings were taken with both a high SNR 48 electrode array (resin-embedded, shielded, silver electrodes) and from a lower SNR electrode array (flexible PCBs; unshielded), from the anterior porcine gastric corpus. One 180 second representative data segment was selected from each of five animals: two segments from the high SNR array and three from the low SNR array. Unipolar recordings were acquired from the electrodes via the ActiveTwo System, at a recording frequency of 512 Hz. The common mode sense electrode was placed on the lower abdomen, and the right leg drive electrode on the hind leg. The electrodes array were connected to the ActiveTwo which was in turn connected to a notebook computer. The acquired signals were pre-processed by applying a second-order Butterworth digital band pass filter. The low frequency cutoff was set for 1 cpm ( 1/60 Hz); the high frequency cutoff was set to 60 cpm (1 Hz).
The slow wave ATs in each selected data segment were manually marked to provide a baseline for comparison. Within the electrode signal V(t), there are three dominant features of a slow wave event: (1) a small magnitude upstroke, immediately preceding (2) a fast, large magnitude, negative deflection (dV/dt˜=1 mV/s), followed by (3) a relatively long (5 s) plateau phase that decays slowly back to baseline. The fast negative-going transient corresponds with the depolarization wave front of the propagating slow wave, signalling the arrival of the slow wave at the recording electrode site. The point of most negative gradient during a slow wave was determined to be the AT.
Automated marking of the low SNR signals was carried out by the falling edge variable detection method. Some slow wave events exhibit a relatively fast recovery to baseline. This produces two large pulses in the transform detection signals, which can lead to erroneous double counting—the second mark in a set of two should not be marked. Such double-marking is precluded by imposing a criterion that distinct activation time events must be separated in time by a minimum value, termed the refractory period. Also, multiple slow wave events recorded by an electrode are not identical over time. For example, some pulses in a particular signal transform detection signals have larger amplitudes than the others. This amplitude difference can lead to missed detection of the smaller amplitude events. The FEVT algorithm implements a time-varying threshold (VT) to aid in the detection of ATs when recorded serosal waveforms may change over time.
Use was made of a falling-edge detector signal, E(t), to amplify the large-amplitude, high-frequency content associated only with negative deflections, suppressing positive-going transients in the process. It is formed by convolving the serosal electrical potential signal with an “edge-detector kernel” dNedge: E(t)=V(t)*dN
To avoid slight variations in the waveforms leading to some events escaping detection, the FEVT method incorporated a time-varying detection threshold. Specifically, the time-varying threshold is based on the running median of the absolute deviation for time t using a window of half-width τHW centered at t for the FEVT signal, F(t):
where is the sample mean of F(t) in the time range [t−τHW, t+τHW] and M{⋅} denotes the sample median, as before. The variable threshold was then defined as: Fthresh=η×{circumflex over (σ)}(i), where η is a tunable parameter, as before. The moving median window was long enough to include the quiescent period in F(t) between the pulses of energy associated with the AT, but not so long that one slow wave can unduly influence the threshold defined for an event occurring much earlier or later. Values of 15, 30, and 45 s were used, which corresponds to about 1-2 full cycles 3 cpm gastric slow-wave waveform.
The FEVT method properly handled most problematic signals. For most electrodes, the FEVT detection algorithm succeeding in finding all ATs, without finding false positives. The overall performance of the FEVT algorithm was essentially invariant to the type of signal transform used when computing the FEVT signal. The FEVT detection signals contained large positive pulses corresponding to the negative-flanks of the corresponding electrode signal, while no such pulse was observed for positive-flank. The FEVT signals had a relatively high SNR. The time-varying threshold accommodates detection of ATs in an FEVT detection signal with a variable SNR. The FEVT algorithm was found suited to properly detect ATs in low SNR mucosally recorded signals.
Slow wave recordings were undertaken during surgery in pigs, and the recordings processed by the FEVT activation time marking method as described in Example 4. Recordings were taken with a low SNR array (flexible PCBs; unshielded), from the anterior porcine gastric corpus. Low SNR platforms were used because mucosal signals are typically of low SNR.
Four data sets (120 seconds duration) from four porcine subjects were selected because these segments represented a range of typical scenarios as follows:
The REGROUPS algorithm works by clustering (x, y, t) points representing ATs into groups that represent independent cycles ((x, y) denotes the position of an electrode site (relative to an arbitrary reference), and t denotes an AT marked at that site). The algorithm is initialized by creating a master list of all marked ATs, and selecting the master seed electrode site in automated fashion (see below). A queue containing the (x; y) positions of nearby sites is established. A “nearby” site was defined as falling within a distance √{square root over (2)}dmin of the seed electrode, where dmin denotes the minimum distance between the seed site and the closest site containing (at least) one AT. The factor of √{square root over (2)} essentially defines a circular search radius (for a square lattice array) to include sites located diagonal to the seed. dmin is not necessarily equal to the inter-electrode spacing (although it often will be), enabling the algorithm to successfully “jump” across local patches of missing data.
REGROUPS also employs an iterative “flood fill” or “region growing” procedure. The first queue entry (electrode site) becomes the current seed, and all ATs at that site, AT(x; y; j) (where j=1, . . . , J indexes the marked ATs), are tested for membership. A point (x; y; t) in AT(x; y; j) is assigned membership to the cluster (or not) based on comparison to an estimated AT, Test. If the difference is small enough, the AT which minimizes the estimate error is assigned membership to the cluster:
Once assigned, membership is never revoked. A point can be assigned membership to only one cluster (at most): Upon assignment, that (x; y; t) point is removed from master list of ATs so that is never tested again during the remainder of the clustering process. If the tested point is clustered, all of its nearby neighbors are added to the back of the queue, if they are not already in it. If the tested point is not clustered, it may be tested again for membership only after new cluster has initialized (a new activation time surface is calculated) at the next iteration. This restriction forces all wavefronts to be independent. Regardless of whether any point was added to the cluster, the current seed is removed from the queue, and the next queue element becomes the current seed. Thus, the region in (x, y, t) space representing an independent cycle grows, terminating when the queue of nearby points becomes empty. At this stage, the cluster contains all ATs from one cycle. The same process is repeated anew to identify another independent cycle, starting with the next sequential AT marked at the master seed. Each iteration produces a cluster of (x, y, t) points, which represent the dynamics of an independent cycle. Points which are not assigned membership to any cluster are termed “orphans.”
A step is to implement a 2nd-order polynomial surface, T(x, y), to act as a continuously updating spatiotemporal filter, where: T(x,y)=p1x2+p2y2+p3xy+p4x+p5y+p6.
Using only the (x, y, t) already in cluster, the vector of coefficients that defines the surface, p=[p1, p2, p3, p4, p5, p6], is computed using a previously described least-squares-fitting procedure: p=(ATA)−1At where A is a matrix whose rows are created using the (x, y) electrode positions of points already in the cluster: [x2, y2, xy, x, y, 1]; and t is a column vector containing the corresponding ATs marked at those electrode sites. Having solved for the vector of coefficients p that defines the polynomial surface, an estimate of the AT at a nearby site (xn, yn) can be obtained by simply extending the surface into that region: Test=T(xn, yn). The coefficients describing the surface, p, are automatically updated every time another point is added to the cluster. Therefore, the data set at hand determines the form of the polynomial surface, making it substantially more robust and more widely-applicable for distinguishing independent cycles in a variety of SW behaviors. At least 6 points are required to obtain a fully determined system of equations, so prior to switching on the polynomial surface estimation, Test is computed as the mean of the ATs of the points already assigned membership in the cluster. In practice, we found the algorithm performs best when the polynomial surface estimation is switched on when the cluster size reaches a “critical mass” of at Nexit≥12 points, which is on the order of frac110 the total number of electrode sites on the recording platform (data not shown). If the critical mass is too small, then the surface was overfit to a small core of points, yielding a poor description of the propagation pattern across the entire electrode array. On the other hand, if the critical mass was too large, then the technique fails to utilize information about the velocity gradient at the wavefront boundary, which is critical for the success of the algorithm (other spatiotemporal filters may be introduced into the software to aid detection of different electrical patterns).
The outcome of clustering is dependent on the initial seed selection, particularly when the data quality is patchy (sparse). Seed selection was automated such that the seed was chosen to be at an electrode position (x, y)seed which is typically embedded in a region providing the maximal density of information about the propagating wavefront:
where the sum is taken over all electrode sites, indexed by i. The y-coordinate yCM is similarly computed.
Isochronal slow wave activation maps were generated. Control and experimental arms were developed to compare completely automated versus completely manual results, starting from raw data and ending with AT maps. This approach therefore sought to validate the FEVT-REGROUPS-Automated-Isochronal-Mapping pipeline, to demonstrate real world practicability of the complete system:
Quantitative comparison: The automated results were quantitatively compared to the manually-derived results in terms of AT mapping a) area of coverage, and b) isochronal timing accuracy. The REGROUPS results showed strong similarity to the manual results with comparable isochronal intervals and orientations, comparable map coverage, and a high consistency between cycles. For normal pacemaker activity and peripheral quiescent region the REGROUPS results proved similar to the manual marking results with comparable isochronal intervals, orientations, and consistency between cycles, and similar spatial map coverage. For abnormal activity the manual maps and REGROUPS maps were highly comparable in terms of isochronal intervals and orientations. The REGROUPS consistently demonstrated slightly greater spatial coverage than the manual maps, extending proximally with a physiologically-consistent activation pattern.
The foregoing describes the invention including embodiments and examples thereof, and alterations and modifications are intended to be incorporated in the scope hereof as defined in the accompanying claims.
This is a Continuation of U.S. patent application Ser. No. 13/880,041, claiming an international filing date of Oct. 18, 2011, which is the U.S. National Phase patent application of PCT/NZ2011/000217, filed Oct. 18, 2011, which claims priority to U.S. Provisional Application No. 61/394,171, filed Oct. 18, 2010, each of which is hereby incorporated by reference in the present disclosure in its entirety.
Number | Date | Country | |
---|---|---|---|
61394171 | Oct 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13880041 | Sep 2013 | US |
Child | 15981233 | US |