Open In App

sympy.integrals.transforms.inverse_fourier_transform() in python

With the help of inverse_fourier_transform() method, we can compute the inverse fourier transformation and return the unevaluated function.

Inverse Fourier Transformation

Syntax :  inverse_fourier_transform(F, k, x, **hints)



Return : Return the unevaluated function.

Example #1 :



In this example we can see that by using inverse_fourier_transform() method, we are able to compute the inverse fourier transformation which return the unevaluated function by using this method.




# import inverse_fourier_transform
from sympy import inverse_fourier_transform, exp, sqrt, pi
from sympy.abc import x, k
  
# Using inverse_fourier_transform()
gfg = inverse_fourier_transform(sqrt(pi)*exp(-(pi * k)**2), k, x)
  
print(gfg)

Output :

exp(-x**2)

Example #2 :




# import inverse_fourier_transform
from sympy import inverse_fourier_transform, exp, sqrt, pi
from sympy.abc import x, k
  
# Using inverse_fourier_transform()
gfg = inverse_fourier_transform(sqrt(pi)*exp(-(pi * k)**2), k, 4)
  
print(gfg)

Output :

exp(-16)

Article Tags :