docs: def object(self, *path):
          """Get a TDMS object from the file
  
          :param path: The object group and channel. Providing no channel
              returns a group object, and providing no channel or group
              will return the root object.
          :rtype: :class:`TdmsObject`
  
          For example, to get the root object::
  
              object()
  
          To get a group::
  
              object("group_name")
  
          To get a channel::
  
              object("group_name", "channel_name")
          """
  
          object_path = self._path(*path)
          try:
              return self.objects[object_path]
          except KeyError:
              raise KeyError("Invalid object path: %s" % object_path)