data processing: every Nth item

Feb 2, 2010 at 2:47pm

data processing: every Nth item

hey forum – I’m looking to sort ‘n’ shape data from [jit.histogram] and other objects that dump a list to multisliders, feeling like a real rookie on [zl]. I want to filter the list dumps to give me every Nth item in the list. yes I’ve gone over the data processing tutorials and [zl] helps. clues and pointers are appreciated! thanks gang.

#48173
Feb 2, 2010 at 3:06pm

Something with zl iter N? Note that it will always output the first element of the list.

p

#173258
Feb 2, 2010 at 3:23pm

perfecto. thanks patrick.

#173259
Feb 2, 2010 at 6:26pm

just an update for posterity:

I ended up using jasch’s [slicelist] object for this instead. got my lists blowing up all over the place.

#173260

You must be logged in to reply to this topic.