Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How create new command for VnmrJ command line? #140

Open
trigchen opened this issue Nov 3, 2017 · 9 comments
Open

How create new command for VnmrJ command line? #140

trigchen opened this issue Nov 3, 2017 · 9 comments

Comments

@trigchen
Copy link

trigchen commented Nov 3, 2017

vnmrc source code user guide
I want to do some specific fid and spectra manipulation in current experiment.
How can I write a new command which can be run in VnmrJ command line?
I found there were a user guide for VNMR 6.1C source code (seen attachment). Is there anyone can share this document?

@tesch1
Copy link
Collaborator

tesch1 commented Nov 3, 2017

All the manuals are available at SpinSights (free login required) here: https://spinsights.chem.agilent.com/community/resources/manuals/content

You'll probably want the "VnmrJ 4 User Programming Reference Guide" : https://spinsights.chem.agilent.com/docs/DOC-2127

@NeutralKaon
Copy link

NeutralKaon commented Nov 3, 2017 via email

@trigchen
Copy link
Author

trigchen commented Nov 5, 2017

Thanks for the replies.
What I want to create is a built-in VNMR command which is the same as ft, aph, but not a MAGICAL macro.

@tesch1
Copy link
Collaborator

tesch1 commented Nov 5, 2017

Probably the easiest way to do this is to write an external program that does your transformation, and write a macro that saves the current data, runs your program on the saved data, and then loads the result.

@trigchen
Copy link
Author

trigchen commented Nov 5, 2017

external Unix program can't access the spectrum buffer in experiments.

@tesch1
Copy link
Collaborator

tesch1 commented Nov 5, 2017

the 'flush' command can be used to write it to disk

@trigchen
Copy link
Author

trigchen commented Nov 6, 2017

How about the processed FID before FFT to spectrum?

@DanIverson
Copy link
Member

Check the fidproc command. /Vnmr/manual/fidproc. It has many FID processing tools. One can also add built-in commands. See the file table.c in src/vnmrbg I can give more details when I return from my vacation on Nov. 17

@trigchen
Copy link
Author

Can anyone share the document "VNMR Source Code User Guide" (pdf format file) in the CD("VNMR 6.1 C Source Code") released with VNMR 6.1C ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants