Difference between revisions of "Fapt2sfo.m"
(Update function See also links and function index membership) |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:fapt2sfo.m}} __NOTOC__ | {{DISPLAYTITLE:fapt2sfo.m}} __NOTOC__ | ||
| − | Converts a freq-ampl-phase-time specification of a pulse | + | Converts a freq-ampl-phase-time specification of a pulse sequence into the corresponding single frequency origin waveform that is compatible with GRAPE optimisations. |
==Syntax== | ==Syntax== | ||
| Line 6: | Line 6: | ||
[wave,dt,time_grid]=fapt2sfo(fapt,time_grid) | [wave,dt,time_grid]=fapt2sfo(fapt,time_grid) | ||
| − | == | + | ==Parameters== |
fapt - a cell array of 5-element row vectors with of | fapt - a cell array of 5-element row vectors with of | ||
| Line 29: | Line 29: | ||
==See also== | ==See also== | ||
| − | [[Optimal control module]] | + | [[bruker_write.m]], [[ctrl_trajan.m]], [[heterodyne.m]], [[inst_freq.m]], [[read_wave.m]], [[Optimal control module]] |
| − | |||
''Version 2.9, authors: [[Ilya Kuprov]]'' | ''Version 2.9, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 19:36, 6 June 2026
Converts a freq-ampl-phase-time specification of a pulse sequence into the corresponding single frequency origin waveform that is compatible with GRAPE optimisations.
Syntax
[wave,dt,time_grid]=fapt2sfo(fapt,time_grid)
Parameters
fapt - a cell array of 5-element row vectors with of
the following structure: [frequency (Hz), amp-
litude (rad/s), phase at t=0 (radians), start
time (seconds), end time (seconds)]
time_grid - optional vector of time grid ticks; when
not provided, the grid is made at twice
the Nyquist-Shannon minimum sampling ra-
te of the highest frequency present
Outputs
wave - pulse sequence as a single waveform, a matrix
with two rows, corresponding to X and Y compo-
nents
dt - step duration of the time grid, seconds
time_grid - row vector of time grid ticks
See also
bruker_write.m, ctrl_trajan.m, heterodyne.m, inst_freq.m, read_wave.m, Optimal control module
Version 2.9, authors: Ilya Kuprov