2 questions
If you receive an object that you spun Fourier_transform with Sympy as lambdify, a name error appears that FourierTransform is not defined even though numpy and sympy are applied to the module. import...
from sympy import fourier_transform, exp,symbolsfrom sympy.abc import x, ka=fourier_transform(exp(-x**2), x, k)s=symbols('s')Ori=(s)*exp(-(x**2)/(s**2))FT=fourier_transform(Ori,x,k)a.subs({k:1}).evalf...
© 2024 OneMinuteCode. All rights reserved.