src/GamIO/XWin1D.cc
/* These functions will read an entire Bruker XWinNMR 1D Data Set. 

                           __ acqu  (changable parameter file)
			  / 
                         /___ acqus (static parameter file)
			/
   expname -- expnum --< ---- fid (binary data)
			\
			 \--- pdata -- 1 -- proc, procs, 1r, 1i, meta, outd

   Here expname is the base directory containing the data set. The number
   expnum is the experiment number an will defaul to 1. The acquisition
   parameters are taken from the file acqus and the acquisition binary
   points from fid.  The processed data, if accessed, will come from the
   parameter files procs, meta, etc. and binary data files 1r and 1i.

   Function                               Purpose
  ----------        --------------------------------------------------------

    readFID         Read in data set FID for class object.  This is done
		    special for both parameters in ASCII files and for
		    binary data. Since Bruker parameter format differs
		    from GAMMA parameter format all their parameter files
		    must be parsed appropriately. Similarly, their binary
		    data format is specific to XWinNMR and must be read in
		    accordingly. Parameters that relate to processed 1D data
		    are ignored (i.e. we only deal with acqus & fid).
  parsePSet         Converts parameters in internal pset to specific values
   getPar           Returns parameter found in the parameter set herein 
                    This function is inherited from base class XWinPSet.     */
These functions will read an entire Bruker XWinNMR 1D Data Set.
acqu  (changable parameter file)

acqus (static parameter file)



Here expname is the base directory containing the data set. The number
expnum is the experiment number an will defaul to 1. The acquisition
parameters are taken from the file acqus and the acquisition binary
points from fid.  The processed data, if accessed, will come from the
parameter files procs, meta, etc. and binary data files 1r and 1i.

Function                               Purpose

readFID         Read in data set FID for class object.  This is done
special for both parameters in ASCII files and for
binary data. Since Bruker parameter format differs
from GAMMA parameter format all their parameter files
must be parsed appropriately. Similarly, their binary
data format is specific to XWinNMR and must be read in
accordingly. Parameters that relate to processed 1D data
are ignored .
parsePSet         Converts parameters in internal pset to specific values
getPar           Returns parameter found in the parameter set herein
This function is inherited from base class XWinPSet.
These functions will read an entire Bruker XWinNMR 1D Data Set . acqu ( changable parameter file ) acqus ( static parameter file ) Here expname is the base directory containing the data set . The number expnum is the experiment number an will defaul to 1 . The acquisition parameters are taken from the file acqus and the acquisition binary points from fid . The processed data if accessed will come from the parameter files procs meta etc . and binary data files 1r and 1i . Function Purpose readFID Read in data set FID for class object . This is done special for both parameters in ASCII files and for binary data . Since Bruker parameter format differs from GAMMA parameter format all their parameter files must be parsed appropriately . Similarly their binary data format is specific to XWinNMR and must be read in accordingly . Parameters that relate to processed 1D data are ignored . parsePSet Converts parameters in internal pset to specific values getPar Returns parameter found in the parameter set herein This function is inherited from base class XWinPSet .
int XWin1D::read(const string& dirin, int aidx, int pidx, int warn)
  {
  dname = dirin;
  Aidx = aidx;
  Pidx = pidx;
  return read(warn);
  }
int XWin1D :: read ( const string & dirin , int aidx , int pidx , int warn ) { dname = dirin ; Aidx = aidx ; Pidx = pidx ; return read ( warn ) ; }
These functions will read an entire Bruker XWinNMR 1D Data Set.
These functions will read an entire Bruker XWinNMR 1D Data Set .