# {py:mod}`physpyx.qty` ```{py:module} physpyx.qty ``` ```{autodoc2-docstring} physpyx.qty :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`Qty ` - ```{autodoc2-docstring} physpyx.qty.Qty :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`logger ` - ```{autodoc2-docstring} physpyx.qty.logger :summary: ``` ```` ### API ````{py:data} logger :canonical: physpyx.qty.logger :value: > 'getLogger(...)' ```{autodoc2-docstring} physpyx.qty.logger ``` ```` `````{py:class} Qty(fname: str, context: str = '') :canonical: physpyx.qty.Qty Bases: {py:obj}`physpyx.manager.PTManager` ```{autodoc2-docstring} physpyx.qty.Qty ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} physpyx.qty.Qty.__init__ ``` ````{py:method} __call__(value: pint._typing.Scalar | list[pint._typing.Scalar] | str, unit: str | None = None, to: str | None = None, fmt: str = 'g', base: bool = False, compact: bool = False, preferred: bool = False, alt: physpyx.quantity.AltDict | bool = False) -> physpyx.quantity.SiunitxQuantity :canonical: physpyx.qty.Qty.__call__ ```{autodoc2-docstring} physpyx.qty.Qty.__call__ ``` ```` `````