# Chirp pulse af.m

Chirp pulse waveform with a sine bell amplitude envelope in amplitude-frequency coordinates.

## Syntax

    [amps,frqs,durs]=chirp_pulse_af(npoints,duration,bandwidth,smfactor)


## Description

The pulse is normalised to achieve an inversion across the band.

## Arguments

    npoints     - number of discretization points in
the waveform

duration     - pulse duration, seconds

bandwidth     - chirp sweep bandwidth around
zero frequency, Hz

smfactor     - sine power to be used for the
amplitude envelope


## Returns

       amps     - row vector of pulse amplitudes

frqs     - row vector of pulse frequencies
at each point, Hz

durs     - row vector of pulse durations
at each point, seconds


## Examples

See shaped_pulse_5.m in examples/nmr_liquids for a common usage case.

## Notes

Note that pulse amplitudes are given in rad/s, but frequencies are given in Hz. This matches the syntax requirements of shaped_pulse_af.m function.