hFFTWExecutePlan(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(complex, N)
>>> y = cr.hArray(complex, N)
>>> # Create plan
>>> p = cr.FFTWPlanManyDft(N, 1, 1, 1, 1, 1, cr.fftw_sign.FORWARD, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlan(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(float, N)
>>> y = cr.hArray(complex, N/2+1)
>>> # Create plan
>>> p = cr.FFTWPlanManyDftR2c(N, 1, 1, 1, 1, 1, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlan(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(complex, N/2+1)
>>> y = cr.hArray(float, N)
>>> # Create plan
>>> p = cr.FFTWPlanManyDftC2r(N, 1, 1, 1, 1, 1, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlanRC(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(complex, N)
>>> y = cr.hArray(complex, N)
>>> # Create plan
>>> p = cr.FFTWPlanManyDft(N, 1, 1, 1, 1, 1, cr.fftw_sign.FORWARD, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlanCR(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(complex, N)
>>> y = cr.hArray(complex, N)
>>> # Create plan
>>> p = cr.FFTWPlanManyDft(N, 1, 1, 1, 1, 1, cr.fftw_sign.FORWARD, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlan(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(complex, N)
>>> y = cr.hArray(complex, N)
>>> # Create plan
>>> p = cr.FFTWPlanManyDft(N, 1, 1, 1, 1, 1, cr.fftw_sign.FORWARD, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlan(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(float, N)
>>> y = cr.hArray(complex, N/2+1)
>>> # Create plan
>>> p = cr.FFTWPlanManyDftR2c(N, 1, 1, 1, 1, 1, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlan(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(complex, N/2+1)
>>> y = cr.hArray(float, N)
>>> # Create plan
>>> p = cr.FFTWPlanManyDftC2r(N, 1, 1, 1, 1, 1, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlan(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(complex, N)
>>> y = cr.hArray(complex, N)
>>> # Create plan
>>> p = cr.FFTWPlanManyDft(N, 1, 1, 1, 1, 1, cr.fftw_sign.FORWARD, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlan(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(float, N)
>>> y = cr.hArray(complex, N/2+1)
>>> # Create plan
>>> p = cr.FFTWPlanManyDftR2c(N, 1, 1, 1, 1, 1, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTWExecutePlan(out, in, plan)
Executes an FFTW plan.
Parameters
out Return vector in which the FFT transformed data is stored. in Input vector to make the FFT from. plan FFTW plan.
Example
>>> # Set up input/output arrays
>>> x = cr.hArray(complex, N/2+1)
>>> y = cr.hArray(float, N)
>>> # Create plan
>>> p = cr.FFTWPlanManyDftC2r(N, 1, 1, 1, 1, 1, cr.fftw_flags.ESTIMATE)
>>> # Execute plan
>>> cr.hFFTWExecutePlan(y, x, p)
hFFTConvert(vec)
Convert between CASA and FFTW definitions for FFT
Parameters
vec
hFFTWResample(out, in)
Resample input vector to output vector length using FFTW
Parameters
out Output vector in Input vector
hFFTWDownsample(out, in)
Resample input vector to output vector length using FFTW
Parameters
out Output vector in Input vector