Difference between revisions of "Ctrl trajan.m"
(Created page with "{{DISPLAYTITLE:ctrl_trajan.m}} Diagnostic plotting function for optimal control toolbox. Plots trajectory and control pulse analysis. ==Syntax== ctrl_trajan(spin_syste...") |
(→Arguments) |
||
| Line 14: | Line 14: | ||
waveform - waveform, as supplied to a user-end | waveform - waveform, as supplied to a user-end | ||
function, such as grape_xy.m | function, such as grape_xy.m | ||
| − | + | ||
trajectory - spin system trajectory, a stack of | trajectory - spin system trajectory, a stack of | ||
complex vectors | complex vectors | ||
| − | + | ||
fidelities - fidelities array, as returned by | fidelities - fidelities array, as returned by | ||
user-end functions, such as grape_xy | user-end functions, such as grape_xy | ||
Revision as of 09:58, 20 September 2017
Diagnostic plotting function for optimal control toolbox. Plots trajectory and control pulse analysis.
Syntax
ctrl_trajan(spin_system,waveform,trajectory,fidelities)
Description
This function is called internally by the optimal control module, you should not be calling it directly. All settings should be specified in the call to optimcon.m when the optimal control problem is set up.
Arguments
waveform - waveform, as supplied to a user-end
function, such as grape_xy.m
trajectory - spin system trajectory, a stack of
complex vectors
fidelities - fidelities array, as returned by
user-end functions, such as grape_xy
Returns
The function plots a graph similar to the one below.
Examples
See the optimal control examples in the standard example set - all of them make use of this function indirectly when they are calling Spinach optimal control functionality.
See also
grape_xy.m, grape_ap.m, optimcon.m, trajan.m, trajsimil.m
Version 2.0, authors: Ilya Kuprov, David Goodwin