labscript-suite / runviewer

π—Ώπ˜‚π—»π˜ƒπ—Άπ—²π˜„π—²π—Ώ is a graphical interface for visualising hardware-timed experiments composed using the 𝘭𝘒𝘣𝘴𝘀𝘳π˜ͺ𝘱𝘡 𝘴𝘢π˜ͺ𝘡𝘦.
http://labscriptsuite.org
BSD 2-Clause "Simplified" License
2 stars 39 forks source link

Resampling algorithm could be more efficient for large datasets #47

Open philipstarkey opened 4 years ago

philipstarkey commented 4 years ago

Right now the resampling algorithm is passed the entire trace for resampling even if it is taking just a subset during the resampling process. We should be able to slice the traces first before passing them in to the algorithm which I think would speed up the resampling algorithm when dealing with traces with a large umber of points (e.g. order 2e6)

philipstarkey commented 4 years ago

Note: I've logged this here, rather than labscript-suite/labscript-c-extensions as I think the slicing can be done in runviewer without needing to change the C extension.