SciPy 0.6.0 API Documentation Generated by Endo, 2007-10-17
Frequency-swept cosine generator.
Inputs:
t -- array to evaluate waveform at
f0, f1, t1 -- frequency (in Hz) of waveform is f0 at t=0 and f1 at t=t1
Alternatively, if f0 is an array, then it forms the coefficients of
a polynomial (c.f. numpy.polval()) in t. The values in f1, t1,
method, and qshape are ignored.
method -- linear, quadratic, or logarithmic frequency sweep
phi -- optional phase in degrees
qshape -- shape parameter for quadratic curve: concave or convex
Return a gaussian modulated sinusoid: exp(-a t^2) exp(1j*2*pi*fc)
If retquad is non-zero, then return the real and imaginary parts
(inphase and quadrature)
If retenv is non-zero, then return the envelope (unmodulated signal).
Otherwise, return the real part of the modulated sinusoid.
Inputs:
t -- Input array.
fc -- Center frequency (Hz).
bw -- Fractional bandwidth in frequency domain of pulse (Hz).
bwr -- Reference level at which fractional bandwidth is calculated (dB).
tpr -- If t is 'cutoff', then the function returns the cutoff time for when the
pulse amplitude falls below tpr (in dB).
retquad -- Return the quadrature (imaginary) as well as the real part of the signal
retenv -- Return the envelope of th signal.
Returns a periodic sawtooth waveform with period 2*pi which rises from -1 to 1 on the interval 0 to width*2*pi and drops from 1 to -1 on the interval width*2*pi to 2*pi width must be in the interval [0,1]
Returns a periodic square-wave waveform with period 2*pi which is +1 from 0 to 2*pi*duty and -1 from 2*pi*duty to 2*pi duty must be in the interval [0,1]
| Local name | Refers to |
|---|---|
| asarray | numpy.asarray |
| cos | numpy.cos |
| exp | numpy.exp |
| extract | numpy.extract |
| log | numpy.log |
| log10 | numpy.log10 |
| mod | numpy.mod |
| nan | numpy.nan |
| pi | numpy.pi |
| place | numpy.place |
| polyint | numpy.polyint |
| polyval | numpy.polyval |
| sin | numpy.sin |
| size | numpy.size |
| sqrt | numpy.sqrt |
| zeros | numpy.zeros |