# Intrep.m

Interaction representation transformation with respect to a specified Hamiltonian to specified order in perturbation theory. Syntax:

    Hr=intrep(spin_system,H0,H,T,order)


Parameters:

   H0     - the Hamiltonian with respect to which the
interaction representation transformation
is to be done

   H      - laboratory frame Hamiltonian H0+H1 that is
to be transformed into the interaction rep-
resentation

   T      - period of the H0 propagator

   order  - perturbation theory order in the rotating
frame transformation


Revision 3250, authors: Ilya Kuprov