class_docstr: Rotation in 3 dimensions.
class_docstr_tok: ["Rotation","in","3","dimensions","."]
docstr: Extract rotation(s) at given index(es) from object.
docstr_tok: ["Extract","rotation","(","s",")","at","given","index","(","es",")","from","object","."]
code: def __getitem__(self, indexer):
      """Extract rotation(s) at given index(es) from object."""
      if self.single:
          raise TypeError("Single rotation is not subscriptable.")
      return Rotation(self.quat[indexer])
  
imports: from __future__ import annotations
  import functools
  import re
  import typing
  import scipy.spatial.transform
  import jax
  import jax.numpy
  from jax._src.numpy.util import _wraps
label_desc: Use image node_id 9 for calling the Rotation obj's underlying member method code with example usage: obj.__getitem__(indexer) and returns: Rotation