update_unit_system¶
- opstool.post.update_unit_system(pre=None, post=None)[source]¶
Set the unit system will be used for post-processing.
Parameters¶
- pre: dict, default: None.
Unit system used in pre-processing and analysis.
Style: dict(force=force_unit, length=length_unit, time=time_unit)
force_unit: Optional [“lb”(“lbf”), “kip”, “n”, “kn”, “mn”, “kgf”, “tonf”].
length_unit: Optional [“inch”, “ft”, “mm”, “cm”, “m”, “km”].
time_unit: Optional [“sec”].
- post: dict, default: None.
Unit system will be used for post-processing.
Style: dict(force=force_unit, length=length_unit, time=time_unit)
When
preandpostare specified together, the response data will be transformed from thepreunit system to thepostunit system. This will affect its numerical size.
Returns¶
None