Relative Content

Tag Archive for scipy

Using scipy.signal.stft() vs scipy.signal.ShortTimeFFT.stft()

I’m trying to do a short time fourier transform on a signal and have been trying to perform it using the ShortTimeFFT() method because the scipy documentation states that the signal.stft() method is legacy. However, everywhere I search online, (and AI) says just use signal.stft(). I haven’t been able to find any guidance outside the documentation for using the ShortTimeFFT.stft() method.

Countercurrent membrane reactor with the solve_bvp solver

This is my first post here and I hope that there is someone here who once had a similar problem.
I have successfully managed to visualise a DC membrane reactor using the solve_ivp solver. In other words, tube by tube and substance and temperature are exchanged via the interfaces. Now I was wondering what it would look like if I simulated the whole thing in countercurrent. My problems lie in the formulation of the BC and in the formulation of the initial guess.