Subject: Re: [nmr_sparky] Re: "next peak" macro
From: Mandar T. Naik
Date: Jun 14, 2010

Previous: 744

Hi Nick,
Good to know you wrote the workaround which suits your needs.
I might still not do it one peak at a time. After reading the peak list or ornament paste, I might use the strip plot sp function and call all assigned peak strips. Then depending on how many of those fit on the screen, I will Shift+click or drag the peak markersto select and then pc. Might need to adjust visual depth vz and the aspect ratio in vt. Of course, I accept you know your data better and must be having reasons in the approach opted, which indeed sounds very promising for crowded spectra. Thanks for sharing the code.
Cheers
-mandar

From: nickfitzkee
Sent: Tuesday, June 15, 2010 2:05 AM
To: nmr_sparky@yahoogroups.com
Subject: [nmr_sparky] Re: next peak macro

Hi Mandar,

Thanks for your response. Unfortunately, most of my spectra at this point are 3D HNCO spectra, so I cant visualize all of the peaks at once. My system is rather crowded, too, so it would be hard to keep an eye on everything in a 2D without a really big monitor. Maybe thats something I could ask for. :-)

The vc command gets me part of the way, however. Now I just need a command that can selectively iterate through the list of peaks in the lt window.

Nick

--- In nmr_sparky@yahoogroups.com , Mandar T. Naik mandarn@... wrote:


Hi,
Assuming
its a titration or something like that. Try this-
pa and pc; closely
observe the overlapping peaks, do eu while continuing to observe the peak movement. Then pressing the shift key click the peaks which dont get centered correctly. This will unselect those peaks. Now again do pc. You may also use mouse to select a region instead of using select all, pa. Now manually move/center the peaks which were previously unselected. Once done use pa, followed by ornament copy, oc and finally paste op on the next spectrum. Hope this will keep you hands mostly glued to your keyboard.
-mandar

On Mon, 14 Jun 2010 12:53:35 -0000, nickfitzkee
wrote


Hi everyone!

Ive been doing a lot of assignment copying from one spectrum to
another, where I read a list of peaks in and adjust their positions. Sometimes I use assignment copy for this, but most of the time I just read in an old list of peaks into a spectrum and double check each position. Basically this involves:

1) double-clicking the next peak in the
peak list to select it and center it on the display

2) typing pc or pi to center the peak on its new position

3) repeat

It would save me a tremendous
amount of time if I could somehow select the next peak in my peak list and move there without taking my hands off the keyboard. Is there a way to implement this as a next peak macro, e.g. as np or something?

Thanks,
Nick