restrans.m

From Spinach Documentation Wiki
Jump to: navigation, search

Resonator transform - converts a waveform from its ideal shape that is emitted by the instrument into the real shape that makes it through the resonant circuit of the probe. Phase-insensitive linear response with an exponential convolution kernel is assumed.

Syntax

    [time_grid_out,pulse_out]=restrans(time_grid_in,pulse_amp_in,tau)

Arguments

      time_grid_in   - a row vector of time values for each point
                       in the input waveform

      pulse_amp_in   - a row vector containing the pulse waveform
                       amplitudes issued by the console

      tau            - characteristic time of the probe circuit

Outputs

      time_grid_out  - a row vector of time values for each point
                       in the input waveform, calculated as the
                       input grid with 5*tau appended to it

      pulse_amp_out  - a row vector containing the pulse waveform
                       amplotudes seen by the sample in the probe

Examples

The following output is produced by fundamentals/restrans_test.m example file:

Restrans.png

Notes

The more accurate phase-sensitive version of this transform is published in (http://dx.doi.org/10.1016/j.jmr.2015.12.014) - it is on our todo list, please get in touch of you need it.

See also

optimcon.m, shaped_pulse_af.m, shaped_pulse_xy.m, pulse_shape.m, read_wave.m


Version 2.2, authors: Ilya Kuprov