Package specific_analyses :: Package relax_disp :: Module model
[hide private]
[frames] | no frames]

Module model

source code

Functions for sorting and nesting the models in relaxation dispersion specific analysis.

Classes [hide private]
Model_class
Functions [hide private]
List of tuples with str.
models_info(models=None)
Get model info for list of models.
source code
class, class
nesting_model(self_models=None, model=None)
Determine if the current model can use nested results from any of the previous analysed models.
source code
dictionary
nesting_param(model_params=None, nested_model_params=None)
Determine the conversion from the nested models params, to the current model params.
source code
list of str
sort_models(models=None)
Determine how to order the models for analyses.
source code
Variables [hide private]
  __package__ = 'specific_analyses.relax_disp'

Imports: deepcopy, date, partial, attrgetter, ne, EQ_ANALYTIC, EQ_NUMERIC, EQ_SILICO, EXP_TYPE_CPMG_MMQ, EXP_TYPE_R1RHO, EXP_TYPE_CPMG_SQ, EXP_TYPE_NOREX, EXP_TYPE_R2EFF, MODEL_DESC, MODEL_EQ, MODEL_EXP_TYPE, MODEL_NEST, MODEL_PARAMS, MODEL_PARAMS_LM63, MODEL_PARAMS_LM63_3SITE, MODEL_PARAMS_NS_MMQ_2SITE, MODEL_PARAMS_NS_MMQ_3SITE, MODEL_PARAMS_NS_MMQ_3SITE_LINEAR, MODEL_PARAMS_NS_R1RHO_2SITE, MODEL_PARAMS_NS_R1RHO_3SITE, MODEL_PARAMS_NS_R1RHO_3SITE_LINEAR, MODEL_SITES, MODEL_YEAR, PARAMS_R1, PARAMS_R20, is_r1_optimised


Function Details [hide private]

models_info(models=None)

source code 

Get model info for list of models.

Parameters:
  • model (list of str) - The list of all models analysed.
Returns: List of tuples with str.
List of tuples, where each tuple contains model info.

nesting_model(self_models=None, model=None)

source code 

Determine if the current model can use nested results from any of the previous analysed models.

Parameters:
  • self_models (list of str) - The list of all models analysed.
  • model (str) - The current model to analyse.
Returns: class, class
The current model info, the possible nest model info.

nesting_param(model_params=None, nested_model_params=None)

source code 

Determine the conversion from the nested models params, to the current model params.

Parameters:
  • model_params (list of str) - The list of the current model parameters.
  • nested_model_params (list of str) - The list of the nested model parameters.
Returns: dictionary
A dictionary of parameter conversion for the current model params.

sort_models(models=None)

source code 

Determine how to order the models for analyses.

Parameters:
  • models (list of str) - The list of all models to be analysed.
Returns: list of str
The ordered list how models should be analysed.