the invention will now be described with reference to the drawing figures , in which like reference numerals refer to like parts throughout . embodiments of the present invention advantageously provide an inventive apparatus ( es ), computer - based data processing algorithms and methods for obtaining and using endovascular ecgs in a number of clinical applications and settings . for example , once device can be used to guide endovascular devices in and around the heart , e . g ., guiding central venous access devices in the superior vena cava , right atrium , and right ventricle . such central venous access devices may include central venous catheters ( cvc ), peripherally inserted central catheters ( picc ), implantable ports , hemodialysis catheters , tunneled catheters and others . other devices which may benefit from guidance with the inventive apparatus are temporary pacemaker leads placed through the central venous system . catheters and guidewires used in left heart procedures may also benefit from the present invention by decreasing the amount of contrast and radiation required to guide these devices in position . in another example , the apparatus can be used for minimally invasive monitoring and assessing heart conditions based on its electrical activity , e . g ., assessing preload in a heart cycle or monitoring st segments and t - waves in congestive heart failure . in one aspect of the invention , an apparatus is described consisting of sterile adaptors , an electronic module for signal acquisition , a computer module , software , and peripheral devices and connections . in one embodiment , the electronic module for signal acquisition can be dedicated to acquiring and processing endovascular electrical signals generated by the body ( endovascular ecg ), in another embodiment the electronic module can be dedicated to acquiring and processing endovascular ecgs as well as skin ecgs . in one embodiment , the electronic module and the computer module can be separate modules , in another embodiment they can be integrated in the same module and enclosure , and yet in another embodiment they can communicate with each other via a wireless connection , such as bluetooth . in one embodiment , the apparatus can contain an integrated printer , while in another embodiment the printer can be external and attached to the apparatus and the apparatus connected via network , e . g ., wireless to other devices . in yet another embodiment the apparatus can be used for telemetry and for transmitting the endovascular electrograms to a remote location , e . g ., via a telephone line , internet , and / or wireless phone . any combination of embodiments mentioned above is also possible . in another aspect of the invention , various configurations allow the connection of endovascular devices , such as central venous access devices , to the electronic module for signal acquisition and processing . in one embodiment , the device consists of a connecting wire with two ends and special connectors at each end . at one end , the wire can be connected to a metal or nitinol guidewire or stylet as commonly available on the market . at the other end , the wire can be safely connected to the electronic module . in another embodiment , the device includes a coated guidewire , e . g ., made of nitinol or stainless steel with uncoated distal and proximal ends and cm markings . in such an embodiment , the coated guidewire is inserted endovascularly , while the connecting wire is connected to the proximal end of the coated guidewire . in another embodiment , the device includes a catheter - syringe adaptor provided with an electrical connecting wire . at one end , the electrical connecting wire is in contact with the fluid , e . g ., saline flowing within the catheter - syringe adapter . at the other end the connecting wire can be connected to the electronic module . in another aspect of the invention , various electrode configurations allow for the optimal acquisition of endovascular ecgs . in one embodiment , a single lead is used to provide information about the tip location of an endovascular device within the vasculature . in another embodiment a modified three lead configuration is used to provide simultaneous 3 - lead monitoring of the heart activity at the same time with providing tip location information . in another embodiment a modified single lead configuration plus ground is used for telemetry and transferring information from the tip of the catheter remotely . in another aspect of the invention algorithms are introduced for the analysis of the ecg waveforms and for supporting decision making based on these waveforms . these algorithms discriminate between different locations in the vasculature and assess body functions ( systemic and at specific locations in the body ), in particular heart functionality . in various embodiments , these algorithms use time domain analysis of waveforms : morphologic , for example shape ; statistic , for example behavior . in other embodiments , the algorithms use frequency domain analysis of waveforms : morphologic , for example shape ; statistic , for example behavior . in further embodiments , signal energy analysis in time and frequency domains is also performed , morphologic and statistic . fuzzy , statistical , and knowledge - based decision making are also contemplated by the present invention as decision support tools . in another aspect of the invention , a user interface is provided that advantageously simplifies interpretation of data and workflow . in one , embodiment the user interface includes simplified graphics showing the location in the vasculature and in the heart of the tip of the endovascular device in use without showing any of the ecg waveforms . in another embodiment , the user interface shows , in real - time , the change in location of the tip of the endovascular device in use . in another aspect of the invention , several inventive methods are presented which use the apparatus described herein in clinical applications . in one embodiment , a computer - based method is provided that guides central venous catheters ( cvc , piccs , hemodialysis , implantable ports , and others ) using stylets , guidewires and saline solution to the superior vena cava , inferior vena cava , the right atrium , and the right ventricle . this method is advantageously less sensitive to patients with arrhythmias than the prior art , and represents an alternative to chest x - ray confirmation of tip location of central venous catheters in most clinical cases . in another embodiment , a computer - based method is provided that guides coated guidewires in the right and left heart . in another embodiment , a computer - based method is provided that guides the placement of temporary pacemaker leads through the central venous system . in another embodiment , a method is provided that is minimally invasive and monitors preload using depolarization and heart rhythms . in another embodiment , a method is provided that is minimally invasive and monitors arrhythmias using p - wave analysis . in another embodiment , a method is provided that is minimally invasive and monitors heart failure using st segment and t - wave analysis . fig1 is a block diagram that depicts an apparatus according to an embodiment of the present invention . the apparatus 100 can be attached through an adaptor ( 120 ) to a large variety of commercially available and custom designed vascular access devices ( 110 ). examples of such devices are : central venous catheters ( cvc ), peripherally inserted central catheters ( picc ), implantable ports , tunneled catheters , hemodialysis catheters , guiding catheters for pacemaker leads , guidewires used for coronary and other vascular interventions , guiding catheters for coronary and other vascular interventions , stylets , syringe needles , and others . if the vascular access devices is a stylet , a guidewire , or a syringe needle , its material must be sufficiently electrically conductive , e . g ., stainless steel or nitinol . in such a case the hook or the alligator clip adaptor according to the present invention should be used if the vascular access devices is a catheter , than saline should be used to establish a conductive path through one of the catheter &# 39 ; s lumens . in such a case , the syringe - catheter adaptor according to the present invention should be used . the electronic module ( 130 ) receives electrical signals from the adaptor and from one or more other electrodes placed on the patient &# 39 ; s skin ( 115 ). alternatively , more than one adaptor can be used at the same time to connect to more than one endovascular device in order to provide different electrical signals to the electronic module . the use of skin electrodes is optional in certain device configurations . the electronic module processes the electrical signals and transmits them to a computer module ( 140 ) for further processing and other functions . in one embodiment the electronic module and the computer module can be packaged separately , and in another embodiment they can be integrated in the same package . in one embodiment , the connection between the electronic module and the computer module can be hardwired ( 131 ), and in another embodiment the connection can be wireless ( 132 ), e . g ., using bluetooth . the computer module processes the signals from the electronic module applying algorithms ( 170 ) as described by the current invention . the computer module can also be connected to peripherals ( 160 ), e . g ., a printer or a label printer and storage devices and provides connectivity including wireless connectivity ( 150 ) to other computers or to the internet . the storage device can be used to store a database of knowledge and information regarding the application at hand . the connectivity interface can be used to update this database remotely with newest relevant knowledge and information , e . g ., new clinical cases , new findings regarding the relationship between electrograms and heart conditions . the computer module supports a graphical user interface ( 180 ) optimized for the purpose of the clinical application at hand . fig2 a , 2b and 2c depict various endovascular adaptor devices . fig2 a illustrates adaptors that can be made of an isolated conductive wire ( 255 ) made of copper or stainless steel having two ends : one end connected to a vascular access device ( 255 ), the other end connected to the electronic module ( 250 ). the end that connects to the vascular access devices includes a connector that may have several configurations . in one embodiment , the connector is a j - clip connector ( 230 ) with a spring for isolation purposes when the j tip is not extended . in another embodiment , the connector is an isolated alligator clip ( 220 ). in another embodiment , the connector is catheter - syringe adapter ( 210 ). one end of the catheter - syringe adapter ( 211 ) can connect to the catheter luer . the other end can connect ( 215 ) to a syringe . a metal insert ( 214 ), e . g ., a metal ring is located inside the body of the adaptor , comes in contact with the saline solution as it flows from the syringe towards the catheter lumen . the metal insert is connected through the adapter wall to a wire ( 212 ) which in turn is connected to the connector ( 250 ). in one embodiment the connector ( 250 ) is secured through external isolation ( 241 ) and plugs into a secure plug in the electronic module . in another embodiment the connector ( 250 ) has an optimized nipple shape ( 242 ) allowing for an easy and safe connection of a standard ecg cable connector . fig2 b illustrates a new guidewire ( 260 ) which allows for collecting electrical information only at its distal end ( 261 ). the guidewire made of electrically conductive materials with good enough conductivity , e . g ., stainless steel or nitinol . the guidewire is coated with an electrically isolating coating like conformal parylene coating over its entire length except at the distal end and at the proximal end . the catheter has length markings printed on it ( 262 ). the distal end which is an a - traumatic tip , either as a j - tip or in any other a - traumatic embodiment is not coated and it allows for electrical contact with the blood . the proximal end is not coated ( 263 ) and allows connectors like the ones in fig2 ( 220 or 230 ) to be electrically connected to the guidewire . fig2 c illustrates another embodiment of a catheter - syringe adaptor . a plastic piece ( 270 ) consists of a shaped end ( 271 ) which can fit into a standard catheter luer or into it lumen . the shape and the material allow for a good contact between the end ( 271 ) and the inner wall of the luer or lumen such that fluid can flow without leakage and no air is introduced into the lumen in the process . the other end of the piece ( 272 ) is a luer type connector which can fit any standard syringe . the body of the adaptor or inner chamber ( 273 ) adapts the diameter of the luer ( 272 ) to the size of the inner catheter lumen ( 271 ) and provides for a connection of an electrically conductive element in the inner chamber to a wire connected to the outside of the chamber through a perforation in the chamber wall ( 274 ). the connection through the chamber wall is waterproof . when saline is injected through the adaptor , the connection ( 274 ) creates a waterproof conductive path between the saline and an outside wire . the adaptor ( 290 ) is a plastic piece which interfaces two sizes of diameters ( 291 ) and ( 292 ). in one embodiment the end ( 271 ) of the adaptor ( 270 ) fits into the lumen end ( 291 ) of adaptor ( 290 ) and the other end ( 292 ) of adaptor ( 290 ) fits into the lumen of a catheter used to place implantable ports . fig3 is a block diagram of an electronic module ( 300 ) for acquisition and processing of endovascular electrocardiogram according to an embodiment of the present invention . the patient connector interface ( 310 ) allows for connecting electrical leads to the patient ( 305 ). any combination of skin electrodes and / or electrical connections to endovascular devices using the adaptors discussed above can be used . in one embodiment , the amplifier ( 320 ) is a four stage amplifier with variable gain , which can amplify electrical signals coming though the patient cable , for example , typical of electrocardiographic values . the analog - to - digital converter ( 330 ) converts the signals in digital format readable by the micro - processor ( 340 ). any number and configurations of microprocessors , microcontrollers , digital signal processors can be used to implement the micro - processing function ( 345 ). in one embodiment , a microcontroller is responsible for controlling the serial communication with a computer module ( 390 ) via the serial interface ( 370 ) or via the wireless interface ( 380 ) and a digital signal processor ( dsp ) is responsible for implementing one or several of the inventive algorithms described herein . alternatively , a single processor ( 346 ) can be used for both communication and processing . the micro - processor ( 340 ) also receives commands from the computer module ( 390 ) and controls different elements of the electronic module , e . g ., the amplifier ( 320 ) accordingly . the patient isolation block ( 350 ) decouples electrically the power ( 360 ) and the serial communication channel ( 370 ) from the patient interface ( 310 ) in order to ensure patient protection to electrical shock . in one embodiment the isolation block ( 350 ) can consists of a transformer and / or couplers , e . g . optical couplers . fig4 a , 4b , 4c , and 4d depict electrode configurations that provide optimal acquisition of endovascular electrocardiogram according to various embodiments of the present invention . fig4 a depicts a single lead configuration with a reference electrode ( 410 ), for example attached to the patient &# 39 ; s skin over the right arm and with the other electrode attached through an adaptor to an endovascular device ( 415 ). the reference electrode attached to the skin over the right arm is presented in this configuration for illustration purposes only . other locations of the reference electrode are possible depending on the type of ecg required . the reference electrode over the right arm together with the tip of the endovascular device used with the adaptor can be similar to lead ii of a standard ecg . in this case the ecgs obtained from the superior vena cava ( 401 ) and inferior vena cava ( 402 ) can be optimized . the reference electrode can be attached to the skin in any other location in order to simulate other leads of the standard ecg . the reference electrode can be also connected to adaptors attached to other endovascular devices in order to obtain more local information from within the patient &# 39 ; s heart ( 400 ). fig4 b depicts a modified 3 - lead configuration , with monitoring and guiding capabilities , with 4 electrodes . three ( 3 ) electrodes correspond to the standard ecg electrodes : right arm ( ra , 420 ), left arm ( la , 425 ), and left leg ( ll , 430 ) used as reference . the fourth electrode is attached through an adapter to the endovascular device ( c , 435 ). in this configuration , the electronic module and the algorithm perform two functions simultaneously : the three standard electrodes ( ra , ll , and ll ) perform a monitoring function of the heart , while the c electrode ( 435 ) allow for recording the ecg at the tip of device . fig4 c depicts a telemetry configuration with a single grounded lead , including the configuration illustrated in fig4 a and a ground reference ( 450 ). this configuration can be used to transmit ecgs remotely through a telemetry system configuration . fig4 d depicts one use of ecg monitors for guiding endovascular devices . a standard ecg monitor is used having standard inputs ra ( 465 ), la ( 460 ), and ll ( 470 ). la ( 460 ) is connected to the left arm and ll ( 470 ) to the left leg of the patient . the ra input ( 465 ) is connected to a switch which can be used be the clinician to switch the ra input ( 465 ) between the ra electrode and the catheter ( c ) electrode 475 . thus either monitoring or guiding of catheter placement can be achieved alternatively . fig5 illustrates exemplary electrocardiogram signal amplitudes at different locations in the central venous system . the heart ( 504 ), right atrium ( 501 ), superior vena cava ( svc ) ( 502 ), and the inferior vena cava ( ivc ) ( 503 ) are illustrated . location a is in the upper svc , location b is in the lower third of the svc , location c is at the caval - artial junction , location d is in the right atrium , and location e is in the upper inferior vena cava . graph 510 illustrates an ecg waveform as a function of time at recorded at location a . the absolute amplitude of the waveforms is recorded on an amplitude scale ( 590 ). in the case of an endovascular ecg , the standard elements of the electrocardiogram are illustrated : the p - wave ( 560 ), the r - wave ( 570 ), and the t - wave ( 580 ). the amplitudes and shape at location a recorded with a lead configuration as in fig4 d are similar to an electrocardiogram recoded at the skin level with the same electrode configuration . graph 520 illustrates an endovascular ecg depicted at location b . the amplitude at this location is higher than the one at location a but the overall shapes of the waveform are similar at location a and b . graph 530 illustrates an endovascular ecg depicted at location c . at location c at the caval - atrial junction , the amplitude of the waveform is yet higher than the one at location b and the p - wave has dramatically changed becoming higher than the r - wave . this waveform is an indication of the proximity of the sino - atrial node . graph 540 illustrates an endovascular ecg depicted at location d . at location d in the right atrium , the amplitudes are similar to location c but the p - wave changes polarity becoming bi - polar . this is an indication that the measurement of the ecg occurs beyond the sino - atrial node . graph 550 illustrates an endovascular ecg depicted at location e . at location e in the inferior vena cava , the waveform is similar to the one at location a in terms of amplitude except the p - wave has reverse polarity . the differences in the ecg waveforms at different locations are used by the algorithms introduced herein to discriminate between the corresponding locations and to assess heart and blood vessel functionality . fig6 illustrates exemplary electrocardiogram signal power spectra at different locations in the central venous system , using a spectral scale ( 690 ). the heart ( 604 ), right atrium ( 601 ), superior vena cava ( svc ) ( 602 ), and the inferior vena cava ( ivc ) ( 603 ) are illustrated . graph 610 illustrates an endovascular ecg spectrum depicted at location a . at location a , the spectrum ( 610 ) has the appearance of a single central frequency or single band ( 660 ) and with a frequency distribution spectral power and energy similar to those at skin level . graph 620 illustrates an endovascular ecg spectrum depicted at location b . at location b the frequency distribution has two major bands and a higher energy and spectral power than the one at location a . graph 630 illustrates an endovascular ecg spectrum at location c . at location c , there are multiple ( 3 - 4 ) major frequencies or principal spectral components distributed over a wider range of frequencies ( 670 ). this spectral distribution is indicative of the energy distribution around the sino - atrial node . the spectral power and signal energy have increased compared to location b . graph 640 illustrates an endovascular ecg spectrum depicted at location d . at location d the spectrum is wider and more broadband indicative of the electrical activity of the right atrium . graph 650 illustrates an endovascular ecg spectrum depicted at location e . the frequency spectrum at location e is similar to the one at location a . the differences in the spectral waveforms at different locations are used by the algorithms introduced herein to discriminate between the corresponding locations and to assess heart and blood vessel functionality . fig7 illustrates exemplary electrocardiogram signal electrical energy distribution at different locations in the central venous system . the heart ( 704 ), right atrium ( 701 ), superior vena cava ( svc ) ( 702 ), and the inferior vena cava ( ivc ) ( 703 ) are illustrated . graphs ( 710 , 720 , 730 , 740 , 750 ) depict the energy distribution at different locations ( a , b , c , d and e , respectively ) and the changes in time are used by the algorithms introduced herein to discriminate between the corresponding locations and to assess heart and blood vessel functionality . fig8 depicts a graphical user interface according to an embodiment of the present invention . window ( 810 ) presents the ecg waveform in real - time as it is acquired by the electronic module using the attached electrode configuration . window ( 820 ) is a reference window and shows a frozen waveform used to compare with the current window . in one embodiment , the reference waveform in window ( 820 ) can be obtained through the electrodes connected to the electronic module at a reference location of the catheter and / or using a reference configuration of the skin electrodes . for example , such a reference waveform can be the ecg recorded using an adaptor according to the present invention connected to an endovascular device placed at the caval - atrial junction . in a different embodiment , the reference waveform in window 820 can be a typical waveform at a certain location in the vasculature or of a certain heart condition as it is recorded in a database of waveforms and as it is stored in the storage medium of the computer system . if the electrode configuration allows for simultaneous heart monitoring and recording of electrograms using an endovascular device , window ( 830 ) shows one of the standard ecg leads for heart monitoring , while window ( 810 ) shows the ecg at the tip of the endovascular devices when connected to an adaptor , such as the ones discussed above . the icon ( 870 ) is a representation of the heart , and the locations a through e ( 875 ) illustrate different locations in the heart and vascular system which can be discriminated by analyzing endovascular ecgs in accordance with the methods disclosed herein . as a location in the vasculature is identified by the algorithms , the corresponding place and letter on the icon ( 875 ) becomes highlighted or in some other way is made visible to the user . the bars ( 884 ), ( 885 ), and ( 886 ) show signal energy levels . the “ e ” bar ( 885 ) presents the amount of electrical energy computed from the ecg frequency spectrum at the current location of the tip of the endovascular device . the “ r ” bar ( 884 ) presents the amount of electrical energy computed from the ecg frequency spectrum at a reference location . the “ m ” bar ( 886 ) presents amount of electrical energy computed from the ecg frequency spectrum using the monitoring ecg signal from the skin electrodes . the window ( 840 ) depicts monitoring information , e . g ., heart rate . patient information ( name , date of procedure and others ) are shown in window ( 850 ). window ( 860 ) contains system control elements like buttons and status information , e . g ., scale , scroll speed , system parameters and system diagnostics . fig9 depicts a graphical user interface according to another embodiment of the present invention . the icon ( 920 ) is a representation of the heart and the locations a through e ( 930 ) illustrate different locations in the heart and vascular system which can be discriminated by analyzing endovascular ecgs . as a location in the vasculature is identified by the algorithms , the corresponding place and letter on the icon ( 930 ) becomes highlighted or in some other way is made visible to the user . the bars ( 940 ), ( 950 ), and ( 960 ) show signal energy levels . the “ e ” bar ( 940 ) depicts the amount of electrical energy computed from the ecg frequency spectrum at the current location of the tip of the endovascular device . the “ r ” bar ( 950 ) shows the amount of electrical energy computed from the ecg frequency spectrum at a reference location . the “ m ” bar ( 960 ) shows amount of electrical energy computed from the ecg frequency spectrum using the monitoring ecg signal coming from the skin electrodes . the button “ print ” ( 960 ) allows the user to print the information documenting the case on a printer , for example on a label printer for quick attachment to the patient &# 39 ; s chart . fig1 a and 10b depict a exemplary printouts for the information displayed by the graphical user interface , according to an embodiment of the present invention . fig1 a illustrates a printout ( 1000 ) for the case of a catheter tip placement procedure in the lower third of the svc . the field 1010 depicts the heart icon whereby the letter “ b ” corresponding to the lower third of the superior vena cava ( svc ) is highlighted ( 1040 ). field 1030 depicts the reference ecg waveform recorded at the tip of the catheter at the caval - atrial junction in the proximity of the sino - atrial node . field 1020 depicts the ecg waveform at the tip of the catheter in the position in which it was placed at the end of the procedure . for fig1 a , this location is in the lower third of the svc and the ecg waveform corresponds to this location . the patient name ( 1001 ) and the date of procedure ( 1002 ) are also printed . fig1 b depicts a similar printout ( 1050 ) except that the final position at the end of the procedure is at the caval - atrial junction at location c ( 1090 ) on the heart icon ( 1060 ). the “ sa node ” field depicts the reference ecg waveform ( 1080 ), and the “ final position ” field ( 1070 ) shows that the catheter was placed with the tip at the sino - atrial node : the ecg waveform in final location is similar or even identical with the one in the reference location at the sino - atrial node ( sa node ). it is known that the proximity of the sa node indicates a location at the caval - atrial junction . these locations are sometimes considered identical by some clinicians . fig1 is a block diagram for a computer - based method ( 1100 ) for positioning an endovascular device in or near the heart using electrocardiogram signals . the algorithms are applied to the input signal ( 1102 )( ecg ) acquired by the adaptor to the endovascular devices and , optionally , through skin electrodes as well . the error detection block ( 1105 ) detects at least three types of error conditions / exceptions , such as , for example , when a defibrillator has been applied to the patient , when a pacemaker is firing excitation pulses and / or when a lead / electrode is off . these errors / exceptions may be handled differently , and the user may be informed about the presence of an exception and the way of handling the exception ( 1110 ). the pre - processing block ( 1115 ) may amplify the signal , reduce noise , eliminate artifacts , etc . in one embodiment , rescaling the signal to the display range occurs under user control and is not automatic , as with most currently available ecg monitors . thus , changes in the amplitude of the ecgs are easily noticed . a high - pass filter corrects the baseline and reduces such artifacts as respiratory artifact . wideband noise suppression may be achieved using a selective filter , e . g ., a wavelet transform . electromagnetic interference with other equipment and the power grid may be suppressed by a notch filter ( narrow band filter ) centered at 60 hz or 50 hz to accommodate domestic or international power supplies . high frequency noise may be suppressed with a low - pass filter , which , in one embodiment , is implemented with variable length averaging , such as , for example , a running window corresponding to a heart cycle , an averaging of the ecg over several consecutive heart cycles , etc . the adaptive filtering block ( 1120 ) optimizes the filter coefficients by minimizing an error signal . the time - domain pattern recognition block ( 1130 ) identifies elements of the ecg waveform , their relationship ( s ) and their behavior ( s ) in time . an important aspect of the time - domain pattern recognition algorithm in block 1130 , as well as of the frequency domain patter recognition block 1140 , is data history . the ecgs are analyzed in real time for certain elements , and , for other elements , a data buffer with an appropriate buffer length is maintained in the memory of the electronic and / or computer modules in order to allow for historic data analysis and prediction based on this analysis . in one embodiment , the data history buffer is several seconds long allowing for the ecg signal corresponding to several heartbeats to be saved in the buffer . a double buffering technique allows the waveform in one buffer to be processed while the second buffer continues to store signals . thus no signal data are lost while the waveform in one buffer is processed . after data processing on one buffer is completed , the results are sent to the decision support algorithms ( 1150 ) and the two buffers switch roles . the length of the buffer accommodates the time duration of data processing in order to ensure that no data are lost . a similar double buffering technique is also applied to the data subject to frequency domain pattern recognition block ( 1140 ). in the case of an endovascular ecg , elements of interest may include , but are not limited to , one or more of the following : 1 . the p , q , r , s , t , and u waves , their peaks , amplitudes and duration ; 2 . the duration of the p - r , s - t , and t - p segments / intervals ; 3 . the elevation of the s - t segment ; 4 . the variances of the p - p and r - r intervals ; 5 . the variance of the s - t and of the r - t intervals , etc . ; 6 . the peak - to - peak values of the p - wave and of the qrs complex ; 7 . the ratio of the p - wave and r - wave amplitudes and the ratio of the p - wave and qrs complex peak - to - peak amplitudes ; 8 . the polarity of the p - wave : single positive , single negative , or bipolarity ; 9 . the derivative of the p - wave , qrs - complex , and t - wave ; 10 . temporal average of the r - r interval and the heart beat ; 11 . maximum value of the p - wave amplitude / peak and of the p - wave peak - to - peak amplitude over a certain period of time ; 12 . maximum value of the r - wave amplitude / peak and of the ors complex peak - to - peak amplitude over a certain period of time . several techniques may be used to derive the information listed above from the ecg waveforms , including , but not limited to , one or more of the following : 1 . “ peak detection ”; 2 . computation of first derivatives ; 3 . running averages along the signal in one heartbeat and along multiple heartbeats ; 4 . adaptive thresholding ; 5 . auto - correlation . the fast fourier transform in block ( 1125 ) performs a fast fourier transform on a number of ecg samples stored in a buffer of a certain length , e . g ., 256 , 512 , 1024 , 2048 or more data samples . the fourier transform transforms the waveform from the time domain into the frequency domain . the frequency - domain pattern recognition block ( 1140 ) illustrates various aspects of pattern recognition performed on the ecgs in the frequency domain , including , but not limited to , one or more of the following : 1 . principal components analysis , i . e ., determination of the most significant elements of the frequency spectrum ( similarly to determining the morphological elements of the electrograms , e . g ., certain waves and segments in time domain ); 2 . data compression in order to reduce the amount of computation based on the principal components ; 3 . determination of the number and morphology of the principal components , in particular determination if the spectrum has only one , two or multiple main frequencies ( frequency bands ); 4 . calculation of the spectral power and of the signal energy from the frequency spectrum ; 5 . running average along the frequency dimension over a single spectrum in order to reduce wideband noise ; 6 . running average along several spectra in order to filter out artifacts ; 7 . determination of additional morphological elements of the spectrum , e . g ., the maximum frequency , the energy contained in the maximum frequency , the frequency histogram , i . e ., what frequencies contain how much energy , the frequency of the highest significant maximum energy peak , etc . ; 8 . calculation of behavior and averages over time of the principal components and other parameters determined from the spectral distribution , e . g ., determining the maximum value of the signal energy and of the spectral power over a certain period of time ; 9 . determine / estimate certain heart conditions based on the spectral analysis . this determination / estimation is also performed in more detailed in the decision support blocks 1150 and 1250 . several decision support algorithms use the information provided by the time domain pattern recognition and frequency - domain pattern recognition algorithms . in one embodiment , block ( 1150 ) supports placing an endovascular device in either the lower third of the svc or at the caval - atrial junction . in particular , block 1150 is based on the concept of first reaching the caval - atrial junction during catheter placement . at the caval - atrial junction or near the sino - atrial node the p - wave and other electrical parameters reach a maximum value . at the caval - atrial junction the p - wave is unipolar . after reaching the sino - atrial node at the caval - atrial junction , i . e ., the maximum value of the p - peak amplitude and spectral power , the catheter is pulled back several centimeters until the p - wave decreases to half the amplitude reached at the caval - atrial junction . at the location where the p - wave has decreased to half the amplitude as the caval - atrial junction , the catheter is considered to be in the lower third of the superior vena cava . the p - wave peak amplitude or peak - to - peak amplitude , as well as the spectral power , is used to map the location in the vasculature to the ecg waveform . more particularly , after receiving an endovascular ecg signal associated with an endovascular device , the signal is processed , over a plurality of predetermined time periods , to calculate a p - wave amplitude and a spectral power for each predetermined time period . a maximum p - wave amplitude is then determined from the plurality of p - wave amplitudes , as well as an associated maximum spectral power from the plurality of spectral powers . the location at which these maximum values are determined is associated with a predetermined location in or near the heart , such as the cava - atrial junction . the location of the endovascular device is then calculated , for each predetermined time period , based on a ratio of the p - wave amplitude to the maximum p - wave amplitude and a ratio of the spectral power to the maximum spectral power , and the location of the endovascular device is then displayed to the user . additionally , the polarity of the p - wave and the r - wave amplitude may also be used to determine the location of the endovascular device . a single criterion or a combination of such criteria can be used to support decision making . in one embodiment , t1 , t2 , and t3 may be empirically established thresholds which are different for each patient , and the algorithm can use an adaptive loop to adjust the thresholds based on the current measurements . in another embodiment , these thresholds are predetermined . in alternative embodiments , the ratio between the p - peak / p amplitude or the p - wave peak - to - peak amplitude to the r - peak / r amplitude or to the qrs complex peak - to - peak amplitude can also be used to establish location relative to the sino - atrial node . in one embodiment the p - peak / amplitude must be approximately half of the r - peak / amplitude and the p - wave must be unipolar for the location to correspond to the lower third of the svc . in another embodiment , the p - wave peak - to - peak must be half of the qrs peak - to - peak amplitude and the p - wave must be unipolar for the location to correspond to the lower third of the svc . as discussed above , the results of the decision support algorithms block 1150 may be presented to the user , for example , by high lightening the appropriate location on the heart icon corresponding to the type of ecg identified by the system ( 1160 ). the decision support algorithm block 1250 , depicted in fig1 , is based on comparing the p - wave , r - wave and p - wave spectral power at the current locations with the values of these parameters determined from the skin electrocardiograms in an equivalent lead , e . g ., lead ii . thresholds t1 through t6 are empirical values subject to adaptive adjustments relative to each patient . each of the criteria or a combination of criteria shown in fig1 can be used . other decision algorithms can also be used , in particular related to the level of electrical energy as calculated from the ecg spectrum . in the case of placing endovascular devices , one criterion may be that , at the location corresponding to the lower third of the svc , the average electrical energy calculated from the endovascular ecg is twice as high as the average electrical energy calculated from the endovascular ecg at skin level or from a skin ecg in a corresponding lead , e . g ., lead ii . fig1 illustrates the cardiac conduction system of the heart , while fig1 illustrates electrical signal propagation in the conduction system of the heart . these figures illustrate the conductive mechanism of the heart , which explains why the electrical energy distribution within the heart as measured is indicative of specific locations within the heart . accordingly , local electrical signals , behaviors and energy concentrations can be measured and locations within the heart and blood vessel can be determined more accurately ; local heart conditions can also be described more accurately . the conduction system of the heart begins with the heart &# 39 ; s dominant pacemaker , the sino - atrial node ( 1310 ). the intrinsic rate of the sa node is 60 to 100 beats / minute . when an impulse leaves the sa node , it travels through the atria along the bachmann &# 39 ; s bundle ( 1350 ) and the inter - nodal pathways , on its way to the atro - ventricular ( av ) node ( 1320 ) and ventricles . after the impulse passes through the av node , it travels to the ventricles , first down to the bundle of his ( 1330 ) then along the bundle branches and finally down to the purkinje fibers ( 1340 ). pacemaker cells in the junctional tissue and purkinje fibers on the ventricles normally remain dormant because they receive impulses from the sa node . they initiate an impulse only they do not receive one from the sa node . the intrinsic rate of the av junction is 40 to 60 beats / minute , the intrinsic rate of the ventricles 20 to 40 beats / minute . the different propagation speeds of the electrical impulses are shown in fig1 . from the sa node ( 1410 ) the impulses propagate through the atrial muscle ( 1420 ) and through the ventricular muscle ( 1460 ) at app . 0 . 5 ms , through the bundle branches ( 1440 ) and ( 1450 ) at app . 2 msec , through the purkinje fibers ( 1470 ) at app 4 m / s and through the av node ( 1430 ) at app . 0 . 05 m / s . the electrical signals and the electrical energy distribution are advantageously used to identify the proximity of the sino - atrial node and right atrial electrical activity even in the cases of arrhythmia , i . e ., in the absence of a coherent p - wave measured by standard skin electrocardiogram . while in some cases of arrhythmia random electrical signal generated in the right atrium is not coherent enough to propagate through the body to the skin , the electrical energy is still present in the right atrium and can be detected by local endovascular measurements as a non - coherent p - wave , i . e ., as significant electrical activity in the p - segment of the ecg waveform . energy measurements are also less sensitive to some local abnormalities in impulse conduction : altered automaticity ( arrhythmias ), retrograde conduction of impulses , reentry abnormalities . the electrical signals and the electrical energy distribution are also advantageously used to quantify heart functionality , e . g ., preload which is related to the depolarization and extension of the heart muscle . the electrical signals and the electrical energy distribution are also advantageously used to guide guidewires and guiding catheters through the aorta into the left heart . this method is useful in simplifying the access to the left atrium and to the coronary arteries and in reducing the amount of contrast and radiation needed to guide endovascular devices to those locations . in a different application , the inventive apparatus can also be used to guide catheters , e . g . swan - ganz through the right ventricle into the pulmonary artery . other endovascular devices can be guided and be used to measure endovascular electrical activity in other locations of the cardiovascular system which are identifiable by the cardiograms measured with the new apparatus introduced in the present invention . fig1 illustrates electrical activity in the cardiovascular system due to neuronal control system . several paths of conduction are related to the mechanism of control of heart ( 1530 ) and blood vessel ( 1520 ) activity : receptors ( 1510 ), e . g ., pressure receptors transmit information related to the state of the blood vessels and to the state of the heart to the nervous system through the medullary centers ( 1500 ). the hypothalamus ( 1540 ) and the higher centers ( 1550 ) are involved in processing and reacting to the information received from the sensors / receptors . in turn they send impulses ( 1560 ) back to blood vessels and the heart . by measuring electrical activity related to the control system , information regarding heart conditions can be obtained which could not have been obtained previously . the many features and advantages of the invention are apparent from the detailed specification , and , thus , it is intended by the appended claims to cover all such features and advantages of the invention which fall within the true spirit and scope of the invention . further , since numerous modifications and variations will readily occur to those skilled in the art , it is not desired to limit the invention to the exact construction and operation illustrated and described , and , accordingly , all suitable modifications and equivalents may be resorted to that fall within the scope of the invention .
an adaptor for endovascular electrocardiography includes a member having two ends and an inner lumen such that when one of the ends is connected to a catheter and the other end is connected to a syringe , fluid from the syringe is flushed into the catheter through the inner lumen . the adaptor also includes a metal insert , disposed along the inner lumen of the member , which connects through a sealed electrical connection to the outer side of the member .