src/Pulses/PulMLEV.cc
/* ****************************************************************************
 
     There are 8 cycles associated with MLEV-8, as shown below
                       _ _ _     _
               U = R R R R R R R R           R = 90 180 90
                                                   x   y  x
 
     Each R represents a pulse waveform and the bar indicates a
     180 degree phase shift.  A MLEV-8 pulse train will employ R = MLEV
     which is just a composite 180 pulse.  The MLEV-8 cycle is simply the
     phi phi phi+180 phi+180 phi+180 phi phi phi+180 phase sequence.
 
******************************************************************************/


Each R represents a pulse waveform and the bar indicates a
180 degree phase shift.  A MLEV-8 pulse train will employ R = MLEV
which is just a composite 180 pulse.
Each R represents a pulse waveform and the bar indicates a 180 degree phase shift . A MLEV - 8 pulse train will employ R = MLEV which is just a composite 180 pulse .
row_vector CYC_MLEV8(double phi)
  {
  double phibar = phi+180.0;                    
  row_vector PTCsteps(8);                       
  PTCsteps.put(phi,    0);                      
  PTCsteps.put(phi,    1);
  PTCsteps.put(phibar, 2); 
  PTCsteps.put(phibar, 3); 
  PTCsteps.put(phibar, 4); 
  PTCsteps.put(phi,    5);
  PTCsteps.put(phi,    6);
  PTCsteps.put(phibar, 7); 
  return PTCsteps;
  }
row_vector CYC_MLEV8 ( double phi ) { double phibar = phi + 180.0 ; row_vector PTCsteps ( 8 ) ; PTCsteps . put ( phi , 0 ) ; PTCsteps . put ( phi , 1 ) ; PTCsteps . put ( phibar , 2 ) ; PTCsteps . put ( phibar , 3 ) ; PTCsteps . put ( phibar , 4 ) ; PTCsteps . put ( phi , 5 ) ; PTCsteps . put ( phi , 6 ) ; PTCsteps . put ( phibar , 7 ) ; return PTCsteps ; }
There are 8 cycles associated with MLEV-8, as shown below
_ _ _     _
U = R R R R R R R R           R = 90 180 90
x   y  x
There are 8 cycles associated with MLEV - 8 as shown below _ _ _ _ U = R R R R R R R R R = 90 180 90 x y x
// Input        void    : None //              phi     : Phase angle (degrees) // Output       PCyc    : MLEV-8 pulse cycle // Phase of "barred" steps  // Cycle vector{ phi }  // Set cycle phase values