I have 2 variable blocks in GRC called “channel” and “N”

that represent an array of channel taps and an integer, respectively.

I want to generate a new variable called “chanel_FT_inv”

which represents

1/scipy.fft(channel,N)

ie, the inverse of the channel N-length Fourier transform

How do I do that in a clean way from within GRC?

For the moment I do that manually:

I generate the .py file from GRC and then edit it to add the

corresponding piece of code…

Thanks

Achilleas