class_docstr: A node object.
class_docstr_tok: ["A","node","object","."]
docstr: Get the trunk of the tree starting at this root.
docstr_tok: ["Get","the","trunk","of","the","tree","starting","at","this","root","."]
code: def trunk(self, unique=True, limit_children_to=None):
      """Get the trunk of the tree starting at this root."""
      # FIXME: uniqueness is not correct in `trunk` yet
      unique = False
      res = []
      if self.children and self.name is not EMPTY_LEAF_NAME:
          if self.name is not None:
              res.append(self)
          if (
              limit_children_to is not None
              and self.name in limit_children_to
          ):
              return res
          for child in self.children:
              for sub_child in child.trunk(
                  unique=unique, limit_children_to=limit_children_to
              ):
                  if not unique or sub_child not in res:
                      res.append(sub_child)
      return res
  
imports: from satpy.utils import get_logger
label_desc: Use image node_id 14 for calling the Node obj's underlying member method code with example usage: obj.trunk(unique, limit_children_to) and returns: res, res