I have a (theoretical) algorithm I want to implement in python. In this algorithm I have a start function called f
, and I have to apply the fourier transformation and the inverse fourier transformation several times on this function. Is there a way to do that in python? I only found the DFT, where my function has to be several discrete points (and not a continuous function). Is it possible to create a fourier transformation function in python which can handle a continuous function? Or should I rather generate a huge amount of points representing the function, and then calculate the FT and IFT of them?
The function is:
A(z,t) = C* exp(i*z*N^2/2L)/(cosh(t/T))