本文整理汇总了Python中data_store.Relax_data_store.r20_from_min_r2eff方法的典型用法代码示例。如果您正苦于以下问题:Python Relax_data_store.r20_from_min_r2eff方法的具体用法?Python Relax_data_store.r20_from_min_r2eff怎么用?Python Relax_data_store.r20_from_min_r2eff使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类data_store.Relax_data_store
的用法示例。
在下文中一共展示了Relax_data_store.r20_from_min_r2eff方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: hasattr
# 需要导入模块: from data_store import Relax_data_store [as 别名]
# 或者: from data_store.Relax_data_store import r20_from_min_r2eff [as 别名]
# Collect the eksperiment to simulate.
ds.data = [model_create, model_analyse, spins, exps]
# Setup variables to be used
##################################################################################
# The tmp directory.
if not hasattr(ds, 'tmpdir'):
ds.tmpdir = None
# The results directory.
if not hasattr(ds, 'resdir'):
ds.resdir = None
# Do r20_from_min_r2eff.
if not hasattr(ds, 'r20_from_min_r2eff'):
ds.r20_from_min_r2eff = True
# Remove insignificant level.
if not hasattr(ds, 'insignificance'):
ds.insignificance = 0.0
# The grid search size (the number of increments per dimension). "None" will set default values.
if not hasattr(ds, 'GRID_INC'):
#ds.GRID_INC = None
ds.GRID_INC = 21
# The do clustering.
if not hasattr(ds, 'do_cluster'):
ds.do_cluster = True
# The function tolerance. This is used to terminate minimisation once the function value between iterations is less than the tolerance.