本文整理汇总了Python中data_store.Relax_data_store.fixed方法的典型用法代码示例。如果您正苦于以下问题:Python Relax_data_store.fixed方法的具体用法?Python Relax_data_store.fixed怎么用?Python Relax_data_store.fixed使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类data_store.Relax_data_store
的用法示例。
在下文中一共展示了Relax_data_store.fixed方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: size
# 需要导入模块: from data_store import Relax_data_store [as 别名]
# 或者: from data_store.Relax_data_store import fixed [as 别名]
# Analysis variables.
#####################
# The dispersion models.
MODELS = ['R2eff', 'No Rex', 'M61']
# The grid search size (the number of increments per dimension).
GRID_INC = 5
# The number of Monte Carlo simulations to be used for error analysis at the end of the analysis.
MC_NUM = 3
# Fixed relaxation time period flag.
if not hasattr(ds, 'fixed'):
ds.fixed = True
# Set up the data pipe.
#######################
# The results directory.
if not hasattr(ds, 'tmpdir'):
ds.tmpdir = None
# Create the data pipe.
pipe_name = 'base pipe'
pipe_bundle = 'relax_disp'
pipe.create(pipe_name=pipe_name, bundle=pipe_bundle, pipe_type='relax_disp')
# The path to the data files.