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 pre and post are specified together, the response data will be transformed from the pre unit system to the post unit system. This will affect its numerical size.

Returns

None