MultiProcessing¶
Parallel Processing of PIV images.
-
class
openpivgui.MultiProcessing.
MultiProcessing
(gui)¶ Parallel processing, based on the corrresponding OpenPIV class.
Do not run from the interactive shell or within IDLE! Details at: https://docs.python.org/3.6/library/multiprocessing.html#using-a-pool-of-workers
Parameters: params (OpenPivParams) – A parameter object. -
get_num_frames
() → int¶ Return the amount of image pairs that will be processed.
Returns: The number of image pairs to be processed Return type: int
-
get_save_fnames
()¶ Return a list of result filenames.
Returns: List of filenames with resulting PIV data. Return type: str[]
-
process
(args)¶ Process chain as configured in the GUI.
Parameters: args (tuple) – Tuple as expected by the inherited run method: file_a (str) – image file a file_b (str) – image file b counter (int) – index pointing to an element of the filename
list
-