23 def recursive_approximation(res):
24 print "approximating", res
29 me= recursive_approximation(res[0:lr/4])\
30 +recursive_approximation(res[lr/4: lr/2])\
31 +recursive_approximation(res[lr/2: 3*lr/4])\
32 +recursive_approximation(res[3*lr/4: lr])
52 me= recursive_approximation(res[0:lr/4])\
53 +recursive_approximation(res[lr/4: lr/2])\
54 +recursive_approximation(res[lr/2: 3*lr/4])\
55 +recursive_approximation(res[3*lr/4: lr])
61 rmf= RMF.create_rmf_file(fn)