本文整理匯總了Python中data_store.Relax_data_store.pipe_name_MODEL_MAP方法的典型用法代碼示例。如果您正苦於以下問題:Python Relax_data_store.pipe_name_MODEL_MAP方法的具體用法?Python Relax_data_store.pipe_name_MODEL_MAP怎麽用?Python Relax_data_store.pipe_name_MODEL_MAP使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類data_store.Relax_data_store
的用法示例。
在下文中一共展示了Relax_data_store.pipe_name_MODEL_MAP方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: print
# 需要導入模塊: from data_store import Relax_data_store [as 別名]
# 或者: from data_store.Relax_data_store import pipe_name_MODEL_MAP [as 別名]
# The conversion for ShereKhan at http://sherekhan.bionmr.org/.
if ds.sherekhan_input:
relax_disp.cluster('sherekhan', ":1-100")
print(cdp.clustering)
relax_disp.sherekhan_input(force=True, spin_id=None, dir=ds.resdir)
# Looping over data, to collect the results.
# Define which dx_params to collect for.
ds.dx_set_val, ds.dx_clust_val = print_res(cur_spins=cur_spins, grid_params=ds.grid_results[i][3], min_params=ds.min_results[i][3], clust_params=ds.clust_results[i][3], dx_params=ds.dx_params)
## Do a dx map.
# To map the hypersurface of chi2, when altering kex, dw and pA.
if ds.opendx:
# First switch pipe, since dx.map will go through parameters and end up a "bad" place. :-)
ds.pipe_name_MODEL_MAP = "%s_%s_map"%(ds.pipe_name, model_analyse)
pipe.copy(pipe_from=ds.pipe_name, pipe_to=ds.pipe_name_MODEL_MAP, bundle_to = ds.pipe_bundle)
pipe.switch(pipe_name=ds.pipe_name_MODEL_MAP)
# Copy R2eff, but not the original parameters
value.copy(pipe_from=ds.pipe_name_r2eff, pipe_to=ds.pipe_name_MODEL_MAP, param='r2eff')
# Then select model.
relax_disp.select_model(model=model_analyse)
if ds.do_cluster:
# Then cluster
relax_disp.cluster('model_cluster', ":1-100")
# First loop over the defined spins and set the model parameters which is not in the dx.dx_params.
for i in range(len(cur_spins)):