def unpack_table(rec, param_columns, amp_column):
    params = zip(*[zip(*[rec[c] for c in dc]) for dc in param_columns])
    amps = rec[amp_column]
    return params, amps
Unpack initial fitting parameters from a table.
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/analysis/linesh.py/unpack_table