def METHOD_NAME():
    doc="""
    """
    rthf = argparse.RawTextHelpFormatter
    par = argparse.ArgumentParser(description=doc, formatter_class=rthf)
    arg, st, sf = par.add_argument, 'store_true', 'store_false'
    # declare datagroup
    arg('--dg', action=st, help='load datagroup')
    # routines
    arg('--d2r', action=st, help='run daq_to_raw')
    arg('--r2d', action=st, help='run raw_to_dsp')
    # options
    arg('-o', '--over', action=st, help='overwrite existing files')
    arg('-n', '--nwfs', nargs='*', type=int, help='limit num. waveforms')
    arg('-v', '--verbose', action=st, help='verbose mode')
    args = par.parse_args()
    expDB = '$LEGEND_META/analysis/LPGTA/LPGTA.json'
    # -- set options -- 
    nwfs = args.nwfs[0] if args.nwfs is not None else np.inf
    print('Processing settings:'
          '\n$LPGTA_DATA =', os.environ.get('LPGTA_DATA'),
          '\n$LEGEND_META =', os.environ.get('LEGEND_META'),
          f'\n  overwrite? {args.over}'
          f'\n  limit wfs? {nwfs}')
    # -- run routines -- 
    if args.dg: 
        dg = load_datagroup()
    if args.d2r: d2r(dg, args.over, nwfs, args.verbose)
    if args.r2d: r2d(dg, args.over, nwfs, args.verbose)