Protocol: Pboxonepul  Sequence: pboxonepul.c  Apptype: solidseq1d

Description: 

   A test sequence for pbox shapes with SPINAL and TPPM decoupling. 
   this sequence does not do NMR - it is for testing shapes. 
  
Parameter Groups: 

90X:  Module:  no
Sequence:  onepul.c
Description:  Provides a 90-degree pulse on obs that can be used as a
              preparation pulse. Also used to store the obs calibration.
Parameters:  Channels Page
      aX90  - the amplitude of the pulse.
      pwX90 - the pulse length.


sft1A:  Module:  yes
Sequence:  pboxonepul.c
Description:  Implements a soft pulse with pBox with selection of any
              channel.
Parameters:  Sequence Page
       chAsft1 = 'obs','dec','dec2','dec3' selected in panel.
       wvAsft1 = pBox pulse waveshape from wavelib.
       aAsft1 - amplitude of pBox pulse.
       dbAsft1 - attenuator setting for pBox pulse.
       tAsft1 - predelay for pBox pulse.
       pwAsft1 - width of pBox pulse.
       phAsft1 - starting small angle phase adjust.
       stAsft1 - shape parameter  see pBox documentation
Implementation:  PBOXPULSE sft1 = getpboxpulse("sft1A",0);
              PBOXPULSE shp2 = getpboxpulse("sft2A",0);
              PBOXPULSE shp3 = getpboxpulse("sft3A",0);
Underscore function: _pboxpulse(sft1,phAsft1);
              _pboxsimpulse(sft1,sft2,phAsft1,phAsft2);
              _pboxsim3pulse(sft1,sft2,sft3,phAsft1,phAsft2,phAsft3);
Notes:  No two shapes can be defined on the same channel.  phAsft1
             (and 2 or 3) is the overall  phase table for the shape.
             _pboxsimpulse and _pboxsim3pulse cannot accept shapes on
             dec3.

90X: Provides a 90-degree pulse on OBS that can be used as  
     a preparation pulse. 90X is also used to store the OBS
     calibration. 

      Parameters are located on the Channels page. 
         aX90  - the amplitude of the pulse.
         pwX90 - the pulse length. 

sft1A: Implements a soft pulse with pBox with selection of any 
       channel (also sft2A and sft3A). 

       Parameters are located on the Sequence page.
         chAsft1 = 'obs','dec','dec2','dec3' selected in panel.
         wvAsft1 = pBox pulse waveshape from wavelib.
         aAsft1 - amplitude of pBox pulse.
         dbAsft1 - attenuator setting for pBox pulse.
         tAsft1 - predelay for pBox pulse.  
         pwAsft1 - width of pBox pulse.  
         phAsft1 - starting small angle phase adjust.       
         stAsft1 - shape parameter - pBox documentation        

      Implementation:  PBOXPULSE shp1 = getpboxpulse("sft1A",0);
                       PBOXPULSE shp2 = getpboxpulse("sft2A",0);
                       PBOXPULSE shp3 = getpboxpulse("sft3A",0);
      Underscore function: _pboxpulse(shp1,phAsft1);
                           _pboxsimpulse(shp1,shp2,phAsft1,phAsft2);
                           _pboxsim3pulse(shp1,shp2,shp3,phAsft1,phAsft2,phAsft3);

      Note: No two shapes can be defined on the same channel. An 
            error message will result. phAsft1 is the phase 
            table for the shape. _pboxsimpulse and _pboxsim3pulse
            cannot accept shapes on dec3. An error message will 
            result. 

Hseq:  Module:  yes 
Sequence:  tancpx.c      
Description: Chooses SPINAL or TPPM decoupling on the dec channel 
             during acquisition.
Parameters:  Sequence Page - the Hspinal and Htppm groups overlap.
       Hseq - chooses the decoupling sequence, TPPM or SPINAL. 
Implementation:  DSEQ dec = getdseq("H");  The router implements 
             getspinal() or gettppm(). 
Underscore functions: _dseqon(dec); runs _tppm(); or _spinal();_
             dseqoff(dec); runs decprgoff();  

Hspinal:  Module:  yes 
Sequence: tancpx.c  
Description:  Implements SPINAL decoupling on the dec channel during 
              acquisition.  
Parameters:  Sequence Page
       aHspinal - amplitude of the dec channel. 
       pwHspinal - approximate 180-degree flip angle on resonance. 
       phHspinal - +/- small angle phase. SPINAL64 is implemented 
              with phases = +/- 1.0, +/- 1.5 and +/-2.0 times 
              phHspinal. 
       chHspinal = 'dec' must be set (not shown).
Implementation: SPINAL dec = getspinal("H"); or DSEQ dec = 
              getdseq("H");  
Underscore functions: _spinal(dec); and decprgoff(); or 
             _dseqon(dec); and _dseqoff(dec);   

Htppm:  Module:  yes 
Sequence:  tancpx.c      
Description:  Implements TPPM decoupling on the dec channel during 
              acquisition.  
Parameters:  Sequence Page
       aHtppm - amplitude of the dec channel. 
       pwHtppm - approximate 180-degree flip angle on resonance. 
       phHtppm - +/- small angle phase. TPPM is implemented 
              with phases = +/- 1.0 times phHtppm for alternating 
              pulses.  
       chHtppm = 'dec' must be set (not shown).
Implementation: TPPM dec = gettppm("H"); or DSEQ dec = getdseq("H");   
Underscore functions: _tppmon(dec); and decprgoff(); or _dseqon(dec);
              and _dseqoff(dec);
