src/Pulses/PulWALTZ.cc
/******************************************************************************

     A WALTZ-8 pulse cycle is given by
         _ _     _ _ _    _ _     _  _   _ _ _
   U = K K K K = 24231 * 24231 * 24231 * 24231     K = 180  360 180  270  90
                                                          -x   x   -x   x   -x

     Each K represents a pulse waveform and the bar indicates a
     180 degree phase shift.  A WALTZ8 pulse train will employ K = WALTZ-K

******************************************************************************/


Each K represents a pulse waveform and the bar indicates a
180 degree phase shift.  A WALTZ8 pulse train will employ K = WALTZ-K
Each K represents a pulse waveform and the bar indicates a 180 degree phase shift . A WALTZ8 pulse train will employ K = WALTZ - K
row_vector CYC_WALTZ8(double phi)
  {
  double phibar = phi+180.0;			
  row_vector PTCsteps(4);			
  PTCsteps.put(phi,    0);			
  PTCsteps.put(phibar, 1);
  PTCsteps.put(phibar, 2);
  PTCsteps.put(phi,    3);
  return PTCsteps;
  }
row_vector CYC_WALTZ8 ( double phi ) { double phibar = phi + 180.0 ; row_vector PTCsteps ( 4 ) ; PTCsteps . put ( phi , 0 ) ; PTCsteps . put ( phibar , 1 ) ; PTCsteps . put ( phibar , 2 ) ; PTCsteps . put ( phi , 3 ) ; return PTCsteps ; }
A WALTZ-8 pulse cycle is given by
_ _     _ _ _    _ _     _  _   _ _ _
U = K K K K = 24231 * 24231 * 24231 * 24231     K = 180  360 180  270  90
x   x   -x   x   -x
A WALTZ - 8 pulse cycle is given by _ _ _ _ _ _ _ _ _ _ _ _ U = K K K K = 24231 * 24231 * 24231 * 24231 K = 180 360 180 270 90 x x - x x - x
// Input             sys   : Spin system //                   H     : Static Hamlitonian without the field //                   Iso   : Isotope channel the field is on //                   gamB1 : The rf-field strength (Hz) // Output            U     : Propagator for an WALTZ-8 sequence //                           about the axis specified by phi // Note                    : This propagator assumes one is in //                           the rotating frame of the rf-field // Phase of "barred" steps // Cycle vector{ phi } // Set cycle phase values