next up previous
Next: 0.5 General Description of Up: Nader's Page: Training Previous: 0.3 Basic Unix Knowledge


0.4 How Vnmr(J) uses files/directories while working

Before starting to use Vnmr(J) you must understand how it works with directories and file systems. If you type /vnmr/bin/vnmrj the program will be openned in your currrent directory. If you type pwd (print work directory) in the VnmrJ prompt, you will see this directory. Opening or saving files will be done relative to your current directory. For example, typing this in the Vnmr(J) prompt:

pwd
answer: /home/user/vnmr1
svf('data/spectrum1')

will save the currently loaded or aquired spectrum to the file spectrum1.fid in the directory /home/user/vnmr1/data. The currently loaded spectrum is in a temporary directory called $HOME/vnmrsys/expN, where N is 1, 2, 3 ... In the Vnmr(J) desktop it is shown ExpN just below the prompt line to indicate which workspace is in use in the moment. Make sure you know the difference between the working directory (given by the command pwd) and the workspace (e.g. Exp1, stored in /home/user/vnmr1/vnmrsys/exp1). Vnmr(J) works with several experiments at the same time by keeping them in different workspaces. This files inside workspaces are temporary and will be overwriden when you load/acquire a new experiment at that workspace. To know which workspaces exist and data about the experiment in each of them, type explib in the Vnmr(J) prompt. In VnmrJ you must click \fbox{Process} and \fbox{Text Output} in the desktop to see the text box with this information. To change to workspace Exp3 type jexp3.

Don't forget the expN workspaces are temporary, if you want to save the spectrum use svf, and don't save it in any expN directory.

When you save with svf a spectrum, you are actually saving a directory with contents similar to the workspace you are working at the moment. The workspace directories are listed like $HOME/vnmrsys/expN. Important files/directoryes into them are

procpar
contains parameters used to acquire and process
curpar
more parameters
fid
contains the FID (binary)
log
the acquisition log. Start, end ...
text
Your comments, written by the command text('my private expt') from the Vnmr(J) prompt or by editing the file direcly with you prefered editor.

next up previous
Next: 0.5 General Description of Up: Nader's Page: Training Previous: 0.3 Basic Unix Knowledge
Back to Home Page