netterfield at astro.utoronto.ca
Mon Jan 24 14:30:00 CET 2005
The intent is to 'read 1 sample every x frames' which both versions do. Yours
reads from the middle. Have you identified any bugs in the current code?
On January 23, 2005 09:56 pm, George Staikos wrote:
> I have this [still under development] patch to kstrvector which I think
> fixes many little bugs in skip. Presently skip does some things that I
> consider strange. Behavior on a vector [0,1,2,...,11,12] does this for
> given skip values:
> I think the vectors should look like this, and my patch behaves
> accordingly: skip=2
> There is some numerical fudging in my patch also, but it only breaks down
> in the case where skip=1 (I think). I think doing skip where skip=1 is
> silly anyway, and so my patch disables skip when it's set to 1 (or less, as
> a sanity check).
> Any comments? I haven't tested this code with anything other than my
> "0..12" vector, and I haven't tested it with samplesPerFrame > 1. I guess
> it needs testing with various dirfiles.
More information about the Kst