Skip to content

Commit

Permalink
Added KMP_DUPLICATE_LIB_OK = TRUE in readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanbabbar04 committed Feb 15, 2023
1 parent 6101ba4 commit 3f7e4f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/plot_fft.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
"""
Fourier Transform
=================
This example shows how to use the :py:class:`pylops.signalprocessing.FFT`,
This example shows qhow to use the :py:class:`pylops.signalprocessing.FFT`,
:py:class:`pylops.signalprocessing.FFT2D`
and :py:class:`pylops.signalprocessing.FFTND` operators to apply the Fourier
Transform to the model and the inverse Fourier Transform to the data.
"""
import os
os.environ['KMP_DUPLICATE_LIB_OK'] = "TRUE"

import matplotlib.pyplot as plt
import numpy as np

Expand Down Expand Up @@ -306,3 +309,4 @@
axs[1][1].set_title("Error")
axs[1][1].axis("tight")
fig.tight_layout()
plt.show()

0 comments on commit 3f7e4f1

Please sign in to comment.