src/Pulses/PulComposite.cc
/* These functions allow for the filling up an array of Hamiltonians (Hsteps)
   for each step in the waveform.  These are typically generated during
   construction of the composite pulse as they are spin system dependent.
   Equivalent steps in a waveform will share the same Hamiltonians as indexed
   in the integer array Hindex.                                              */
These functions allow for the filling up an array of Hamiltonians (Hsteps)
for each step in the waveform.  These are typically generated during
construction of the composite pulse as they are spin system dependent.
Equivalent steps in a waveform will share the same Hamiltonians as indexed
in the integer array Hindex.
These functions allow for the filling up an array of Hamiltonians ( Hsteps ) for each step in the waveform . These are typically generated during construction of the composite pulse as they are spin system dependent . Equivalent steps in a waveform will share the same Hamiltonians as indexed in the integer array Hindex .
void PulComposite::SetHs(const spin_system& sys)
  {
  gen_op H = Ho(sys);				
  gen_op FX = Fx(sys,Iso);			
  gen_op FY = Fy(sys,Iso);			
  gen_op FZ = Fz(sys,Iso);			
  SetHs(H, FX, FY, FZ);				
  }
void PulComposite :: SetHs ( const spin_system & sys ) { gen_op H = Ho ( sys ) ; gen_op FX = Fx ( sys , Iso ) ; gen_op FY = Fy ( sys , Iso ) ; gen_op FZ = Fz ( sys , Iso ) ; SetHs ( H , FX , FY , FZ ) ; }
These functions allow for the filling up an array of Hamiltonians (Hsteps)
for each step in the waveform.
These functions allow for the filling up an array of Hamiltonians ( Hsteps ) for each step in the waveform .
// Input                CPul    : A composite pulse (this) //                      sys     : A spin system // Output               void    : Effective Hamiltonians for all of the //                                composite pulse steps are generated // Note                         : Will delete any stored propagators //                                propagators for the waveform // Note                         : Assumes H is Ho and that it needs //                                F(X,Y,Z) for offsets and phasing. // Note                         : ASSUMES PULSE CHANNEL SET // The isotropic Hamiltonian // Spin operators for the // rf-field on the axes // Spin operator for phasing // Use overload