Hi Troels, Just so you know while you are developing this calc_rotating_frame_params() function, note that in the future when off-resonance effects in the CPMG-type experiments are supported, that this function will be used for CPMG data as well. Knowing this might help you develop the code in a way that is compatible with CPMG-type data, or is at least very easy to extend to this data type. Regards, Edward On 12 March 2014 13:04, <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet Date: Wed Mar 12 13:04:53 2014 New Revision: 22462 URL: http://svn.gna.org/viewcvs/relax?rev=22462&view=rev Log: Fix for field count and added check for R1rho type in calc_rotating_frame_params(). Regarding sr #3124, (https://gna.org/support/index.php?3124) - Grace graphs production for R1rho analysis with R2_eff as function of Omega_eff. Modified: trunk/specific_analyses/relax_disp/disp_data.py Modified: trunk/specific_analyses/relax_disp/disp_data.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/disp_data.py?rev=22462&r1=22461&r2=22462&view=diff ============================================================================== --- trunk/specific_analyses/relax_disp/disp_data.py (original) +++ trunk/specific_analyses/relax_disp/disp_data.py Wed Mar 12 13:04:53 2014 @@ -179,7 +179,11 @@ @rtype: List of dict() """ # Get the field count - field_count = cdp.spectrometer_frq_count + field_count = count_frq() + + # Check the experiment type + if not has_r1rho_exp_type(): + raise RelaxError("The experiment type is not of R1rho type.") # Get the spin_lock_field points spin_lock_nu1 = return_spin_lock_nu1(ref_flag=False) _______________________________________________ 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