src/Pulses/PulSinc.cc
/* These functions read in Sinc pulse parameters from an external ASCII file 
   (a GAMMA parameter set file).   
 
     Function                 Purpose                     Parameters Read 
  ---------------  -------------------------------  ---------------------------
  SincSteps        Reads in # of Sinc pulse steps          SincSteps
  SincNode         Reads in Sinc pulse end node            SincNode
  SincStrength     Reads in Sinc pulse strength     SincAng, SincLen, SincGamB1
  SincSelectivity  Reads in Sinc pulse selectivity   SincSpin, SincW, SincIso
  SincPhase        Reads in Sinc pulse phase               SincPhi
  ReadSinc         Reads in Sinc pulse                                       */
These functions read in Sinc pulse parameters from an external ASCII file
(a GAMMA parameter set file).

Function                 Purpose                     Parameters Read

SincSteps        Reads in # of Sinc pulse steps          SincSteps
SincNode         Reads in Sinc pulse end node            SincNode
SincStrength     Reads in Sinc pulse strength     SincAng, SincLen, SincGamB1
SincSelectivity  Reads in Sinc pulse selectivity   SincSpin, SincW, SincIso
SincPhase        Reads in Sinc pulse phase               SincPhi
ReadSinc         Reads in Sinc pulse
These functions read in Sinc pulse parameters from an external ASCII file ( a GAMMA parameter set file ) . Function Purpose Parameters Read SincSteps Reads in # of Sinc pulse steps SincSteps SincNode Reads in Sinc pulse end node SincNode SincStrength Reads in Sinc pulse strength SincAng SincLen SincGamB1 SincSelectivity Reads in Sinc pulse selectivity SincSpin SincW SincIso SincPhase Reads in Sinc pulse phase SincPhi ReadSinc Reads in Sinc pulse
int SincSteps(const ParameterSet& pset, int idx, int pf)
  {
  ParameterSet::const_iterator item;         
  std::string pname, ssfile, pstate;                 
  std::string SI = std::string("(") + Gdec(idx)            
            + std::string(")");
  int npt;
  pname = std::string("SincSteps");			
  if(idx >= 0) pname += SI;                     
  item = pset.seek(pname);                      
  if(item != pset.end())
    (*item).parse(pname,npt,pstate);            
  else
    {
    if(pf)
      cout << "\n\tCant Find " << pname << " in "
           << "Parameter Set.  Setting 501 Sinc Steps";
    npt = 500;
    }
  return npt;
  }
int SincSteps ( const ParameterSet & pset , int idx , int pf ) { ParameterSet :: const_iterator item ; std :: string pname , ssfile , pstate ; std :: string SI = std :: string ( " " ) + Gdec ( idx ) + std :: string ( " " ) ; int npt ; pname = std :: string ( " " ) ; if ( idx >= 0 ) pname += SI ; item = pset . seek ( pname ) ; if ( item != pset . end ( ) ) ( * item ) . parse ( pname , npt , pstate ) ; else { if ( pf ) cout << " \n \t " << pname << " " << " " ; npt = 500 ; } return npt ; }
These functions read in Sinc pulse parameters from an external ASCII file
(a GAMMA parameter set file).
These functions read in Sinc pulse parameters from an external ASCII file ( a GAMMA parameter set file ) .
//                 Read The Number of Sinc Pulse Steps // A pix into parameter list // Items in each pset entry // Name adjustment if indexed // Number of Sinc steps // Adjust name if indexed // Pix in parameter list // Get Sinc steps