gr.keep_one_in_n(item_size, n)
This module acts as expected - decimate w/o the prefiltering.
Here we create a 100hz signal, keep one of 8 samples, and get
an 800hz signal:
src = gr.sig_source_f (sample_rate,gr.GR_SIN_WAVE,100,1,0)
OneinN = gr.keep_one_in_n (gr.sizeof_float, 8)
dst = gr.file_sink (gr.sizeof_float, "1inN_test")
this uses a sample rate of 32Khz (samples/second), so each sample is 1/32e3 second, so 40 samples/cycle
comes out to 800hz (cycles/second).