Argument Parser

Command-line parser utilized for handling nmrPype in command-line form

Parser Function

nmrPype.parse.parser(input_args: list[str]) Namespace

nmrPype’s dedicated argument parser function. Takes arguments defined within functions as well to allow for easier integration of custom functions.

Parameters:

input_args (list[str]) – List of arguments from the command-line to parse

Returns:

argparse Namespace object which has attributes and values properly handled to use in processing

Return type:

Namespace