lib5c.util.parallelization module

Module providing utilities for parallelization of operations on 5C data.

The most important thing exposed in this module is the @parallelize_regions decorator, which automatically overloads any function to accept regional dicts of any of its arguments and process the regions in parallel via the multiprocess package.

The other functions in this module are either example functions to show how it works (test_function_one, etc.) or private helper functions.

lib5c.util.parallelization.main()[source]
lib5c.util.parallelization.test_function_four(x, y)[source]
lib5c.util.parallelization.test_function_one(count)[source]
lib5c.util.parallelization.test_function_three(x, y)[source]
lib5c.util.parallelization.test_function_two(count, multiplier=4)[source]