mailr24772 - /branches/r1rho_plotting/specific_analyses/relax_disp/data.py


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

Header


Content

Posted by tlinnet on July 26, 2014 - 13:34:
Author: tlinnet
Date: Sat Jul 26 13:34:09 2014
New Revision: 24772

URL: http://svn.gna.org/viewcvs/relax?rev=24772&view=rev
Log:
Added the spin specific residue name and spin_id to the title of the 
dispersion plots.

This is handy, since it is often of interest to have this information at 
hand, when looking through many graphs.

sr #3124(https://gna.org/support/?3124): Grace graphs production for R1rho 
analysis with R2_eff as function of Omega_eff.
sr #3138(https://gna.org/support/?3138): Interpolating theta through 
spin-lock offset [Omega], rather than spin-lock field strength [w1].

Modified:
    branches/r1rho_plotting/specific_analyses/relax_disp/data.py

Modified: branches/r1rho_plotting/specific_analyses/relax_disp/data.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/r1rho_plotting/specific_analyses/relax_disp/data.py?rev=24772&r1=24771&r2=24772&view=diff
==============================================================================
--- branches/r1rho_plotting/specific_analyses/relax_disp/data.py        
(original)
+++ branches/r1rho_plotting/specific_analyses/relax_disp/data.py        Sat 
Jul 26 13:34:09 2014
@@ -1607,7 +1607,7 @@
 
     # Loop over each spin. Initialise spin counter.
     si = 0
-    for spin, spin_id in spin_loop(return_id=True, skip_desel=True):
+    for spin, mol_name, res_num, res_name, spin_id in 
spin_loop(full_info=True, return_id=True, skip_desel=True):
         # Skip protons for MMQ data.
         if spin.model in MODEL_LIST_MMQ and spin.isotope == '1H':
             continue
@@ -1681,7 +1681,7 @@
                             data[i][j][k][l] = 0.0
 
         # Write the header.
-        title = "Relaxation dispersion plot"
+        title = "Relaxation dispersion plot for:    %s %s"%(res_name, 
spin_id)
         graph_num = len(data)
         sets = []
         legend = []
@@ -1725,7 +1725,7 @@
 
     # Loop over each spin. Initialise spin counter.
     si = 0
-    for spin, spin_id in spin_loop(return_id=True, skip_desel=True):
+    for spin, mol_name, res_num, res_name, spin_id in 
spin_loop(full_info=True, return_id=True, skip_desel=True):
         # Skip protons for MMQ data.
         if spin.model in MODEL_LIST_MMQ and spin.isotope == '1H':
             continue
@@ -1808,7 +1808,7 @@
                             data[i][j][k][l] = 0.0
 
         # Write the header.
-        title = "Relaxation dispersion plot"
+        title = "Relaxation dispersion plot for:    %s %s"%(res_name, 
spin_id)
         subtitle = "Interpolated through Spin-lock field strength 
\\xw\\B\\s1\\N"
         graph_num = len(data)
         sets = []




Related Messages


Powered by MHonArc, Updated Sat Jul 26 13:40:03 2014