  # Python | Numpy np.ifft () method

NumPy | Python Methods and Functions

Using the `np.ifft() ` method, we can get 1-D inverse Fourier transform using ` np.ifft ( ) `.

Syntax: ` np.ifft (Array) `
Return: Return a series of inverse fourier transformation.

Example # 1:
In this example we can see that using ` np.ifft () `, we can get a series of inverse Fourier transforms using this method.

 ` # NumPy import ` ` import ` ` numpy as np `   ` a ` ` = ` ` np.array ([` ` 5 ` `, ` ` 4 ` `, ` ` 6 ` `, ` ` 3 ` `, ` ` 7 ` `]) ` ` # using the np.ifft () method ` ` gfg ` ` = ` ` np.fft.ifft (a) `   ` print ` ` (gfg) `

Output:

[5. + 0.j 0.2236068 - 0.21796276j -0.2236068 - 0.92330506j
-0.2236068 + 0.92330506 j 0.2236068 + 0.21796276j]

Example # 2:

` `

 ` # NumPy import ` ` import ` ` numpy as np ` ` `  ` a ` ` = ` ` np .array ([` ` - ` ` 5.5 ` `, ` ` 4.4 ` `, ` ` - ` ` 6.6 ` `, ` ` 3.3 ` `, ` ` - 7.7 ]) `` # using the np.ifft method ( ) gfg = np.fft. ifft (a)   print (gfg) `

Output:

[-2.42 + 0.j -0.77 + 1.13774197j -0.77 + 3.30553221j -0.77 - 3.30553221j
-0.77 - 1.1377 4197j]