Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: fftserver.realtocomplexfft - Function Up: fftserver - Tool Previous: fftserver.complexfft - Function


fftserver.mfft - Function



Package utility
Module mathematics
Tool fftserver


mutiple Fourier transforms.


Synopsis
mfft(a, axes, forward)


Arguments

a   Complex array to transform
axes   axes to transform
    Allowed: Vector of Booleans
forward   Direction of the transform
    Allowed: T=forward, F=reverse
    Default: T


Returns
Complex array the same size as the input array


Description
This function does a complex Fourier transform along user selected axes of an N-dimensional array. Transforms are done along the axes where the axes vector is True. The axes vector must have the same number of elements as the number of dimensions in the input array.

Backward transforms are specified by setting the forward argument to False. The default is to do forward transforms.

The returned (transformed) array is the same shape as the input array.



Example
include 'fftserver.g'
server := fftserver();
a := array(0,3,4);
a[,] := 1;                   # set all elements to 1
b1 := server.mfft(a, [T,F]); # transform along axis 1 
b2 := server.mfft(a, [F,T]); # transform along axis 2
b := server.mfft(a, [T,T]);  # transform along both axes, ie., a 2-D transform.





next up previous contents index
Next: fftserver.realtocomplexfft - Function Up: fftserver - Tool Previous: fftserver.complexfft - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15