Example #1
0
def basic_data(run):
    """If the run data has been through proc_im_main, or the
    stages of it, it is ready to have the basic data extracted
    from it.

    The basic data consists of a series of lists of interface
    depths for a number of interfaces found in the fluid. These
    are extracted using the threshold module and then saved
    (pickled) to a file as a dictionary.

    This stage is separated out because it has a computationally
    intensive inner loop, where an entire image is thresholded.
    """
    get_data.get_basic_data(run)
Example #2
0
def f_basic_data(run):
    """Fast version of basic data (multiprocessing inside the
    thresholding loop).
    """
    get_data.get_basic_data(run, 22)