Protocol: Hxtm5ct2ds  Sequence: hxtm5ct2ds.c  Apptype: solidseq1d

Description:  A sequence to do constant time HX correlation using
              Transverse MREV8 with a cycle of 5 elements on H with
              MPSEQ SPINAL and TPPM Decoupling.

Additional Software:

reset_tm5 - Uses aH90 and pwH90 calibrations to set the values of
            Transverse MREV and the recommended spin rate.

Parameter Groups:

90H:  Module:  no
Sequence:  tancpx.c
Description:  Provides a 90-degree pulse on dec that can be used 
              as a preparation pulse. Also used to store the dec 
              calibration.
Parameters:  Channels Page
       aH90  - the amplitude of the pulse.
       pwH90 - the pulse length.

cpHX:  Module:  yes
Sequence:  tancpx.c
Description:  Implements constant, linear or tangent-ramped cross
              polarization from dec to obs.
Parameters:  Sequence Page
       shHX - 'c', constant, 'l', linear and 't', tangent shape on
               the channel designated with chHX. 
       chHX - the variable-amplitude channel, 'fr' from or 'to', to.
       aHhx - median amplitude of the dec channel.
       aXhx - median amplitude of the obs channel.
       bHX -  +/- tangent curvature (>0 to 1.0e5).
       dHX -  amplitude width of the ramp. A negative width sets a
              ramp that starts high and decreases in amplitude.
       tHX -  contact time
       ofHX - overall offset on the variable channel
       frHX = 'dec' -  channel with the initial polarization (must
              be set - not shown).
       toHX = 'obs' -  channel with the final polarization (must be
              set - not shown).
Implementation:  CP hx = getcp("HX",0.0,0.0,0,1);
Underscore functions: _cp_(hx,phHhx,phXhx);

spnlH:  Module:  yes
Sequence:  tancpxs.c
Description:  Implements TPPM, SPINAL16 SPINAL32 and SPINAL64 as a
              MPSEQ. Used as an alternate to the DSEQ router.
Parameters:  Sequence Page
       aHspnl - amplitude of SPINAL or TPPM.
       pwHspnl - approximate 180-degree flip on dec.
       nHspnl - 2 for TPPM, 16, 32, 64 for SPINAL.
       qHspnl - Number of PULSES (not cycles!) in the .DEC file.
       ph1Hspnl - TPPM +/- phase, "phi".
       ph2Hspnl - additional SPINAL phase, "alfa".
       ofHspnl - overall frequency offset.

The Basic SPINAL cycle Q is: [(phi),(-phi)],(phi+alfa),(-phi-alfa),(phi+2alpha),
                             (-phi-2alpha),(phi+alfa),(-phi-alpha). Note that
                             the first two elements [(phi),(-phi)] are TPPM.
SPINAL repeats with: [[Q-Q]-QQ]-QQQ-Q]. where the [] include 16,32 and 64 pulses.
                     The "Supercycle" of this SPINAL is one PULSE, (not Q).
Implementation: MPSEQ spnl = getspnl("spnlH",0,0.0,0.0,0,1);
Underscore functions: _MPSEQ functions.

spnlmH:  Module:  yes
Sequence:  hxtm517ct2ds.c
Description:  Implements TPPM, SPINAL16 SPINAL32 and SPINAL64 as a
              MPSEQ. Used during F1 and mixing periods. Used as an
              alternate to the DSEQ router.
Parameters:  Sequence Page
       aHspnlm - amplitude of SPINAL or TPPM.
       pwHspnlm - approximate 180-degree flip on dec.
       nHspnlm - 2 for TPPM, 16, 32, 64 for SPINAL.
       qHspnlm - Number of PULSES (not cycles!) in the .DEC file.
       ph1Hspnlm - TPPM +/- phase, "phi".
       ph2Hspnlm - additional SPINAL phase, "alfa".
       ofHspnlm - overall frequency offset.

The Basic SPINAL cycle Q is: [(phi),(-phi)],(phi+alfa),(-phi-alfa),(phi+2alpha),
                             (-phi-2alpha),(phi+alfa),(-phi-alpha). Note that
                             the first two elements [(phi),(-phi)] are TPPM.
SPINAL repeats with: [[Q-Q]-QQ]-QQQ-Q]. where the [] include 16,32 and 64 pulses.
                     The "Supercycle" of this SPINAL is one PULSE, (not Q).
Implementation: MPSEQ spnlm = getspnlm("spnlmH",0,0.0,0.0,0,1);
Underscore functions: _MPSEQ functions.

tm5H:  Module:  yes
Sequence:  presto1cp.c
Description:  Implements the Transverse MREV recoupling sequence on the dec
              channel.
Parameters:  Sequence Page
       aHtm5 - amplitude of dec pulses.
       pwHtm5 - 360-degree flip on dec.
       qHtm5 - tm5 cycles represented in the .DEC file.
       ofHtm5 - overall frequency offset.
       chHtm5 = 'dec' must be set (not shown).
Implementation: MPSEQ tm5 = gettmrev5("tm5H",0,0.0,0.0,0,1);
Underscore functions: _MPSEQ functions.

180X:  Module:  no
Sequence:  twopul.c
Description:  Provides a 180-degree pulse on obs that can be used as an
              inversion or a refocussing pulse.
Parameters:  Sequence Page
      aX180 -  the amplitude of the pulse.
      pwX180 - the pulse length.

tconst: is the constant length of the refocussing period. d2 is contained 
        in the first delay.


