OpenPIV / openpiv-python

OpenPIV is an open source Particle Image Velocimetry analysis software written in Python and Cython
http://www.openpiv.net
GNU General Public License v3.0
247 stars 143 forks source link

YAML or JSON to replace hard-coding PIVSettings in windef #293

Open alexlib opened 1 year ago

alexlib commented 1 year ago

Is your feature request related to a problem? Please describe. The problem is a set of default PIVSettings which is not transparent to the user. It has to be coded everytime before running windef.piv function and it can lead to problems with the set of parameters.

Describe the solution you'd like Create a default config file in YAML or JSON that will be clear what's used in windef.piv and be stored next to the results - so every run will also have a logbook of the session used. Similar to the TK GUI configuration files.

Describe alternatives you've considered See pull request @PR

Additional context https://github.com/OpenPIV/openpiv-python/issues/177