perturbopy.generate_input.generate_input.create_arg_namespace

perturbopy.generate_input.generate_input.create_arg_namespace(param_data, input_data)

Function that returns a dictionary with all the calculation parameters.

Parameters:
  • param_data (dict) – dictionary with all arguments, their description and type

  • input_data (dict) – dictionary with all calculation modes and corresponding arguments

Returns:

parser.parse_args() – dictionary with the calculation parameters as keys. if value was passed to the program, it’s assigned to the corresponding key. Otherwise, value is None

Return type:

argparse.Namespace