Re: DWT anti-causality



lucas.denoir@xxxxxxxxx wrote:
Jerry Avins wrote:

The filter delay is built into the problem; low frequencies at high
sample rates make for long filters. Downsampling the data is simply an
efficient way to downsize the filter. Using a different filter that
enables you to avoid downsampling won't decrease your delay.

Put differently, you can either downsample the data or increase the
filter length for each pass. That increases memory use but doesn't
change the delay.


Right - I'll end up doubling the filter length for each level and end
up with the same situation. Ok, scratch that idea.

How about my initial one, that didn't work - simply using an expanding
window? For each sample you transform it and the previous samples. You
then only keep the last sample from each transform. I know it is
computationally atrocious, but still, it should eliminate the delay, at
least explicitly. It didn't work for me (i suspect) because of the
boundary problems due to padding, but I'm thinking it's possible to
work around the problem by using such window lengths that no padding is
necessary. In that situation, there will be a delay, but it will be
constant for all decomposition levels.

Low frequencies at high data rated demand long filters. Long transforms are needed to get to low frequencies with the proposed scheme. It's true that aside from startup and ending transients there is a sample out for each sample in (self evident, really), but you need to ask how long before an input sample significantly affects the output. If your transforms have a few kilosamples of history in them, and every sample matters, there's your delay. FFT or FIR; the computations are different but equivalent. The delays are precisely the same.

BTW, a sliding FFT, which is what you just described, needn't be inefficient. Google it.

Jerry
--
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
.



Relevant Pages

  • Re: fir allpass filters for phase-alignment
    ... is very high or that we're talking about an analog delay line as the FIR ... there will be no splice transient - the delay (or the skipped part of the ... the sum of a 1 Hz sinusoid and a PI Hz sinusoid. ... "filter" has long time implications while the approach of using a pure ...
    (comp.dsp)
  • Re: Even order of Hilbert Filter
    ... delay is integral. ... ANY filter that has odd symmetry and zero real part in the frequency ... at and near Fs/2. ...
    (comp.dsp)
  • Re: Regarding DC removal filter.
    ... moving-average filter to determine a DC component, and subtracting ... moving average filter is both linear-phase and low-computation. ... is cheap and long throughput delay is acceptable, ... a DC blocker is an HPF (with at least one zero at z=1 ...
    (comp.dsp)
  • Re: automated FSL tests
    ... zeros at 999 and 1001 kHz. ... a group delay of 10 s at 1 kHz, ... You are describing a particular incident pulse and a filter transfer ... at least for an ideal phase conjugation process. ...
    (comp.lang.forth)
  • Re: strange behaviour of ntp peerstats entries.
    ... But the filter goes well ... The procedure does drastically reduce the variance of the delay, ... meaning that ntp suddenly has no data to do anything with for many many ...
    (comp.protocols.time.ntp)