mailRe: r24981 - /branches/R1_fitting/specific_analyses/relax_disp/variables.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on August 18, 2014 - 15:21:
As mentioned in
http://thread.gmane.org/gmane.science.nmr.relax.scm/22729/focus=6651,
maybe we could come up with a generic solution.  'No Rex' is not an
experiment type.  Rather this model covers all experiment types.  The
same applies for the other models.  When I see how this is used,
probably in a few commits from this one, then maybe I'll be able to
see a solution for the problem you are trying to solve that uses
experiment type names that are identifiable as NMR experiments.  None
or 'all' might be a useful value here.

Regards,

Edward

On 11 August 2014 09:09,  <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet
Date: Mon Aug 11 09:09:26 2014
New Revision: 24981

URL: http://svn.gna.org/viewcvs/relax?rev=24981&view=rev
Log:
Added three new EXP_TYPE variables.

EXP_TYPE_R2EFF = 'R2eff/R1rho'
EXP_TYPE_NOREX = 'No Rex'
EXP_TYPE_NOREX_R1RHO = 'No Rex: R1rho off res'

These are used to add meta-data information to each model, making it 
possible to make
a nesting function, determining which model to nest from.

sr #3135(https://gna.org/support/?3135): Optimisation of the R1 relaxation 
rate for the off-resonance R1rho relaxation dispersion models.

Modified:
    branches/R1_fitting/specific_analyses/relax_disp/variables.py

Modified: branches/R1_fitting/specific_analyses/relax_disp/variables.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/R1_fitting/specific_analyses/relax_disp/variables.py?rev=24981&r1=24980&r2=24981&view=diff
==============================================================================
--- branches/R1_fitting/specific_analyses/relax_disp/variables.py       
(original)
+++ branches/R1_fitting/specific_analyses/relax_disp/variables.py       Mon 
Aug 11 09:09:26 2014
@@ -33,7 +33,10 @@
 EXP_TYPE_CPMG_PROTON_SQ = '1H SQ CPMG'
 EXP_TYPE_CPMG_PROTON_MQ = '1H MQ CPMG'
 EXP_TYPE_CPMG_MMQ = 'CPMG: SQ, DQ, MQ, ZQ, 1H SQ, 1H MQ'
+EXP_TYPE_NOREX = 'No Rex'
+EXP_TYPE_NOREX_R1RHO = 'No Rex: R1rho off res'
 EXP_TYPE_R1RHO = 'R1rho'
+EXP_TYPE_R2EFF = 'R2eff/R1rho'

 # Experiment type descriptions.
 EXP_TYPE_DESC_CPMG_SQ = "the standard single quantum (SQ) CPMG-type 
experiment"
@@ -62,28 +65,28 @@
 MODEL_PARAMS_R2EFF = ['r2eff', 'i0']    # The 'i0' parameter is only for 
the exponential curve-fitting.
 # This year is fake. Just to get the order correct.
 MODEL_YEAR_R2EFF = 1950
-MODEL_EXP_TYPE_R2EFF = MODEL_R2EFF
+MODEL_EXP_TYPE_R2EFF = EXP_TYPE_R2EFF

 MODEL_NOREX = 'No Rex'
 MODEL_DESC_NOREX = "The model for no chemical exchange relaxation."
 MODEL_PARAMS_NOREX = ['r2']
 # This year is fake. Just to get the order correct.
 MODEL_YEAR_NOREX = 1951
-MODEL_EXP_TYPE_NOREX = MODEL_NOREX
+MODEL_EXP_TYPE_NOREX = EXP_TYPE_NOREX

 MODEL_NOREX_R1RHO = "No_Rex_R1rho_off_res"
 MODEL_DESC_NOREX_R1RHO = "The model for no chemical exchange relaxation, 
for R1rho off resonance models."
 MODEL_PARAMS_NOREX_R1RHO = ['r2']
 # This year is fake. Just to get the order correct.
 MODEL_YEAR_NOREX_R1RHO = 1952
-MODEL_EXP_TYPE_NOREX_R1RHO = MODEL_NOREX_R1RHO
+MODEL_EXP_TYPE_NOREX_R1RHO = EXP_TYPE_NOREX_R1RHO

 MODEL_NOREX_R1RHO_FIT_R1 = "%s_fit_r1"%MODEL_NOREX_R1RHO
 MODEL_DESC_NOREX_R1RHO_FIT_R1 = "The model for no chemical exchange 
relaxation, for R1rho off resonance models, where R1 is fitted."
 MODEL_PARAMS_NOREX_R1RHO_FIT_R1 = ['r1_fit', 'r2']
 # This year is fake. Just to get the order correct.
 MODEL_YEAR_NOREX_R1RHO_FIT_R1 = 1953
-MODEL_EXP_TYPE_NOREX_R1RHO_FIT_R1 = MODEL_NOREX_R1RHO
+MODEL_EXP_TYPE_NOREX_R1RHO_FIT_R1 = EXP_TYPE_NOREX_R1RHO

 MODEL_LM63 = 'LM63'
 MODEL_DESC_LM63 = "The Luz and Meiboom (1963) 2-site fast exchange model 
for SQ-CPMG experiments."


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits



Related Messages


Powered by MHonArc, Updated Mon Aug 18 16:40:12 2014