mailRe: r12975 - /1.3/gui/components/spectrum.py


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

Header


Content

Posted by Sébastien Morin on June 14, 2011 - 07:20:
Hi guys,

For Varian users, it really depends which pulse sequence you use, for both R1 and R2. From the Biopack (from Varian directly), you set relaxation delays directly for both R1 and R2. If you use Lewis Kay's pulse sequences (as available on his website), then you set the number of cycles (called "ncyc") for both R1, and R2...

I really think that the relaxation delays should be input into the gui, as this leaves the gui very "general".

All the best,


Séb  :)


On 11-06-14 1:31 AM, Michael Bieri wrote:
Hi Edward

I think we will have to change this design. Currently, R1 tab is wrong,
as nobody sets cycles for T1 delays. Here, relaxation delays have to be
set directly.
For R2, this is true for Bruker people. But I don't know if Varian sets
the T2 delays in a similar matter (using cycles). So we might exclude
Varian users like this...

Let me know when you finalised the reorganisation of the GUI components
and I will fix this.

By the way. Nice coding around the grid class! I like the spin.ctrl in
the grid!

Cheers
Michael

Am 10.06.2011 23:57, schrieb edward@xxxxxxxxxxxxx:
Author: bugman
Date: Fri Jun 10 15:57:28 2011
New Revision: 12975

URL: http://svn.gna.org/viewcvs/relax?rev=12975&view=rev
Log:
The peak intensity GUI element is now enclosed within a StaticBox.


Modified:
      1.3/gui/components/spectrum.py

Modified: 1.3/gui/components/spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/components/spectrum.py?rev=12975&r1=12974&r2=12975&view=diff
==============================================================================
--- 1.3/gui/components/spectrum.py (original)
+++ 1.3/gui/components/spectrum.py Fri Jun 10 15:57:28 2011
@@ -241,16 +241,22 @@
           # The number of rows.
           self.num_rows = 50

-        # Add peak list selection header.
-        self.subparent.add_subtitle(box, "Data points")
+        # A static box to hold all the widgets, and its sizer.
+        stat_box = wx.StaticBox(self.parent, -1, "Peak lists")
+        stat_box.SetFont(self.gui.font_subtitle)
+        sub_sizer = wx.StaticBoxSizer(stat_box, wx.VERTICAL)

           # Add the cycle delay time element.
-        self.delay_time = self.subparent.add_text_sel_element(box, self.parent, 
text="Single delay cycle time [s]")
+        sub_sizer.AddSpacer(self.spacing)
+        self.delay_time = self.subparent.add_text_sel_element(sub_sizer, self.parent, 
text="Single delay cycle time [s]")

           # Add the grid.
-        box.AddSpacer(self.spacing)
-        self.add_grid(box)
-        box.AddSpacer(self.spacing)
+        sub_sizer.AddSpacer(self.spacing)
+        self.add_grid(sub_sizer)
+        sub_sizer.AddSpacer(self.spacing)
+
+        # Add the sizer to the static box and the static box to the main box.
+        box.Add(sub_sizer, 1, wx.ALL|wx.EXPAND, 0)


       def add_buttons(self, sizer):


_______________________________________________
relax (http://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


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

This is the relax-devel mailing list
relax-devel@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-devel

--
Sébastien Morin, Ph.D.
Postdoctoral Fellow, S. Grzesiek NMR Laboratory
Department of Structural Biology
Biozentrum, Universität Basel
Klingelbergstrasse 70
4056 Basel
Switzerland




Related Messages


Powered by MHonArc, Updated Tue Jun 14 11:20:13 2011