class_docstr: Rotation in 3 dimensions.
class_docstr_tok: ["Rotation","in","3","dimensions","."]
docstr: Get identity rotation(s).
docstr_tok: ["Get","identity","rotation","(","s",")","."]
code: def identity(cls, num: int | None = None, dtype=float):
      """Get identity rotation(s)."""
      assert num is None
      quat = jnp.array([0.0, 0.0, 0.0, 1.0], dtype=dtype)
      return cls(quat)
  
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 7 for calling the Rotation obj's underlying member method code with example usage: obj.identity(cls, num, dtype) and returns: cls