Point spread function and back to Topspin

73 views
Skip to first unread message

Guillaume LAURENT

unread,
Feb 7, 2018, 1:09:51 PM2/7/18
to mddnmr
Dear all,

I would like to compare sampling patterns quality, preferably into Topspin. Thus I have two questions :
1) Is there a way in mddnmr to obtain the point spread function (PSF), that is to say the Fourier transform of the sampling pattern ? Even better would be to have the residual PSF after the standard processing (zero-filling and apodization).
2) Is there a way to convert data back into Topspin file format ?

Thanking you
Guillaume

Vladislav Orekhov

unread,
Feb 12, 2018, 10:52:57 AM2/12/18
to mdd...@googlegroups.com
Dear Guillaume,
it is easy, if you use qMDD (mddnmr). PSF is FT of the nus table. Thus, you need to set all nus data points to 1.0 and use FT processing mode in mddnmr. To do this in any spectrum, you only need to make a small modification in file fidSP.com, which is nmrPipe script used for the data conversion and FT in the directly detected dimension. Specifically:
insert line
| nmrPipe -fn SET -r 1.0    -i 0.0             \
just before line
| nmrPipe -fn PS -p0 0 -p1 0 -di                       \

comment or remove the base line correction:
#| nmrPipe -fn POLY -auto -xn 5.0ppm -ord 1              \

The result will be in the pipe format, of course.

Regards,
Vladislav
--
--
You received this message because you are subscribed to the Google Groups "mddnmr" group.
To post to this group, send email to mdd...@googlegroups.com rom your registered email address.
To unsubscribe from this group, send email to mddnmr-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/mddnmr

---
You received this message because you are subscribed to the Google Groups "mddnmr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mddnmr+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Guillaume LAURENT

unread,
Feb 14, 2018, 2:42:28 PM2/14/18
to mddnmr
Dear Prof. Orekhov,

Thank you, your solution is working fine for the PSF. On the same principle, to obtain the sampling scheme with 0 and 1, I used the PSF configuration and commented all lines between the two
tcsh...| nmrPipe  -fn TP -auto                             \

For the other problem of going back to Topspin, I converted nmrpipe data to python with nmrglue, where I can draw more easily than in nmrPipe. While I didn't do it, it should be possible to convert it once again to Topspin.
python... import nmrglue as ng

data_dir
='test.dat'

dic
, data = ng.pipe.read(data_dir)          # import data
udic
= ng.pipe.guess_udic(dic, data)        # convert to universal dictionary

Sincerely,
Guillaume

Reply all
Reply to author
Forward
0 new messages