Attached is the output of the latest piecewise.py (I got convolution, latex printing, and Asymptote ploting working)
On Monday, September 5, 2022 at 11:42:49 AM UTC-4 brombo wrote: > Would this be of any interest to anyone (see and run attached). I have > written a piecewise function class (not like the one already in sympy) > where the piecewise function is defined on an ordered numerical grid (see > attached). The class in not finished but I can calculate the convolved > powers of gate functions and will extend the class to calculate the > convolution of two piecewise functions if sympy can integrate the member > functions of the piecewise function. My interest comes from knowing the > Fourier transform of a gate function is a sinc function. Thus the Fourier > transform of a gate repeatedly convolved with itself is the power of a sinc > function. This is relevant to finding rf modulation envelopes that > minimize sidebands. Please run the code an see if it of general interest > and I will complete the class and documentation and submit it as an > addition to sympy. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/f71333b3-fb32-40c4-90b0-5b419dd31cefn%40googlegroups.com.
convolutions.pdf
Description: Adobe PDF document
piecewise.pdf
Description: Adobe PDF document