openairbearing.display¶
Units for reading: the one table of what each SI unit is shown in.
Everything is computed and stored in SI. A figure, a table or the workbench
shows a value as value × scale in the display unit:
from openairbearing import display
display.shown(stiffness, "N/m") # values in N/µm
display.label("Stiffness", "N/m") # "Stiffness [N/µm]"
A unit that is not in the table is shown as it is. Flow in m³/s is free gas at ambient pressure, shown in L/min.
- dof_units(name: str) tuple[str, str][source]¶
SI units (position, conjugate force) of a position coordinate.
(“rad”, “N·m”) for a rotation (rx, ry, rz), (“m”, “N”) for the rest: h, x, y and z.
- label(name: str, si: str, *, coordinate: bool = False) str[source]¶
Axis label: the name with the display unit of si, “Stiffness [N/µm]”.