[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 115450] More normalisation options for power spectrum
From:       Andrew Walker <arwalker () sumusltd ! com>
Date:       2006-03-26 3:33:47
Message-ID: 20060326033347.14482.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=115450         




------- Additional Comments From arwalker sumusltd com  2006-03-26 05:33 -------
> Marc-Antoine Miville-Deschenes:
> Could somebody tell me what is the "default" apodization function
> we use for PSDs in KST ?

The "default" apodisation does not appear to be a standard one (at least to me). Here is the code:

for (i = 0; i < len; i++) {
  _w[i] = (1 - cos(2*M_PI*double(i)/double(len)));
  sW += _w[i] * _w[i];
}
sW = sqrt(sW/double(len));
for (i = 0; i < len; i++) {
  _w[i] /= sW;
}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic