circulation_order_parameter#

Compute circulation order parameter according to Wioland 2013. Technical details can be found in my note.

Syntax

python circulation_order_parameter.py piv_folder out_folder x y
  • piv_folder – folder containing PIV data (.csv), file names indicate frame number

  • out_folder – order parameter data file (.csv), contain frame and OP

  • x, y – the center position

A folder of PIV files are used to generate a single order parameter data file.

Test

python circulation_order_parameter.py test_images\circulation_order_parameter\piv test_images\circulation_order_parameter\order_parameter 259 227

Edit

  • Jan 02, 2021 – Initial commit.

  • Jan 05, 2023 – Adapt myimagelib import style.

  • Feb 08, 2023 – Rewrite in function wrapper form, to make autodoc work properly. (autodoc import the script and execute it, so anything outside if __name__=="__main__" will be executed, causing problems)