code: def extract(self, args):
      group = GroupParams()
      for arg in vars(args).items():
          if arg[0] in vars(self) or ("_" + arg[0]) in vars(self):
              setattr(group, arg[0], arg[1])
      return group
  
file_path: gaussian-splatting/arguments/__init__.py
imports: from argparse import ArgumentParser, Namespace
  import sys
  import os
label_desc: Use image node_id 2 for calling the ParamGroup obj's underlying member method code with example usage: obj.extract(args) and returns: group