Users API#
This reference covers the public runtime API used by scientific users and library integrators.
Core Construction#
|
Returns a quantity. |
|
Returns a unit. |
Core Conversion and Display#
|
Convert a quantity or unit across unit systems, forms, and output types. |
|
Return a quantity or unit converted to string form. |
Core Validation and Comparison#
|
Check if a quantity or unit has the specified dimensionality, value_type, shape, unit or data type. |
Check whether two quantities or units are dimensionally compatible. |
|
Check whether two quantities or units are compatible. |
|
|
Compare two quantities using relative tolerance semantics. |
|
Compares whether two quantities are similiar within a specified tolerance. |
|
Compares whether two quantities are similiar within a specified tolerance. |
Core Introspection and Extraction#
|
Returns the form of a quantity as a string. |
|
Check whether an object is a quantity |
|
Check whether an object is a unit |
|
Return dimensional exponents for a quantity or unit. |
|
Check wheter a quantity or unit is dimensionless. |
|
Returns the value of a quantity. |
|
Returns the unit of a quantity. |
|
Returns the value and unit of a quantity. |
|
Return a quantity with a replaced value while preserving unit and form. |
Standardization and Context#
Returns standard unit of the quantity or unit passed. |
|
|
Concert a quantity or unit to standard units. |
|
Context manager to temporarily change PyUnitWizard configuration. |
Runtime Configuration#
Reset runtime configuration state to defaults. |
|
Load one or more backend libraries into runtime configuration. |
|
Return currently loaded backend libraries. |
|
Return backend libraries supported by this installation. |
|
Return currently loaded parsers. |
|
Return parser backends supported by this installation. |
|
Return the configured default form for quantities and units. |
|
Set the default form for quantities and units. |
|
Return the configured default parser. |
|
Set the default parser for string quantities. |
|
Return configured standard units mapped to dimensionality definitions. |
|
Configure project standard units used by standardization helpers. |