Wayne Boucher wrote:
> Hello,
>
> Ah, one thing I forgot to mention. (Currently) this assumes that you have
> picked two peaks that are displayed in the same window. I did it that way
> because peaks don't live in specific windows, they live in all windows
> where the corresponding spectrum is mapped. (I guess this is different
> from the Sparky approach.) I can see that if you want to align (say) an
> HHN spectrum with an HHC one then this causes problems, and to do this
> with our approach you'd have to create an HHCN window.
Still, every peak should belong to just a single spectrum and its the
properties (referencing) of those spectra what we are after. so why
can't the function just work on the spectra and their axes and leave the
windows out of it. I guess, at the moment you use the window approach
to figure out which axes to align with each other.
> An alternative
> would be that where the translate view does not exist then we could popup
> a dialog where you had to specify the window of the peak to be translated
> (and it would have to have compatible x, y axes).
>
> Wayne
>
>
Its just that I would like this important functionality to become as powerful and transparent to the user as possible...
Christoph
---------------------------------------------------------
Dr. Christoph Brockmann
Division of Structural Studies
MRC Laboratory of Molecular Biology
Hills Road
Cambridge, CB2 2QH
phone: +44-1223-40-2261 or +44-1223-40-2068
e-mail: [log in to unmask]
---------------------------------------------------------
|