# {py:mod}`physpyx.context` ```{py:module} physpyx.context ``` ```{autodoc2-docstring} physpyx.context :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`SiunitxContext ` - * - {py:obj}`NuclearContext ` - ```` ### API `````{py:class} SiunitxContext(name: str | None = None, aliases: tuple[str, ...] = tuple(), defaults: dict[str, typing.Any] | None = None) :canonical: physpyx.context.SiunitxContext Bases: {py:obj}`pint.facets.context.Context` ````{py:attribute} preferred_units :canonical: physpyx.context.SiunitxContext.preferred_units :type: dict[pint.facets.plain.objects.UnitsContainer, str] :value: > None ```{autodoc2-docstring} physpyx.context.SiunitxContext.preferred_units ``` ```` ````` ```{py:class} NuclearContext(preferred_units: bool = True) :canonical: physpyx.context.NuclearContext Bases: {py:obj}`physpyx.context.SiunitxContext` ```