Hello,
I've added a way of displaying Hz instead of ppm. So now if you click on
that x,y position button (at the top to the right of the Strips button)
then it lets you choose Hz instead of ppm. That will apply whether or not
the positions are relative or absolute.
If you choose Hz then it will also let you pick the spectrum whose sf will
be used. The spectra which are listed as possible are the ones that come
from a slightly complicated algorithm:
use only spectra which are visible and are in the toolbar and have a visible peak list
if there are none of those:
use only spectra which are visible and are in the toolbar
if there are none of those:
use all the window's spectra
If you turn spectra on and off (and the like) then the spectrum being used
will change accordingly. This might not be what you want, but I think
this is probably the desired behaviour.
When the position is in Hz, the location label no longer shows the
isotopes but instead the sf for x,y. I was going to put the spectrum name
but Tim convinced me this was a bad idea (since some people have very long
experiment:spectrum names). The sf is rounded to the nearest interger,
hopefully that is ok.
Note also, this location dialog is modal (i.e. requires a response), but
not a very big one in size, so if you accidentally click on something else
then it can get lost behind and the rest of the GUI won't respond because
it is waiting for the modal dialog to finish.
Also, it will *not* remember whether you are using Hz or ppm if you save
the project and then quit and start up Analysis again. That could be
changed but I'm not sure it's a good idea to remember. (Analysis
currently doesn't remember whether you were looking at differences in
position either.)
Anyway, more comments welcome for improvements.
Wayne
On Wed, 14 Oct 2009, Dr Andy Herbert wrote:
> Hi,
>
> That's wonderful - pretty much exactly what I was looking for, but
> getting the value in Hz somehow would be much more useful, for the
> reasons Marco gave. I like the idea of using peaklists as a way of
> choosing the sf. Another possibility would be to take the first
> displayed spectrum in the list as the default, but having the ability to
> choose another one by clicking on the button containing the values. It
> may also be useful to display which spectrum any Hz value refers to (or
> at least the sf), to prevent people accidentally checking the wrong
> values after a long day.
>
> Good feature though, thanks.
>
> Andy
>
> On Wed, 2009-10-14 at 12:05 +0200, Marco Roeben wrote:
>> Hello,
>>
>> Wayne wrote:
>>
>>> I've just added something into 2.1.1 which I'd like comments on. In a
>>> spectrum window (with focus) if you type "d" then it draws a
>>> (quasi-permanent) crosshair at that location, and then instead of the x, y
>>> position being reported at the top (in the button to the right of the
>>> Strips button) you get the difference to that crosshair. If you press "d"
>>> a second time it moves the crosshair. If you want to get rid of this and
>>> go back to the normal situation then you type "D".
>>
>> Really nice!!!
>>
>>
>>
>>> And currently it just does ppm. So the question on that front is do we
>>> need the ability to display Hz even if the window shows ppm. (Of course
>>> the windows don't have the ability yet to be drawn in Hz, but that's TBD.)
>>> And if so, what sf should we use to do the conversion? (We could add a
>>> way of specifying that somehow, the only question is where.)
>>
>> Since the common unit for coupling constants or line width is Hz, from my
>> point of view, it should also be drawn in Hz.
>>
>> For the sf you need to know to which spectra the user is referring to when he
>> wants to know the "delta Hz", right? Why not using the peak list tool bar.
>> There you can decide if you want to have a "multi list" or not. You could do
>> something like turning the Hz scale only on if "multi list" is off and
>> therefore only one specific spectra is chosen.
>>
>> Don't know if this, kind of, could solve your problem, but I'm hoping you got
>> the idea. An advantage would be, that the user is already used to this way of
>> deciding which spectra to use and have not to remember another configuration
>> dialog.
>>
>>
>>
>> best regards
>>
>> Marco
>>
> --
> Dr Andy Herbert
> Department of Chemistry
> University of Edinburgh
> West Mains Road
> Edinburgh
> UK
> EH9 3JJ
> Tel: +44 (0)131 651 3042 or 650 4792
> Email: [log in to unmask]
>
>
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
|