You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in Algorithm for sampling power-law covariance kernels #20, we can use scipy.signal.lfilter to speed up the sampling. As far as I understand its implementation, the loop over time steps is implemented with specialized low-level code in SciPy, which should be faster than our Python implementation.
We can vectorize all operations over different independent sequences (parameter $M$ in the documentation).
Some basic testing would be useful to verify that such changes do actually improve performance. There may be other bottlenecks.
A few ideas (can be combined)
scipy.signal.lfilterto speed up the sampling. As far as I understand its implementation, the loop over time steps is implemented with specialized low-level code in SciPy, which should be faster than our Python implementation.Some basic testing would be useful to verify that such changes do actually improve performance. There may be other bottlenecks.