Changes

Jump to navigation Jump to search

Tutorial for model free SBiNLab

1,742 bytes added, 10:56, 15 October 2017
relax 06_run_def_MC20_MAX_ITER20.py -t 06_run_def_MC20_MAX_ITER20.log
</source>
 
==== Inspection of this run ====
After running around 24H, it is in round '''14''' in the '''prolate'''.
 
Let's us try '''finalize''' on just the current available data.
 
Make a '''06_check_intermediate.py''' file, with this content
 
{| class="mw-collapsible mw-collapsed wikitable"
! See file content
|-
|
<source lang="python">
# Python module imports.
import os
 
# relax module imports.
from pipe_control import pipes
from auto_analyses.dauvergne_protocol import dAuvergne_protocol
 
# Analysis variables.
#####################
# The number of Monte Carlo simulations to be used for error analysis at the end of the analysis.
MC_NUM = 5
# The diffusion model. Standard is 'Fully automated', which means: DIFF_MODEL=['local_tm', 'sphere', 'prolate', 'oblate', 'ellipsoid', 'final']
# 'local_tm', 'sphere', ''prolate', 'oblate', 'ellipsoid', or 'final'
#DIFF_MODEL = ['local_tm', 'sphere', 'prolate', 'oblate', 'ellipsoid', 'final']
DIFF_MODEL = ['final']
 
# Read the state with the setup
# The results dir.
var = 'result_06'
results_dir = os.getcwd() + os.sep + var
# Load the state with setup data.
state.load(state=var+'_ini.bz2', dir=results_dir, force=True)
 
# Define write out
out = 'result_06_check_intermediate'
write_results_dir = os.getcwd() + os.sep + out
 
# Read the pipe info
pipe.display()
pipe_name = pipes.cdp_name()
pipe_bundle = pipes.get_bundle(pipe_name)
 
# Run protocol
dAuvergne_protocol(pipe_name=pipe_name, pipe_bundle=pipe_bundle,
results_dir=results_dir,
write_results_dir=write_results_dir,
diff_model=DIFF_MODEL,
mc_sim_num=MC_NUM)
</source>
|}
 
Run with
<source lang="bash">
# Make terminal-session
tmux new -s relax06_check
 
relax 06_check_intermediate.py -t 06_check_intermediate.log
</source>
Trusted, Bureaucrats
1,382

edits

Navigation menu