DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

Power spectrum

Started by Maria ●July 10, 2005
Sanctus wrote:
> "Jerry Avins" <jya@ieee.org> wrote in message > news:N7udnW6BZOFBTU7fRVn-rw@rcn.net... > >>Sanctus wrote: >> >>>"Jerry Avins" <jya@ieee.org> wrote in message >>>news:LvWdnWU3mOnt2k7fRVn-hQ@rcn.net... >>> >>> >>>>Sanctus wrote: >>>> >>>> ... >>>> >>>> >>>> >>>>>Another way is to recursively average the power spectrum... >>>>> >>>>>S(i)=beta.S(i-1)+(1-beta)XX* >>>>> >>>>>where X is the FFT frequency vector and beta is a forgetting factor > > less > >>>>>than unity.S(i) is the spectrum at frame time i. and S(i-1) is the >>> >>>previous >>> >>> >>>>>spectrum.. >>>> >>>>Is that how they do it on Maia? >>>> >>> >>>You mean Maya in the Pegasis constallation? Far out Jerry man..... >>>Yes the idea is to be able to track the spectrum and still smooth it. > > Just > >>>averaging it means you have to hit the reset button from time to time. >> >>No, my friend. The Pleiades are (in no particular order) Asterope (a >>double), Taygetta, Maia, Pleione (very dim), Alcyone Celaeno, Merope, >>and Electra. (Note that that's eight; Pleione isn't counted among the >>seven sisters.) Atlas is also a member of the group (M45). >> >>I don't believe that Maria wants to track anything. I assume there are >>some number of spectra that need to be averaged to yield a single >>smoothed result. >> >> > > Thats ok then but we can still use the above method by using beta=0.99 say. > > Sanctus
I got mostly Ds my first year in college. If they had averaged your way, It would have been much easier for me to graduate in the top tenth, which I did. What you describe is fine for many purposes; so is a boxcar (time-limited) average, which can require less arithmetic. But words mean something, and applying them to another process without an explicit redefinition is a deception of a sort. Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;

Jerry Avins wrote:
> Sanctus wrote: > > "Jerry Avins" <jya@ieee.org> wrote in message > > news:LvWdnWU3mOnt2k7fRVn-hQ@rcn.net... > > > >>Sanctus wrote: > >> > >> ... > >> > >> > >>>Another way is to recursively average the power spectrum... > >>> > >>>S(i)=beta.S(i-1)+(1-beta)XX* > >>> > >>>where X is the FFT frequency vector and beta is a forgetting factor less > >>>than unity.S(i) is the spectrum at frame time i. and S(i-1) is the > > > > previous > > > >>>spectrum.. > >> > >>Is that how they do it on Maia? > >> > > > > You mean Maya in the Pegasis constallation? Far out Jerry man..... > > Yes the idea is to be able to track the spectrum and still smooth it. Just > > averaging it means you have to hit the reset button from time to time. > > No, my friend. The Pleiades are (in no particular order) Asterope (a > double), Taygetta, Maia, Pleione (very dim), Alcyone Celaeno, Merope, > and Electra. (Note that that's eight; Pleione isn't counted among the > seven sisters.) Atlas is also a member of the group (M45).
Did you ever try to direct your telescope in that direction? There are far more than seven stars, a few hundreds, at least. Apparently, M45 is somewhat unique in that there is some clow from illuminated interstellar gasses. Or is it me who is far out?
> I don't believe that Maria wants to track anything. I assume there are > some number of spectra that need to be averaged to yield a single > smoothed result.
There is no need to do the "forgetting factor" thing unless one deals with some sort of dynamic system. What *is* useful, though, is the one-pass variance estimator for large data sets. Rune
Rune Allnor wrote:

   ...

I hope we will be forgiven for this off-topic discussion.

> Did you ever try to direct your telescope in that direction? There are > far more than seven stars, a few hundreds, at least. Apparently, M45 is > somewhat unique in that there is some clow from illuminated > interstellar > gasses. Or is it me who is far out?
No The most conspicuous of the Pleiades reflection nebulae is called "Temple's nebula". It surrounds Merope and is well visible in my 125 mm scope. I had to look it up. At least I know where to look! ...
> There is no need to do the "forgetting factor" thing unless one deals > with some sort of dynamic system. What *is* useful, though, is the > one-pass variance estimator for large data sets.
Yes. Everything in its place, including methods. Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;
"Jerry Avins" <jya@ieee.org> wrote in message
news:RoWdnfhz7tr3skjfRVn-jA@rcn.net...
>> I got mostly Ds my first year in college. If they had averaged your way, > It would have been much easier for me to graduate in the top tenth, > which I did. What you describe is fine for many purposes; so is a boxcar > (time-limited) average, which can require less arithmetic. But words > mean something, and applying them to another process without an explicit > redefinition is a deception of a sort. > > Jerry
Have you every tried this for yourself though rather than just commenting on it? I have in real-time and it works just great. Its not my idea so I am not touting it for my benefit - its quite an old idea. If you have stationary data then a pure average is just fine but for many applications you need to track the periodogram.An integrator (one realisation) is found to be y(i)=y(i-1)+gain*input and when beta=0.99 we have y(i)=0.99y(i-1) + (1-0.99)*input which is pretty close to the real thing. You would call it a leaky integrator perhaps, I would call it a low pass filter of some sort but it still cuts out high frequency variations which after all is a type of averaging - yes its not 'pure' but quite adequate.For instance if you need to estimate time-delay two speech signals the periodogram method is quite adequate (based on Generalised Cross Correlation). I have used the straight average method too but if the statistics change you are screwed - you have to reset. Sanctus

Jerry Avins wrote:
> Rune Allnor wrote: > > ... > > I hope we will be forgiven for this off-topic discussion.
I know, we are probably pushing the limits. Again.
> > Did you ever try to direct your telescope in that direction? There are > > far more than seven stars, a few hundreds, at least. Apparently, M45 is > > somewhat unique in that there is some clow from illuminated > > interstellar > > gasses. Or is it me who is far out? > > No The most conspicuous of the Pleiades reflection nebulae is called > "Temple's nebula". It surrounds Merope and is well visible in my 125 mm > scope. I had to look it up. At least I know where to look!
Did you have a go at M57, the ring nebula in Lyrae? I can *just* see it with my 80mm, a 125mm might just be what it takes to see it clearly. Vega, the brightest star near M57, should be high in the sky, seen from the northern hemisphere, at this time of year. I am too far north to see any stars until mid August or so. Rune

Rune Allnor wrote:
> Jerry Avins wrote: > > Rune Allnor wrote: > > > > ... > > > > I hope we will be forgiven for this off-topic discussion.
Certainly by me. Air and light pollution in the Bal-Wash area make the vivid skies of my youth in Montana seem far away until my daily visit to http://antwrp.gsfc.nasa.gov/apod/astropix.html gives the word "awesome" meaning again. Ken
Sanctus wrote:
> "Jerry Avins" <jya@ieee.org> wrote in message > news:RoWdnfhz7tr3skjfRVn-jA@rcn.net... > >>>I got mostly Ds my first year in college. If they had averaged your way, >> >>It would have been much easier for me to graduate in the top tenth, >>which I did. What you describe is fine for many purposes; so is a boxcar >>(time-limited) average, which can require less arithmetic. But words >>mean something, and applying them to another process without an explicit >>redefinition is a deception of a sort. >> >>Jerry > > > Have you every tried this for yourself though rather than just commenting on > it? I have in real-time and it works just great. Its not my idea so I am not > touting it for my benefit - its quite an old idea. If you have stationary > data then a pure average is just fine but for many applications you need to > track the periodogram.An integrator (one realisation) is found to be > > y(i)=y(i-1)+gain*input > > and when beta=0.99 we have > > y(i)=0.99y(i-1) + (1-0.99)*input > > which is pretty close to the real thing. You would call it a leaky > integrator perhaps, I would call it a low pass filter of some sort but it > still cuts out high frequency variations which after all is a type of > averaging - yes its not 'pure' but quite adequate.For instance if you need > to estimate time-delay two speech signals the periodogram method is quite > adequate (based on Generalised Cross Correlation). I have used the straight > average method too but if the statistics change you are screwed - you have > to reset.
I do call it a leaky integrator. I know what it does. It's a low-pass filter with an impulse response very much like it's continuous-time series R - shunt C cousin. It does a pretty good job of averaging by providing a weighted average that allows earlier samples do decay exponentially. It's a good idea that doesn't provide the true unweighted average (mean, to be specific) of N -- you pick the N -- numbers. Jerry P.S. The leak in the RC continuous-time cousin is its resistive load. -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;
Rune Allnor wrote:
> > Jerry Avins wrote: > >>Rune Allnor wrote: >> >> ... >> >>I hope we will be forgiven for this off-topic discussion. > > > I know, we are probably pushing the limits. Again. > > >>>Did you ever try to direct your telescope in that direction? There are >>>far more than seven stars, a few hundreds, at least. Apparently, M45 is >>>somewhat unique in that there is some clow from illuminated >>>interstellar >>>gasses. Or is it me who is far out? >> >>No The most conspicuous of the Pleiades reflection nebulae is called >>"Temple's nebula". It surrounds Merope and is well visible in my 125 mm >>scope. I had to look it up. At least I know where to look! > > > Did you have a go at M57, the ring nebula in Lyrae? I can *just* see > it with my 80mm, a 125mm might just be what it takes to see it clearly. > > Vega, the brightest star near M57, should be high in the sky, seen from > > the northern hemisphere, at this time of year. I am too far north to > see > any stars until mid August or so.
The seeing here is so poor what with smog and urban lights, that I haven't been able to see much for a few years. I brought my 80 mm to Berkeley, CA, expecting to spend a few days at Inverness on Point Reyes, but that didn't happen and it rained (out of season; everything is out of season including hurricanes) most of the time. For all the good the C5 does me, you might as well have it. I saw M57 from Chaco canyon about seven years ago, one of the best seeing sites in the country. (They have a 36" Dobsonian operating there now. It was on display when I was there, awaiting construction of the observatory.) I had the good fortune to use a 10" SCT that belonged to an astronomer spending his summer as a park ranger. Jerry -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;
Ken Asbury wrote:
> > Rune Allnor wrote: > >>Jerry Avins wrote: >> >>>Rune Allnor wrote: >>> >>> ... >>> >>>I hope we will be forgiven for this off-topic discussion. > > > Certainly by me. > > Air and light pollution in the Bal-Wash area make > the vivid skies of my youth in Montana seem far away > until my daily visit to > http://antwrp.gsfc.nasa.gov/apod/astropix.html > gives the word "awesome" meaning again.
I use a great shareware program called Skyglobe. On a laptop, it's far better than the usual paper star maps in so many ways that you need to see for yourself. On mt desktop, it's my standard reference. There's a new version that I'm downloading now. (There was nothing wrong with the old one, but maybe the author, Mark Haney incorporated some of my suggestions.) http://www.sidewalkastronomy.com/skyglobe.html I don't know who to send the fee to yet (last time it was$15). I understand that KlassM Systems, Haney's DBA* name, exists no longer. I "bought" the program for DOS, and he later sent me a free Windows upgrade. Just noticed at the bottom of the page: "KlassM no longer exist and there is no one to send money to for a registered version of SkyGlobe which would include KlassM's Screen Saver, Circum, and Crystal programs. Most all other download sites only offer the shareware version so I am making avalable all of these files for free. "Share it with all you want." That's the best buy around! Jerry _____________________________ * Doing Business As -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;

Jerry Avins wrote:

> The seeing here is so poor what with smog and urban lights, that I > haven't been able to see much for a few years. I brought my 80 mm to > Berkeley, CA, expecting to spend a few days at Inverness on Point Reyes, > but that didn't happen and it rained (out of season; everything is out > of season including hurricanes) most of the time. For all the good the > C5 does me, you might as well have it.
Well, I bought my telescope because I always have been very interested in astronomy. The problem is that in my neck of the woods, there would be like 60 clear nights per year, 40 of them in the summer season where there are but one star (the sun) to be seen. Buying an astro telescope that potentially can be used 10 - 20 nights per year, just doesn't make sense. So instead of buying a specialist tool to be used once in a blue moon, I bought a spotting scope that could double (at least to some extent) as a astronomy scope. The spotting scope works reasonably well for the moon and the major planets, but that's about it. Perhaps it's the seeing that is to poor, or I just don't want to mess around with no finder scope and standard tripod mount. Whatever the reason for not doing astronomy, I discovered birding, which seems to have been a dormant interest after I found a poster over a few bird species in my mother's weekly magazine when I was around 10 years old. Rune