parse_args¶
Import in python using from mcutils.scripts.sidecar.merge import parse_args
-
mcutils.scripts.sidecar.merge.
parse_args
(args=None) → Tuple[str, List[Tuple[str, List[str]]]][source]¶ Parses the command-line arguments
- Parameters
args – command line arguments (defaults to sys.argv[1:])
- Returns
output filename and list of objects to merge. Each object is a tuple with:
indentifier, one of XPS, LTE, PTE, or STE
list of 1 or 2 filenames:
.json or .mat for XPS
bvals and bvecs for LTE and PTE
bvals for STE