code: def triaxial(ell: Ellipsoid = None, method: str = "mean") -> float:
      """computes triaxial average of the semimajor and semiminor axes of the ellipsoid
  
      Parameters
      ----------
      ell : Ellipsoid, optional
            reference ellipsoid
      method: str, optional
          "mean" or "norm"
  
      Returns
      -------
      radius: float
          radius of sphere
      """
  
      if ell is None:
          ell = Ellipsoid.from_name("wgs84")
  
      if method == "mean":
          return (2 * ell.semimajor_axis + ell.semiminor_axis) / 3
      elif method == "norm":
          return (ell.semimajor_axis**2 * ell.semiminor_axis) ** (
              1 / 3
          )
      else:
          raise ValueError("method must be mean or norm")
  
file_path: pymap3d/src/pymap3d/rsphere.py
imports: from __future__ import annotations
  from .None import rcurve
  from .ellipsoid import Ellipsoid
  from .mathfun import cos, degrees, log, radians, sin, sqrt
  from .vincenty import vdist
label_desc: Use image node_id 6 for calling a global function with example usage: triaxial(ell, method) and returns: unknown, unknown