Open main menu

Changes

Dx map

306 bytes added, 22:24, 7 May 2014
relax cpmg_synthetic.py
</source>
Here is the script '''cpmg_synthetic.py'''
<source lang="Python">
# Script for calculating synthetics CPMG data.
# 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. :-9
pipe_name_MODEL_MAP = "%s_%s_map"%(pipe_name, model_analyse)
pipe.copy(pipe_from=pipe_name_MODEL, pipe_to=pipe_name_MODEL_MAP, bundle_to = pipe_bundle)
pipe.switch(pipe_name=pipe_name_MODEL_MAP)
 
for cur_spin, mol_name, resi, resn, spin_id in spin_loop(full_info=True, return_id=True, skip_desel=True):
cur_spin_id = spin_id
#vp_exec: A flag specifying whether to execute the visual program automatically at start-up.
#dx.execute(file_prefix=file_name, dir=ds.resdir, dx_exe='dx', vp_exec=True)
 
# Switch back to model pipe.
pipe.switch(pipe_name=pipe_name_MODEL)
# Remove insignificant