Difference between revisions of "Read wave.m"
(→Returns) |
(→Examples) |
||
| Line 27: | Line 27: | ||
==Examples== | ==Examples== | ||
A few examples are distributed with Spinach, see /kernel/pulses/pk_files directory. | A few examples are distributed with Spinach, see /kernel/pulses/pk_files directory. | ||
| + | |||
| + | ==See also== | ||
| + | [[shaped_pulse_af.m]], [[shaped_pulse_xy.m]], [[chirp_pulse_af.m]], [[chirp_pulse_xy.m]], [[step.m]] | ||
| + | |||
| + | |||
| + | ''Version 1.10, authors: [[Ilya Kuprov]], [[Konstantin Pervushin]]'' | ||
Revision as of 18:39, 15 July 2017
Reads JCAMP-DX pulse waveform files.
Syntax
[A,phi,Cx,Cy]=read_wave(filename,npoints)
Description
JCAMP-DX is a standard format in which pulse shaped are often distributed.
Arguments
filename - a string containing the name of the file
npoints - waveform upsampling or downsampling is
performed to this number of points
Returns
A - polar amplitude at each slice phi - polar phase at each slice, radians Cx - Cartesian amplitude in X at each slice Cy - Cartesian amplitude in Y at each slice
Examples
A few examples are distributed with Spinach, see /kernel/pulses/pk_files directory.
See also
shaped_pulse_af.m, shaped_pulse_xy.m, chirp_pulse_af.m, chirp_pulse_xy.m, step.m
Version 1.10, authors: Ilya Kuprov, Konstantin Pervushin