本文整理汇总了Python中IndirectCommon.transposeFitParametersTable方法的典型用法代码示例。如果您正苦于以下问题:Python IndirectCommon.transposeFitParametersTable方法的具体用法?Python IndirectCommon.transposeFitParametersTable怎么用?Python IndirectCommon.transposeFitParametersTable使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IndirectCommon
的用法示例。
在下文中一共展示了IndirectCommon.transposeFitParametersTable方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_transposeFitParametersTable_rename_output
# 需要导入模块: import IndirectCommon [as 别名]
# 或者: from IndirectCommon import transposeFitParametersTable [as 别名]
def test_transposeFitParametersTable_rename_output(self):
ws = self.make_dummy_QENS_workspace()
params_table = self.make_multi_domain_parameter_table(ws)
output_name = "new_table"
indirect_common.transposeFitParametersTable(params_table, output_name)
self.assert_table_workspace_dimensions(params_table, expected_row_count=26, expected_column_count=3)
self.assert_table_workspace_dimensions(output_name, expected_row_count=5, expected_column_count=11)
示例2: test_transposeFitParametersTable
# 需要导入模块: import IndirectCommon [as 别名]
# 或者: from IndirectCommon import transposeFitParametersTable [as 别名]
def test_transposeFitParametersTable(self):
ws = self.make_dummy_QENS_workspace()
params_table = self.make_multi_domain_parameter_table(ws)
indirect_common.transposeFitParametersTable(params_table)
self.assert_table_workspace_dimensions(params_table, expected_row_count=5, expected_column_count=11)