Difference between revisions of "Vg pulse.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Veshtort-Griffin shaped pulses, generated from tables given in http://dx.doi.org/10.1002/cphc.200400018 There are good reasons to believe (see Section 2.2 of the...")
 
Line 1: Line 1:
−
Veshtort-Griffin shaped pulses, generated from tables given in
+
{{DISPLAYTITLE:function.m}} __NOTOC__
 +
Veshtort-Griffin shaped pulses, generated from tables given in (http://dx.doi.org/10.1002/cphc.200400018). There are good reasons to believe (see Section 2.2 of the paper) that these are the best possible pulses within their design specifications and basis sets.
  
−
            http://dx.doi.org/10.1002/cphc.200400018
+
==Syntax==
  
−
There are good reasons to believe (see Section 2.2 of the paper) that
+
    waveform=vg_pulse(pulse_name,npoints,duration)
−
these are the best possible pulses within their design specifications
 
−
and basis sets. Syntax:
 
  
−
              waveform=vg_pulse(pulse_name,npoints,duration)
+
==Arguments==
  
−
The input should specify a pulse duration (in seconds), which is used
+
    pulse_name - a character string, one of the following: E0A,  
−
for normalization. The output is the amplitude of the waveform (there
+
                  E0B, E100A, E100B, E200A, E200D, E200F, E300C,
−
is no phase modulation), in radians per second, normalized to produce
+
                  E300F, E400B, E300A, E500A, E500B, E500C, E600A,
−
a 90-degree pulse. The following pulse names are available: E0A, E0B,
+
                  E600C, E600F, E800A, E800B, E1000B
−
E100A, E100B, E200A, E200D, E200F, E300C, E300F, E400B, E300A, E500A,
+
−
E500B, E500C, E600A, E600C, E600F, E800A, E800B, E1000B.
+
    npoints    - number of discrete time intervals in the pulse
 +
 +
    duration  - duration of the pulse, seconds
 +
 
 +
==Outputs==
 +
 
 +
    waveform  - amplitude of the pulse at each interval (there
 +
                  is no phase modulation), normalised to produce
 +
                  a 90-degree pulse, rad/s
 +
 
 +
==Examples==
 +
 
 +
  >> t=linspace(0,1e-3,1000);
 +
  >> w=vg_pulse('E800B',1000,1e-3);
 +
  >> plot(t,w);
 +
 
 +
[[File:vg_pulse.png]]
 +
 
 +
==See also==
 +
[[chirp_pulse_xy.m]], [[chirp_pulse_af.m]], [[pulse_shape.m]], [[sawtooth.m]], [[triwave.m]], [[shaped_pulse_xy.m]], [[shaped_pulse_af.m]]
 +
 
 +
 
 +
''Version 2.4, authors: [[Ilya Kuprov]]''

Revision as of 16:58, 18 July 2019

Veshtort-Griffin shaped pulses, generated from tables given in (http://dx.doi.org/10.1002/cphc.200400018). There are good reasons to believe (see Section 2.2 of the paper) that these are the best possible pulses within their design specifications and basis sets.

Syntax

    waveform=vg_pulse(pulse_name,npoints,duration)

Arguments

    pulse_name - a character string, one of the following: E0A, 
                 E0B, E100A, E100B, E200A, E200D, E200F, E300C,
                 E300F, E400B, E300A, E500A, E500B, E500C, E600A,
                 E600C, E600F, E800A, E800B, E1000B

    npoints    - number of discrete time intervals in the pulse

    duration   - duration of the pulse, seconds

Outputs

    waveform   - amplitude of the pulse at each interval (there
                 is no phase modulation), normalised to produce
                 a 90-degree pulse, rad/s

Examples

  >> t=linspace(0,1e-3,1000);
  >> w=vg_pulse('E800B',1000,1e-3);
  >> plot(t,w);

Vg pulse.png

See also

chirp_pulse_xy.m, chirp_pulse_af.m, pulse_shape.m, sawtooth.m, triwave.m, shaped_pulse_xy.m, shaped_pulse_af.m


Version 2.4, authors: Ilya Kuprov