Splice.m

From Spinach Documentation Wiki
Jump to: navigation, search

Merges timing tables of pulse sequence channels. Both timing tables should be given as row arrays of the following structure:

          A={A_1 A_2 ... A_n};   dtA=[dt_1 dt_2 ... dt_n];

where A_k is a spin operator and dt_k is the time for which it acts. The sequence is assumed to be executed chronologically from left to right. The two event sequences can be aligned left, right or centre with respect to one another. Syntax:

                 [C,dtC]=splice(A,dtA,B,dtB,alignment)