Beispiel #1
0
#!/usr/bin/python
from sigpyproc.Readers import FilReader
import sigpyproc.Filterbank
import matplotlib.pyplot as plt
import numpy as np

file = FilReader("new.fil")
file.downsample(tfactor=500, ffactor=1, filename="test500.fil")
Beispiel #2
0
def downsamp(filename, workdir):
	os.chdir(workdir)
        print "Downsampling"
        original = FilReader("%s" % filename)
        original.downsample(2, 1, 512, None, True)
        original.downsample(4, 1, 512, None, True)