python库,动态构造pytables,其中条件来自提供的关键字参数。
dynamic_pytables_where_condition的Python项目详细描述
关于
python库动态构造pytables,其中 提供了关键字参数。
这项工作是研究项目调查的一部分 [ON174027],科技部支持,共和国 塞尔维亚。我们对此表示感谢。
参考文献
[ON174027] | “Computational Mechanics in Structural Engineering” |
安装
要在运行条件的位置安装动态pytables,请执行以下操作:
$ pip install dynamic_pytables_where_condition
用法示例
快速入门:
>>> from dynamic_pytables_where_condition import construct_where_condition >>> construct_where_condition() '' >>> construct_where_condition(t_b_min=4.0, t_b_max=8.0, a_min=2000.0) '(a >= 2000.0) & (t_b <= 8.0) & (t_b >= 4.0)' >>> construct_where_condition(t_b_fix=4.0, t_b_max=None, a_min=None) '(t_b == 4.0)'
有关更多示例,请参见fsm_modal_analysis源代码。