本文整理匯總了Python中data_store.Relax_data_store.numeric_only方法的典型用法代碼示例。如果您正苦於以下問題:Python Relax_data_store.numeric_only方法的具體用法?Python Relax_data_store.numeric_only怎麽用?Python Relax_data_store.numeric_only使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類data_store.Relax_data_store
的用法示例。
在下文中一共展示了Relax_data_store.numeric_only方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: Relax_data_store
# 需要導入模塊: from data_store import Relax_data_store [as 別名]
# 或者: from data_store.Relax_data_store import numeric_only [as 別名]
from data_store import Relax_data_store; ds = Relax_data_store()
from status import Status; status = Status()
# The dispersion models.
MODELS = ['LM63']
if hasattr(ds, 'models'):
MODELS = ds.models
# The temporary directory, if needed.
if not hasattr(ds, 'tmpdir'):
ds.tmpdir = 'temp'
# The numeric flag.
if not hasattr(ds, 'numeric_only'):
ds.numeric_only = False
# The grid search size (the number of increments per dimension).
GRID_INC = 6
# The number of Monte Carlo simulations to be used for error analysis at the end of the analysis.
MC_NUM = 3
# 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.