Module common_ops :: Class common_operations
[hide private]
[frames] | no frames]

Class common_operations

source code

Instance Methods [hide private]
 
__init__(self)
Operations, functions, etc common to the different model-free analysis methods.
source code
 
ask_stage(self)
User input of stage number.
source code
 
create_mfdata(self, res, flag='1')
Create the Modelfree input file mfdata
source code
 
create_mfin(self, sel='none', algorithm='fix', diffusion_search='none', sims='n', sim_type='pred')
Create the Modelfree input file mfin
source code
 
create_mfmodel(self, res, md, type='M1')
Create the M1 or M2 section of the Modelfree input file mfmodel
source code
 
create_mfpar(self, res)
Create the Modelfree input file mfpar
source code
 
create_run(self, dir)
Create the file 'run' to execute the model-free run
source code
 
extract_input(self, input)
Extract all the information from the input file.
source code
 
extract_relax_data(self)
Extract the relaxation data from the files given in the file 'input'
source code
 
fill_results(self, data, model='0')
Initialize the next row of the results data structure.
source code
 
final_run(self)
Model selection and the creation of the final run.
source code
 
final_run_optimized(self)
The final optimization run.
source code
 
goto_stage(self) source code
 
grace(self, file_name, type, subtitle)
Create grace files for the results.
source code
 
grace_header(self, title, subtitle, x, y, type)
Create and return a grace header.
source code
 
initialize(self)
A few operations to start up the program.
source code
 
log_input_info(self) source code
 
log_params(self, name, mdx)
Put the parameter data structures into the log file.
source code
 
print_data(self, ftests='n')
Print the results into the results file.
source code
 
print_results(self)
Print the results into the results file.
source code
 
set_run_flags(self, run)
Reset, and then set the flags in self.mf.data.usr_param.md1 and md2.
source code
 
stage3(self) source code
Method Details [hide private]

final_run(self)

source code 

Model selection and the creation of the final run.

Monte Carlo simulations are used to find errors, and the diffusion tensor is unoptimized. Files are placed in the directory 'final'.

final_run_optimized(self)

source code 

The final optimization run.

Create the modelfree4 files for the optimization of the diffusion tensor together with the model free parameters for the selected models.