Author: bugman Date: Fri Sep 6 16:26:55 2013 New Revision: 20906 URL: http://svn.gna.org/viewcvs/relax?rev=20906&view=rev Log: Updated the CPMG dispersion analysis sample script for the relax_disp.exp_type user function changes. Modified: branches/relax_disp/sample_scripts/relax_disp/cpmg_analysis.py Modified: branches/relax_disp/sample_scripts/relax_disp/cpmg_analysis.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/sample_scripts/relax_disp/cpmg_analysis.py?rev=20906&r1=20905&r2=20906&view=diff ============================================================================== --- branches/relax_disp/sample_scripts/relax_disp/cpmg_analysis.py (original) +++ branches/relax_disp/sample_scripts/relax_disp/cpmg_analysis.py Fri Sep 6 16:26:55 2013 @@ -60,9 +60,6 @@ spin.name(name='N') spin.isotope(isotope='15N') -# Set the relaxation dispersion experiment type. -relax_disp.exp_type('cpmg fixed') - # The spectral data - spectrum ID, peak list file name, CPMG frequency (Hz), spectrometer frequency in Hertz. data = [ ['500_reference.in', '500_MHz'+sep+'reference.in_sparky', None, 500e6], @@ -110,6 +107,9 @@ # Load the peak intensities. spectrum.read_intensities(file=file, spectrum_id=id, int_method='height') + # Set the relaxation dispersion experiment type. + relax_disp.exp_type(spectrum_id=id, exp_type='CPMG') + # Set the relaxation dispersion CPMG frequencies. relax_disp.cpmg_frq(spectrum_id=id, cpmg_frq=cpmg_frq)