class_docstr: Physical quantity: can be a unit of measure, a constant or a generic quantity.
class_docstr_tok: ["Physical","quantity",":","can","be","a","unit","of","measure",",","a","constant","or","a","generic","quantity","."]
code: def __new__(
      cls,
      name,
      abbrev=None,
      latex_repr=None,
      pretty_unicode_repr=None,
      pretty_ascii_repr=None,
      mathml_presentation_repr=None,
      is_prefixed=False,
      **assumptions,
  ):
      if not isinstance(name, Symbol):
          name = Symbol(name)
  
      if abbrev is None:
          abbrev = name
      elif isinstance(abbrev, str):
          abbrev = Symbol(abbrev)
  
      # HACK: These are here purely for type checking. They actually get assigned below.
      cls._is_prefixed = is_prefixed
  
      obj = AtomicExpr.__new__(cls, name, abbrev)
      obj._name = name
      obj._abbrev = abbrev
      obj._latex_repr = latex_repr
      obj._unicode_repr = pretty_unicode_repr
      obj._ascii_repr = pretty_ascii_repr
      obj._mathml_repr = mathml_presentation_repr
      obj._is_prefixed = is_prefixed
      return obj
  
imports: from sympy.core.expr import AtomicExpr
  from sympy.core.symbol import Symbol
  from sympy.core.sympify import sympify
  from sympy.physics.units.dimensions import _QuantityMapper
  from sympy.physics.units.prefixes import Prefix
label_desc: Use image node_id 1 for calling the Quantity obj's underlying member method code with example usage: obj.__new__(cls, name, abbrev, latex_repr, pretty_unicode_repr, pretty_ascii_repr, mathml_presentation_repr, is_prefixed) and returns: obj