Throwing the time diff calculation in get_arrays into an apply function for vectorization -- seemed to make it run 5x faster when I tested it locally.
Not too different in terms of code, I'm guessing the T_raw.append that took the longest time
Coverage decreased (-0.3%) to 94.88% when pulling c9d2fa8a21c63dc2d7e7ed0705684d242d21f042 on stphnma:master into 075a3e4792495e696c52cc981da805d24cea6745 on better:master.
Coverage decreased (-0.3%) to 94.88% when pulling c9d2fa8a21c63dc2d7e7ed0705684d242d21f042 on stphnma:master into 075a3e4792495e696c52cc981da805d24cea6745 on better:master.
Throwing the time diff calculation in
get_arrays
into an apply function for vectorization -- seemed to make it run 5x faster when I tested it locally. Not too different in terms of code, I'm guessing theT_raw.append
that took the longest time