def csbal_dual_iter():
    '\n    This method performs an iteration of dual plane  balance, once the\n    influence params are known. One file is captured and the results\n    are emitted\n    args are file stem, tag, freq\n    '
    args = sys.argv[1:]
    if (len(args) < 3):
        print('args are: filestem, tag, freq')
    stem = args[0]
    tag = args[1]
    freq = float(args[2])
    if (stem[(- 1)] != os.path.sep):
        stem = (stem + os.path.sep)
    influence = []
    inf_file = (stem + 'influence')
    with open(inf_file, 'rb') as filehandle:
        influence = pickle.load(filehandle)
    tests = [('T(curr): initial unbalanced state', ('t' + tag))]
    grab_data(tests, stem)
    print('Processing captured data...')
    results = batch_process(tests, stem, freq)
    print('Dual Plane Balance Results')
    correction = bal.dual_compute_weights(results, influence)
This method performs an iteration of dual plane  balance, once the
influence params are known. One file is captured and the results
are emitted
args are file stem, tag, freq
def csbal_dual_iter():
    '\n    This method performs an iteration of dual plane  balance, once the\n    influence params are known. One file is captured and the results\n    are emitted\n    args are file stem, tag, freq\n    '
    args = sys.argv[1:]
    if (len(args) < 3):
        print('args are: filestem, tag, freq')
    stem = args[0]
    tag = args[1]
    freq = float(args[2])
    if (stem[(- 1)] != os.path.sep):
        stem = (stem + os.path.sep)
    influence = []
    inf_file = (stem + 'influence')
    with open(inf_file, 'rb') as filehandle:
        influence = pickle.load(filehandle)
    tests = [('T(curr): initial unbalanced state', ('t' + tag))]
    grab_data(tests, stem)
    print('Processing captured data...')
    results = batch_process(tests, stem, freq)
    print('Dual Plane Balance Results')
    correction = bal.dual_compute_weights(results, influence)