turbulencelyon / 4d-ptv

General toolbox for 4D Particle Tracking Velocimetry. Allows you to track in space and time hundreds or a few thousand of lagrangian tracers in a flow.
Other
9 stars 6 forks source link

WIP: Rescue stm python #1

Closed paugier closed 4 years ago

paugier commented 4 years ago

It is not ready at all but I create this PR to better see the changes.

jsalort commented 4 years ago

That looks very interesting, Pierre ! Does the changes in STMPython make it faster than Sander's C++11 version ?

paugier commented 4 years ago

Not yet :slightly_smiling_face: Still 1.3 to 1.5 times slower... Already much better than 20 times slower when I started to look at that.

However, I think it's a bit buggy right now. I'm still working on it.

jsalort commented 4 years ago

That's great. We also noticed that the STMPython and the STMC++ do not always produce exactly the same results (I have to check to give you some specific examples). So, being able to use the Python version at a usable speed is a great thing, if only to investigate differences... But I guess, in the end, the optimized Python version may be faster?