Shrediquette / PIVlab

Particle Image Velocimetry for Matlab, official repository
https://shrediquette.github.io/PIVlab/
MIT License
126 stars 30 forks source link

fix iteration range and add sequencing style options #17

Closed quynhneo closed 3 years ago

quynhneo commented 3 years ago

the main PIV loop https://github.com/Shrediquette/PIVlab/blob/main/PIVlab_commandline.m#L62, if iterated in time resolved sequencing style i=1:1:amount, fails at the last iteration i=amount because {i+1} is out of range (but works fine for pairwise because i=amount is skipped anyway. the loop should end at amount-1. I also added an option for sequencing style to make it more general

quynhneo commented 3 years ago

These commits have nothing to do with parallel processing by the way @Shrediquette