Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #379069 > unrolled thread
| Started by | Jamie M <jmorken@shaw.ca> |
|---|---|
| First post | 2015-09-27 13:40 -0700 |
| Last post | 2015-10-01 10:25 -0500 |
| Articles | 12 on this page of 32 — 12 participants |
Back to article view | Back to sci.electronics.design
Accurately recovering a low frequency bias signal from a random signal Jamie M <jmorken@shaw.ca> - 2015-09-27 13:40 -0700
Re: Accurately recovering a low frequency bias signal from a random signal Tim Wescott <seemywebsite@myfooter.really> - 2015-09-27 15:58 -0500
Re: Accurately recovering a low frequency bias signal from a random signal Jamie M <jmorken@shaw.ca> - 2015-09-27 17:53 -0700
Re: Accurately recovering a low frequency bias signal from a random signal Tim Wescott <tim@seemywebsite.com> - 2015-09-27 22:12 -0500
Re: Accurately recovering a low frequency bias signal from a random signal Syd Rumpo <usenet@nononono.co.uk> - 2015-09-28 11:02 +0100
Re: Accurately recovering a low frequency bias signal from a random signal legg <legg@nospam.magma.ca> - 2015-09-28 10:46 -0400
Re: Accurately recovering a low frequency bias signal from a random signal Jamie M <jmorken@shaw.ca> - 2015-09-28 22:50 -0700
Re: Accurately recovering a low frequency bias signal from a random signal legg <legg@nospam.magma.ca> - 2015-09-29 11:46 -0400
Re: Accurately recovering a low frequency bias signal from a random signal Jamie M <jmorken@shaw.ca> - 2015-09-30 00:10 -0700
Re: Accurately recovering a low frequency bias signal from a random signal tabbypurr@gmail.com - 2015-09-28 06:00 -0700
Re: Accurately recovering a low frequency bias signal from a random signal Tim Wescott <tim@seemywebsite.com> - 2015-09-29 00:37 -0500
Re: Accurately recovering a low frequency bias signal from a random signal tabbypurr@gmail.com - 2015-09-29 10:45 -0700
Re: Accurately recovering a low frequency bias signal from a random signal tabbypurr@gmail.com - 2015-09-29 10:53 -0700
Re: Accurately recovering a low frequency bias signal from a random signal Tim Wescott <seemywebsite@myfooter.really> - 2015-09-29 15:18 -0500
Re: Accurately recovering a low frequency bias signal from a random signal "Tim Williams" <tmoranwms@charter.net> - 2015-09-27 18:52 -0500
Re: Accurately recovering a low frequency bias signal from a random signal Jamie M <jmorken@shaw.ca> - 2015-09-27 17:43 -0700
Re: Accurately recovering a low frequency bias signal from a random signal Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-09-27 17:54 -0700
Re: Accurately recovering a low frequency bias signal from a random signal Jamie M <jmorken@shaw.ca> - 2015-09-27 18:10 -0700
Re: Accurately recovering a low frequency bias signal from a random signal "Tim Williams" <tmoranwms@charter.net> - 2015-09-28 07:43 -0500
Re: Accurately recovering a low frequency bias signal from a random signal joe hey <joehey@mailinator.com> - 2015-09-28 01:04 +0000
Re: Accurately recovering a low frequency bias signal from a random signal John S <Sophi.2@invalid.org> - 2015-09-28 07:59 -0500
Re: Accurately recovering a low frequency bias signal from a random signal Jamie M <jmorken@shaw.ca> - 2015-09-28 22:57 -0700
Re: Accurately recovering a low frequency bias signal from a random signal "Carl Ijames" <carl.ijamesXX@XXverizon.net> - 2015-09-29 08:43 -0400
Re: Accurately recovering a low frequency bias signal from a random signal Jamie M <jmorken@shaw.ca> - 2015-09-30 00:15 -0700
Re: Accurately recovering a low frequency bias signal from a random signal Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-30 12:37 +0100
Re: Accurately recovering a low frequency bias signal from a random signal John S <Sophi.2@invalid.org> - 2015-09-30 06:54 -0500
Re: Accurately recovering a low frequency bias signal from a random signal Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-30 14:41 +0100
Re: Accurately recovering a low frequency bias signal from a random signal John S <Sophi.2@invalid.org> - 2015-09-30 09:03 -0500
Re: Accurately recovering a low frequency bias signal from a random signal Jamie M <jmorken@shaw.ca> - 2015-09-30 18:28 -0700
Re: Accurately recovering a low frequency bias signal from a random signal John S <Sophi.2@invalid.org> - 2015-09-30 20:41 -0500
Re: Accurately recovering a low frequency bias signal from a random signal Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-01 15:51 +0100
Re: Accurately recovering a low frequency bias signal from a random signal John S <Sophi.2@invalid.org> - 2015-10-01 10:25 -0500
Page 2 of 2 — ← Prev page 1 [2]
| From | John S <Sophi.2@invalid.org> |
|---|---|
| Date | 2015-09-28 07:59 -0500 |
| Message-ID | <mubdeb$ejp$1@dont-email.me> |
| In reply to | #379069 |
On 9/27/2015 3:40 PM, Jamie M wrote: > Hi, > > I have a random voltage signal with a slowly increasing then decreasing > voltage riding on top of it (ie gaussian shaped). I'd like to recover > the hidden low amplitude gaussian shaped signal from the overall random > signal, is a low pass filter or a notch filter the best way to do this? > > Also this is a periodic gaussian signal most likely, but I'd like to > be able to identify the low amplitude gaussian signal directly without > averaging multiple sections of the signal in case it isn't the same > gaussian shaped signal in each part, since the shape of the gaussian > signal is unknown. > > Also regarding phase shift from the filter, I'd like to accurately > give the temporal coordinates of the gaussian signal, so will > phase shift from the filtering be a problem? > > cheers, > Jamie Have you done any analyses of your data?
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2015-09-28 22:57 -0700 |
| Message-ID | <mud98q$bei$1@speranza.aioe.org> |
| In reply to | #379184 |
On 9/28/2015 5:59 AM, John S wrote: > On 9/27/2015 3:40 PM, Jamie M wrote: >> Hi, >> >> I have a random voltage signal with a slowly increasing then decreasing >> voltage riding on top of it (ie gaussian shaped). I'd like to recover >> the hidden low amplitude gaussian shaped signal from the overall random >> signal, is a low pass filter or a notch filter the best way to do this? >> >> Also this is a periodic gaussian signal most likely, but I'd like to >> be able to identify the low amplitude gaussian signal directly without >> averaging multiple sections of the signal in case it isn't the same >> gaussian shaped signal in each part, since the shape of the gaussian >> signal is unknown. >> >> Also regarding phase shift from the filter, I'd like to accurately >> give the temporal coordinates of the gaussian signal, so will >> phase shift from the filtering be a problem? >> >> cheers, >> Jamie > > Have you done any analyses of your data? Hi, Yes, I see some interesting peaks after averaging multiple periods, but need to add more periods of the data to know if they will average out or form the bias signal I was looking for. I think it may just average out, but after adding together twelve of these periods I ended up with this waveform: https://www.dropbox.com/s/5mmj4q4j916zlig/gaussian%20in%20middle.png?dl=0 It does have a bit of a gaussian section in the middle, but I need to get more data to see I think. cheers, Jamie
[toc] | [prev] | [next] | [standalone]
| From | "Carl Ijames" <carl.ijamesXX@XXverizon.net> |
|---|---|
| Date | 2015-09-29 08:43 -0400 |
| Message-ID | <mue13u0u9e@news6.newsguy.com> |
| In reply to | #379357 |
"Jamie M" wrote in message news:mud98q$bei$1@speranza.aioe.org... On 9/28/2015 5:59 AM, John S wrote: > On 9/27/2015 3:40 PM, Jamie M wrote: >> Hi, >> >> I have a random voltage signal with a slowly increasing then decreasing >> voltage riding on top of it (ie gaussian shaped). I'd like to recover >> the hidden low amplitude gaussian shaped signal from the overall random >> signal, is a low pass filter or a notch filter the best way to do this? >> >> Also this is a periodic gaussian signal most likely, but I'd like to >> be able to identify the low amplitude gaussian signal directly without >> averaging multiple sections of the signal in case it isn't the same >> gaussian shaped signal in each part, since the shape of the gaussian >> signal is unknown. >> >> Also regarding phase shift from the filter, I'd like to accurately >> give the temporal coordinates of the gaussian signal, so will >> phase shift from the filtering be a problem? >> >> cheers, >> Jamie > > Have you done any analyses of your data? Hi, Yes, I see some interesting peaks after averaging multiple periods, but need to add more periods of the data to know if they will average out or form the bias signal I was looking for. I think it may just average out, but after adding together twelve of these periods I ended up with this waveform: https://www.dropbox.com/s/5mmj4q4j916zlig/gaussian%20in%20middle.png?dl=0 It does have a bit of a gaussian section in the middle, but I need to get more data to see I think. cheers, Jamie ============================================================================= It sounds to me like you have a Gaussian pulse arriving every so often, but since I haven't seen you say how these are generated or how you are sampling them it is not clear to me that you know when they will appear. The only way you can signal average in the time domain is if you can synchronize your data collection with the pulse arrival with a time accuracy much better than the width of the pulse. Otherwise they will average to zero along with the noise in the time domain, and you will need to do some kind of periodigram approach where you sum power spectra in the frequency domain so you throw away the meaningless phase information. From random luck you might see a signal to noise improvement from averaging a small number of pulses, but the shape is certain to be distorted and the apparent signal to noise ratio will grow at much less than the square root of the number of scans and will actually reach a maximum and then decrease. For fun a long time ago I did some experiments comparing time domain averaging of a synchronized sine wave with a phase-random sine wave, and I actually saw the s/n reach a maximum at about 75-100 scans added together (with distortion in the peak shape in the final power spectrum), but I'm sure that number was dependent on my actual s/n (about 20 after 100 scans) and all the data collection parameters. ----- Regards, Carl Ijames
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2015-09-30 00:15 -0700 |
| Message-ID | <mug27a$i99$2@speranza.aioe.org> |
| In reply to | #379373 |
On 9/29/2015 5:43 AM, Carl Ijames wrote: > "Jamie M" wrote in message news:mud98q$bei$1@speranza.aioe.org... > > On 9/28/2015 5:59 AM, John S wrote: >> On 9/27/2015 3:40 PM, Jamie M wrote: >>> Hi, >>> >>> I have a random voltage signal with a slowly increasing then decreasing >>> voltage riding on top of it (ie gaussian shaped). I'd like to recover >>> the hidden low amplitude gaussian shaped signal from the overall random >>> signal, is a low pass filter or a notch filter the best way to do this? >>> >>> Also this is a periodic gaussian signal most likely, but I'd like to >>> be able to identify the low amplitude gaussian signal directly without >>> averaging multiple sections of the signal in case it isn't the same >>> gaussian shaped signal in each part, since the shape of the gaussian >>> signal is unknown. >>> >>> Also regarding phase shift from the filter, I'd like to accurately >>> give the temporal coordinates of the gaussian signal, so will >>> phase shift from the filtering be a problem? >>> >>> cheers, >>> Jamie >> >> Have you done any analyses of your data? > > > Hi, > > Yes, I see some interesting peaks after averaging multiple periods, but > need to add more periods of the data to know if they will average out > or form the bias signal I was looking for. I think it may just average > out, but after adding together twelve of these periods I ended up with > this waveform: > > https://www.dropbox.com/s/5mmj4q4j916zlig/gaussian%20in%20middle.png?dl=0 > > It does have a bit of a gaussian section in the middle, but I need > to get more data to see I think. > > cheers, > Jamie > ============================================================================= > > It sounds to me like you have a Gaussian pulse arriving every so often, but > since I haven't seen you say how these are generated or how you are sampling > them it is not clear to me that you know when they will appear. The only > way you can signal average in the time domain is if you can synchronize your > data collection with the pulse arrival with a time accuracy much better than > the width of the pulse. Otherwise they will average to zero along with the > noise in the time domain, and you will need to do some kind of periodigram > approach where you sum power spectra in the frequency domain so you throw > away the meaningless phase information. From random luck you might see a > signal to noise improvement from averaging a small number of pulses, but the > shape is certain to be distorted and the apparent signal to noise ratio will > grow at much less than the square root of the number of scans and will > actually reach a maximum and then decrease. For fun a long time ago I did > some experiments comparing time domain averaging of a synchronized sine wave > with a phase-random sine wave, and I actually saw the s/n reach a maximum at > about 75-100 scans added together (with distortion in the peak shape in the > final power spectrum), but I'm sure that number was dependent on my actual > s/n (about 20 after 100 scans) and all the data collection parameters. > > ----- > Regards, > Carl Ijames > > Hi, Thanks, I have a perturbation on the signal with known synchronization time but unknown effect on the signal :) cheers, Jamie
[toc] | [prev] | [next] | [standalone]
| From | Martin Brown <|||newspam|||@nezumi.demon.co.uk> |
|---|---|
| Date | 2015-09-30 12:37 +0100 |
| Message-ID | <mughht$os5$1@speranza.aioe.org> |
| In reply to | #379505 |
On 30/09/2015 08:15, Jamie M wrote: > On 9/29/2015 5:43 AM, Carl Ijames wrote: >> "Jamie M" wrote in message news:mud98q$bei$1@speranza.aioe.org... >> >> On 9/28/2015 5:59 AM, John S wrote: >>> On 9/27/2015 3:40 PM, Jamie M wrote: >>>> Hi, >>>> >>>> I have a random voltage signal with a slowly increasing then decreasing >>>> voltage riding on top of it (ie gaussian shaped). I'd like to recover >>>> the hidden low amplitude gaussian shaped signal from the overall random >>>> signal, is a low pass filter or a notch filter the best way to do this? >>>> >>>> Also this is a periodic gaussian signal most likely, but I'd like to >>>> be able to identify the low amplitude gaussian signal directly without >>>> averaging multiple sections of the signal in case it isn't the same >>>> gaussian shaped signal in each part, since the shape of the gaussian >>>> signal is unknown. >>>> >>>> Also regarding phase shift from the filter, I'd like to accurately >>>> give the temporal coordinates of the gaussian signal, so will >>>> phase shift from the filtering be a problem? >>>> >>>> cheers, >>>> Jamie >>> >>> Have you done any analyses of your data? >> >> >> Hi, >> >> Yes, I see some interesting peaks after averaging multiple periods, but >> need to add more periods of the data to know if they will average out >> or form the bias signal I was looking for. I think it may just average >> out, but after adding together twelve of these periods I ended up with >> this waveform: >> >> https://www.dropbox.com/s/5mmj4q4j916zlig/gaussian%20in%20middle.png?dl=0 >> >> It does have a bit of a gaussian section in the middle, but I need >> to get more data to see I think. >> >> cheers, >> Jamie >> ============================================================================= >> >> >> It sounds to me like you have a Gaussian pulse arriving every so >> often, but >> since I haven't seen you say how these are generated or how you are >> sampling >> them it is not clear to me that you know when they will appear. The only >> way you can signal average in the time domain is if you can >> synchronize your >> data collection with the pulse arrival with a time accuracy much >> better than >> the width of the pulse. Otherwise they will average to zero along >> with the >> noise in the time domain, and you will need to do some kind of >> periodigram >> approach where you sum power spectra in the frequency domain so you throw >> away the meaningless phase information. From random luck you might see a >> signal to noise improvement from averaging a small number of pulses, >> but the >> shape is certain to be distorted and the apparent signal to noise >> ratio will >> grow at much less than the square root of the number of scans and will >> actually reach a maximum and then decrease. For fun a long time ago I >> did >> some experiments comparing time domain averaging of a synchronized >> sine wave >> with a phase-random sine wave, and I actually saw the s/n reach a >> maximum at >> about 75-100 scans added together (with distortion in the peak shape >> in the >> final power spectrum), but I'm sure that number was dependent on my >> actual >> s/n (about 20 after 100 scans) and all the data collection parameters. >> >> ----- >> Regards, >> Carl Ijames >> >> > > > Hi, > > Thanks, I have a perturbation on the signal with known synchronization > time but unknown effect on the signal :) You need to understand your signal to match a filter to the stuff you want and block the parts that you don't want. By eyeball it looks like there are components with periods in the range 10 samples and upwards. Unclear if there are periodicities longer than 700 samples but it could be that or a drifting baseline. Low order polynomial fit or splines is the typical quick and dirty way to tidy up a dodgy baseline. But without knowing what is signal and what is noise you are on a hiding to nothing. Low pass filtering will hide a multitude of sins. The larger the dataset the better the signal to noise will become. If you stick to powers of two even Excel can do the FFT for you (then IMABS() to get a power spectrum). -- Regards, Martin Brown
[toc] | [prev] | [next] | [standalone]
| From | John S <Sophi.2@invalid.org> |
|---|---|
| Date | 2015-09-30 06:54 -0500 |
| Message-ID | <mugids$mke$2@dont-email.me> |
| In reply to | #379510 |
On 9/30/2015 6:37 AM, Martin Brown wrote: > On 30/09/2015 08:15, Jamie M wrote: >> On 9/29/2015 5:43 AM, Carl Ijames wrote: >>> "Jamie M" wrote in message news:mud98q$bei$1@speranza.aioe.org... >>> >>> On 9/28/2015 5:59 AM, John S wrote: >>>> On 9/27/2015 3:40 PM, Jamie M wrote: >>>>> Hi, >>>>> >>>>> I have a random voltage signal with a slowly increasing then >>>>> decreasing >>>>> voltage riding on top of it (ie gaussian shaped). I'd like to recover >>>>> the hidden low amplitude gaussian shaped signal from the overall >>>>> random >>>>> signal, is a low pass filter or a notch filter the best way to do >>>>> this? >>>>> >>>>> Also this is a periodic gaussian signal most likely, but I'd like to >>>>> be able to identify the low amplitude gaussian signal directly without >>>>> averaging multiple sections of the signal in case it isn't the same >>>>> gaussian shaped signal in each part, since the shape of the gaussian >>>>> signal is unknown. >>>>> >>>>> Also regarding phase shift from the filter, I'd like to accurately >>>>> give the temporal coordinates of the gaussian signal, so will >>>>> phase shift from the filtering be a problem? >>>>> >>>>> cheers, >>>>> Jamie >>>> >>>> Have you done any analyses of your data? >>> >>> >>> Hi, >>> >>> Yes, I see some interesting peaks after averaging multiple periods, but >>> need to add more periods of the data to know if they will average out >>> or form the bias signal I was looking for. I think it may just average >>> out, but after adding together twelve of these periods I ended up with >>> this waveform: >>> >>> https://www.dropbox.com/s/5mmj4q4j916zlig/gaussian%20in%20middle.png?dl=0 >>> >>> >>> It does have a bit of a gaussian section in the middle, but I need >>> to get more data to see I think. >>> >>> cheers, >>> Jamie >>> ============================================================================= >>> >>> >>> >>> It sounds to me like you have a Gaussian pulse arriving every so >>> often, but >>> since I haven't seen you say how these are generated or how you are >>> sampling >>> them it is not clear to me that you know when they will appear. The >>> only >>> way you can signal average in the time domain is if you can >>> synchronize your >>> data collection with the pulse arrival with a time accuracy much >>> better than >>> the width of the pulse. Otherwise they will average to zero along >>> with the >>> noise in the time domain, and you will need to do some kind of >>> periodigram >>> approach where you sum power spectra in the frequency domain so you >>> throw >>> away the meaningless phase information. From random luck you might >>> see a >>> signal to noise improvement from averaging a small number of pulses, >>> but the >>> shape is certain to be distorted and the apparent signal to noise >>> ratio will >>> grow at much less than the square root of the number of scans and will >>> actually reach a maximum and then decrease. For fun a long time ago I >>> did >>> some experiments comparing time domain averaging of a synchronized >>> sine wave >>> with a phase-random sine wave, and I actually saw the s/n reach a >>> maximum at >>> about 75-100 scans added together (with distortion in the peak shape >>> in the >>> final power spectrum), but I'm sure that number was dependent on my >>> actual >>> s/n (about 20 after 100 scans) and all the data collection parameters. >>> >>> ----- >>> Regards, >>> Carl Ijames >>> >>> >> >> >> Hi, >> >> Thanks, I have a perturbation on the signal with known synchronization >> time but unknown effect on the signal :) > > You need to understand your signal to match a filter to the stuff you > want and block the parts that you don't want. By eyeball it looks like > there are components with periods in the range 10 samples and upwards. > > Unclear if there are periodicities longer than 700 samples but it could > be that or a drifting baseline. Low order polynomial fit or splines is > the typical quick and dirty way to tidy up a dodgy baseline. > > But without knowing what is signal and what is noise you are on a hiding > to nothing. Low pass filtering will hide a multitude of sins. > > The larger the dataset the better the signal to noise will become. > > If you stick to powers of two even Excel can do the FFT for you (then > IMABS() to get a power spectrum). > Hi, Martin - I did that with his data set and got a brief spike at the beginning and at the end. Pretty much flatline between. Am I doing something wrong?
[toc] | [prev] | [next] | [standalone]
| From | Martin Brown <|||newspam|||@nezumi.demon.co.uk> |
|---|---|
| Date | 2015-09-30 14:41 +0100 |
| Message-ID | <mugoqi$bjm$1@speranza.aioe.org> |
| In reply to | #379513 |
On 30/09/2015 12:54, John S wrote: > On 9/30/2015 6:37 AM, Martin Brown wrote: >> Unclear if there are periodicities longer than 700 samples but it could >> be that or a drifting baseline. Low order polynomial fit or splines is >> the typical quick and dirty way to tidy up a dodgy baseline. >> >> But without knowing what is signal and what is noise you are on a hiding >> to nothing. Low pass filtering will hide a multitude of sins. >> >> The larger the dataset the better the signal to noise will become. >> >> If you stick to powers of two even Excel can do the FFT for you (then >> IMABS() to get a power spectrum). >> > > Hi, Martin - I did that with his data set and got a brief spike at the > beginning and at the end. Pretty much flatline between. Am I doing > something wrong? No. That sounds about right for the dataset provided. There is a huge DC offset component which you should ignore and a slope/hump/drift or possible slowly varying component with a period of about 1000 samples. Mostly it looks to me like noise with equal power per octave. Subtract off (or ignore) the DC component and/or the best fit line and you might begin to see any signal that might be there. Better still take a hundred independent time series and average their PSF. Any coherent signal will rise above the noise margin eventually. -- Regards, Martin Brown
[toc] | [prev] | [next] | [standalone]
| From | John S <Sophi.2@invalid.org> |
|---|---|
| Date | 2015-09-30 09:03 -0500 |
| Message-ID | <mugptl$mke$4@dont-email.me> |
| In reply to | #379528 |
On 9/30/2015 8:41 AM, Martin Brown wrote: > On 30/09/2015 12:54, John S wrote: >> On 9/30/2015 6:37 AM, Martin Brown wrote: > >>> Unclear if there are periodicities longer than 700 samples but it could >>> be that or a drifting baseline. Low order polynomial fit or splines is >>> the typical quick and dirty way to tidy up a dodgy baseline. >>> >>> But without knowing what is signal and what is noise you are on a hiding >>> to nothing. Low pass filtering will hide a multitude of sins. >>> >>> The larger the dataset the better the signal to noise will become. >>> >>> If you stick to powers of two even Excel can do the FFT for you (then >>> IMABS() to get a power spectrum). >>> >> >> Hi, Martin - I did that with his data set and got a brief spike at the >> beginning and at the end. Pretty much flatline between. Am I doing >> something wrong? > > No. That sounds about right for the dataset provided. There is a huge DC > offset component which you should ignore and a slope/hump/drift or > possible slowly varying component with a period of about 1000 samples. > > Mostly it looks to me like noise with equal power per octave. > > Subtract off (or ignore) the DC component and/or the best fit line and > you might begin to see any signal that might be there. Better still take > a hundred independent time series and average their PSF. > > Any coherent signal will rise above the noise margin eventually. > I did a 3rd order polynomial fit using Excel (no discernible difference between 3rd and 4th order) and saw a nice curve with a half cycle of about 600 data points. It might be wishful thinking, though, and my eyes have become uncalibrated over the years. Excel's formula for the curve is crap. You can't paste it into the cells for a plot comparison because it renders a flat line that fits to the average of the data.
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2015-09-30 18:28 -0700 |
| Message-ID | <mui27d$b6k$1@speranza.aioe.org> |
| In reply to | #379530 |
On 9/30/2015 7:03 AM, John S wrote: > On 9/30/2015 8:41 AM, Martin Brown wrote: >> On 30/09/2015 12:54, John S wrote: >>> On 9/30/2015 6:37 AM, Martin Brown wrote: >> >>>> Unclear if there are periodicities longer than 700 samples but it could >>>> be that or a drifting baseline. Low order polynomial fit or splines is >>>> the typical quick and dirty way to tidy up a dodgy baseline. >>>> >>>> But without knowing what is signal and what is noise you are on a >>>> hiding >>>> to nothing. Low pass filtering will hide a multitude of sins. >>>> >>>> The larger the dataset the better the signal to noise will become. >>>> >>>> If you stick to powers of two even Excel can do the FFT for you (then >>>> IMABS() to get a power spectrum). >>>> >>> >>> Hi, Martin - I did that with his data set and got a brief spike at the >>> beginning and at the end. Pretty much flatline between. Am I doing >>> something wrong? >> >> No. That sounds about right for the dataset provided. There is a huge DC >> offset component which you should ignore and a slope/hump/drift or >> possible slowly varying component with a period of about 1000 samples. >> >> Mostly it looks to me like noise with equal power per octave. >> >> Subtract off (or ignore) the DC component and/or the best fit line and >> you might begin to see any signal that might be there. Better still take >> a hundred independent time series and average their PSF. >> >> Any coherent signal will rise above the noise margin eventually. >> > > I did a 3rd order polynomial fit using Excel (no discernible difference > between 3rd and 4th order) and saw a nice curve with a half cycle of > about 600 data points. It might be wishful thinking, though, and my eyes > have become uncalibrated over the years. > > Excel's formula for the curve is crap. You can't paste it into the cells > for a plot comparison because it renders a flat line that fits to the > average of the data. Thanks for looking into it by the way! :) cheers, Jamie
[toc] | [prev] | [next] | [standalone]
| From | John S <Sophi.2@invalid.org> |
|---|---|
| Date | 2015-09-30 20:41 -0500 |
| Message-ID | <mui2ro$lto$4@dont-email.me> |
| In reply to | #379609 |
On 9/30/2015 8:28 PM, Jamie M wrote: > On 9/30/2015 7:03 AM, John S wrote: >> On 9/30/2015 8:41 AM, Martin Brown wrote: >>> On 30/09/2015 12:54, John S wrote: >>>> On 9/30/2015 6:37 AM, Martin Brown wrote: >>> >>>>> Unclear if there are periodicities longer than 700 samples but it >>>>> could >>>>> be that or a drifting baseline. Low order polynomial fit or splines is >>>>> the typical quick and dirty way to tidy up a dodgy baseline. >>>>> >>>>> But without knowing what is signal and what is noise you are on a >>>>> hiding >>>>> to nothing. Low pass filtering will hide a multitude of sins. >>>>> >>>>> The larger the dataset the better the signal to noise will become. >>>>> >>>>> If you stick to powers of two even Excel can do the FFT for you (then >>>>> IMABS() to get a power spectrum). >>>>> >>>> >>>> Hi, Martin - I did that with his data set and got a brief spike at the >>>> beginning and at the end. Pretty much flatline between. Am I doing >>>> something wrong? >>> >>> No. That sounds about right for the dataset provided. There is a huge DC >>> offset component which you should ignore and a slope/hump/drift or >>> possible slowly varying component with a period of about 1000 samples. >>> >>> Mostly it looks to me like noise with equal power per octave. >>> >>> Subtract off (or ignore) the DC component and/or the best fit line and >>> you might begin to see any signal that might be there. Better still take >>> a hundred independent time series and average their PSF. >>> >>> Any coherent signal will rise above the noise margin eventually. >>> >> >> I did a 3rd order polynomial fit using Excel (no discernible difference >> between 3rd and 4th order) and saw a nice curve with a half cycle of >> about 600 data points. It might be wishful thinking, though, and my eyes >> have become uncalibrated over the years. >> >> Excel's formula for the curve is crap. You can't paste it into the cells >> for a plot comparison because it renders a flat line that fits to the >> average of the data. > > > Thanks for looking into it by the way! :) > > cheers, > Jamie > No thanks necessary, Jamie. I enjoy learning.
[toc] | [prev] | [next] | [standalone]
| From | Martin Brown <|||newspam|||@nezumi.demon.co.uk> |
|---|---|
| Date | 2015-10-01 15:51 +0100 |
| Message-ID | <mujh92$pee$1@speranza.aioe.org> |
| In reply to | #379530 |
On 30/09/2015 15:03, John S wrote: > On 9/30/2015 8:41 AM, Martin Brown wrote: >> On 30/09/2015 12:54, John S wrote: >>> On 9/30/2015 6:37 AM, Martin Brown wrote: >> >>>> The larger the dataset the better the signal to noise will become. >>>> >>>> If you stick to powers of two even Excel can do the FFT for you (then >>>> IMABS() to get a power spectrum). >>>> >>> >>> Hi, Martin - I did that with his data set and got a brief spike at the >>> beginning and at the end. Pretty much flatline between. Am I doing >>> something wrong? >> >> No. That sounds about right for the dataset provided. There is a huge DC >> offset component which you should ignore and a slope/hump/drift or >> possible slowly varying component with a period of about 1000 samples. >> >> Mostly it looks to me like noise with equal power per octave. >> >> Subtract off (or ignore) the DC component and/or the best fit line and >> you might begin to see any signal that might be there. Better still take >> a hundred independent time series and average their PSF. >> >> Any coherent signal will rise above the noise margin eventually. > > I did a 3rd order polynomial fit using Excel (no discernible difference > between 3rd and 4th order) and saw a nice curve with a half cycle of > about 600 data points. It might be wishful thinking, though, and my eyes > have become uncalibrated over the years. > > Excel's formula for the curve is crap. You can't paste it into the cells > for a plot comparison because it renders a flat line that fits to the > average of the data. Actually if it is the fit inside the charting component it is actually way way better at polynomial fit than the dodgy algorithm used by their MINVERSE code. The problem is one of display you have to set equation display significant digits to 16 or 20 to get the coefficients right. The fit is extremely good at least up to cubics but goes a bit AWOL after that. You could break it in earlier versions by fitting a polynomial to measurements at a range of dates. The sum of powers matrix gets close to singular with a large additive constant on x/t. -- Regards, Martin Brown
[toc] | [prev] | [next] | [standalone]
| From | John S <Sophi.2@invalid.org> |
|---|---|
| Date | 2015-10-01 10:25 -0500 |
| Message-ID | <mujj68$kmv$2@dont-email.me> |
| In reply to | #379646 |
On 10/1/2015 9:51 AM, Martin Brown wrote: > > On 30/09/2015 15:03, John S wrote: > > On 9/30/2015 8:41 AM, Martin Brown wrote: > >> On 30/09/2015 12:54, John S wrote: > >>> On 9/30/2015 6:37 AM, Martin Brown wrote: > >> > > >>>> The larger the dataset the better the signal to noise will become. > >>>> > >>>> If you stick to powers of two even Excel can do the FFT for you (then > >>>> IMABS() to get a power spectrum). > >>>> > >>> > >>> Hi, Martin - I did that with his data set and got a brief spike at the > >>> beginning and at the end. Pretty much flatline between. Am I doing > >>> something wrong? > >> > >> No. That sounds about right for the dataset provided. There is a > huge DC > >> offset component which you should ignore and a slope/hump/drift or > >> possible slowly varying component with a period of about 1000 samples. > >> > >> Mostly it looks to me like noise with equal power per octave. > >> > >> Subtract off (or ignore) the DC component and/or the best fit line and > >> you might begin to see any signal that might be there. Better still > take > >> a hundred independent time series and average their PSF. > >> > >> Any coherent signal will rise above the noise margin eventually. > > > > I did a 3rd order polynomial fit using Excel (no discernible difference > > between 3rd and 4th order) and saw a nice curve with a half cycle of > > about 600 data points. It might be wishful thinking, though, and my eyes > > have become uncalibrated over the years. > > > > Excel's formula for the curve is crap. You can't paste it into the cells > > for a plot comparison because it renders a flat line that fits to the > > average of the data. > > Actually if it is the fit inside the charting component it is actually > way way better at polynomial fit than the dodgy algorithm used by their > MINVERSE code. The problem is one of display you have to set equation > display significant digits to 16 or 20 to get the coefficients right. > > The fit is extremely good at least up to cubics but goes a bit AWOL > after that. You could break it in earlier versions by fitting a > polynomial to measurements at a range of dates. The sum of powers matrix > gets close to singular with a large additive constant on x/t. > Thanks for the help. I need to look at it again. I may have made a mistake or several.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | sci.electronics.design
csiph-web