Loading Varian FID files into Medx



Processing data acquired using conventional sequences


Advanced processing options

Loading a small set of volumes from a large set

Loading all the images in the series

Turning off some of the processing options

Loading the images as floats or complex data

Using a different EPI phase correction scheme or reference scan

Searching the parameter file or changing image dimensions

Saving the image to an AVW file of specified name

Running one of the advanced options available to load varian


Running LoadVarian from a tcl script

Two functions are available for loading Varian data as part of a tcl script. The first is easier to call, but makes certain assumptions about the data, and what processing is needed. It is the equivelent of just entering the filename in the Load Varian dialog box and pressing OK. If your data does not process properly in this way then you need to use the second function described below.

LoadVarian

load_varian_proc

   
Usage:
load_varian_proc $filename $process $phasecor $refname $constrain \
                 $baseline $2dft $orient $resl $rot $scsl $pss $fmt $bits \
		 $load $from $to
   
Parameters:
$filename  - Full filename to process (without .fid)
$process   - "ms" (multislice) or "epi"
$phasecor  - "" (none), "ref" (ref scan), "buo" (self ref)
$refname   - Filename of reference scan or ""
$constrain - "" (none), "lin" (linear), "poly" (polynomial) 
$baseline  - 1 or 0
$2dft      - 1 or 0
$orient    - 1 or 0
$resl      - 1 or 0
$rot       - 1 or 0
$scsl      - 1 or 0 
$pss       - 1 or 0
$fmt       - "mod" (modulus) or "cplx" (complex)
$bits      - "short" or "float"
$load      - "all" or "part"
$from      - n
$to        - n
   
Returns:
0 if successful 1 otherwise
   
Summary:
Processes Varian data (multislice or epi) using the supplied parameters.

Stuart Clare 21.5.99