LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can anyone say how to linearize the base line of the Radial artery pulse which i got with nonlinear baseline

can anyone say how to linearize the base line of the Radial artery pulse which i got with nonlinear baseline?

i enclosed that image of 2 radial artery pulse which is taken at different time. 

0 Kudos
Message 1 of 7
(3,107 Views)

If the time scale on the horizontal axis is in seconds, that is a rather rapid heart rate. Are you monitoring mice or hummingbirds?

 

I would try a highpass filter with the cutoff frequency set between the slowest heart rate you expect and the fastest shift in the baseline.  The rate in your image appears to be about 5 per time unit while the baseline shift is less than 1 per time unit. Those time scales are close enough together that you may get some residual baseline shift or some reduction in pulse amplitude regardless of the cutoff frequency. You will also have some delay or phase shift, so if you are using the data for control or comparing to other data processed differently, keep that in mind.

 

Lynn

Message 2 of 7
(3,083 Views)

sir,

actually i measured radial artery pulses for human only..i used high pass butterworth filter with cutoff frequency 0.1 it comes as some what i expect (near by zero) but not yet their baseline is straight ...i used pressure sensor to acquire these pulses....

0 Kudos
Message 3 of 7
(3,059 Views)

If you want to do better than that, I think you're going to have to zero each individual pulse to its own (trough-to-trough) baseline, interpolating the zero for each individual data point between troughs. This won't give you real-time data, you'll always be one pulse behind, unless you want to collect all the data and process the whole trace at once. It sounds like a lot of work, but it wouldn't take the computer much time, you already have in your favor the facts that (1) you have a very regular waveform, with a well-regulated period, and (2) the troughs are well separated, with a clearly identified (read: huge) peak in between.

 

So you can do this in two ways.

 

One peak at a time: If you identify the minima between two peaks (the peaks don't even have to be the exact maxima, just pretty close), calculate the straight line between them, and zero each data point to the corresponding point on the calculated line. Continue this for the rest of the trace, you've got it. The absolute peak heights may be off a couple of percent or so, I don't know if this will be significant or not.

 

The whole trace at once:

 

Find all of the minima for the whole trace, as above. You could do a "general polynomial fit" with a high enough order that you hit each of the minima (within whatever tolerance you decide) and use that equation to zero each data point.

 

It looks like you've got enough short-term noise in your trace that either of these should give you a good baseline-subtracted data set to work further from.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
Message 5 of 7
(3,026 Views)

thank you sir, 

 

one more problem for me, i saved the data (which is the waveform.. time- x axis, voltage- y axis) in " .lvm "....i can read the same data by using "read from measurement file"... it reads the full data..but i want to read data starting from some X axis(time). how can i do this?

0 Kudos
Message 6 of 7
(3,005 Views)

sir,

 

is there possible to bring straight baseline waveform by using mmf (mathematical morphological filter) ? i have seen the link 

https://decibel.ni.com/content/docs/DOC-5741....in which, uneven baseline of ECG is corrected by using mmf..but i dont know how to use mmf ? can you say any example mmf program  ? 

 

thank you...

 

0 Kudos
Message 7 of 7
(2,987 Views)