~ubuntu-branches/ubuntu/wily/eso-midas/wily-proposed

« back to all changes in this revision

Viewing changes to prim/help/fft_freq.hlq

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% @(#)fft_freq.hlq      19.1 (ESO-IPG) 02/25/03 14:03:20 
 
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
3
%.COPYRIGHT  (c)  1990 European Southern Observatory
 
4
%.IDENT      fft_freq.hlq
 
5
%.AUTHOR     KB, IPG/ESO
 
6
%.KEYWORDS   MIDAS, help files, FFT/FREQUENCY
 
7
%.PURPOSE    On-line help file for the command: FFT/FREQUENCY
 
8
%.VERSION    1.0  04-APR-1990 : Creation, KB
 
9
%.VERSION    1.1  26-OCT-1992 : Upgrade, KB
 
10
%----------------------------------------------------------------
 
11
\se
 
12
SECTION./FREQ
 
13
\es\co
 
14
FFT/FREQUENCY                                           26-OCT-1992  KB
 
15
\oc\su
 
16
FFT/FREQUENCY inr ini outr outi
 
17
        make discrete Fourier transform with frequency scaling
 
18
\us\pu
 
19
Purpose:
 
20
           Compute the discrete Fourier transform of real or complex frame
 
21
           and shift origin of frequency domain to center.
 
22
\up\sub
 
23
Subject:
 
24
           Transformation, filter.
 
25
\bus\sy
 
26
Syntax:       
 
27
           FFT/FREQUENCY inr ini outr outi
 
28
\ys\pa
 
29
           inr = frame containing the real part of input frame
 
30
\ap\pa
 
31
           ini = frame containing the imaginary part of input frame;
 
32
\\
 
33
                if input frame is real, omit parameter `ini' or set it to `?'
 
34
                if you enter values for any of the following parameters.
 
35
\ap\pa
 
36
           outr = frame for real part of result transform,
 
37
                defaulted to `fftr.bdf'
 
38
\ap\pa
 
39
           outi = frame for imaginary part of result transform,
 
40
                defaulted to `ffti.bdf'
 
41
\ap\sa
 
42
See also:
 
43
           FFT/FINVERSE, FFT/FPOWER, FFT/IMAGE, CREATE/FILTER
 
44
\as\no
 
45
Note:
 
46
           All internal calculations are done in double precision and
 
47
           only the final result frames are truncated to single precision.
 
48
\\
 
49
           To calculate the inverse Fourier transformation use FFT/FINVERSE,
 
50
           not FFT/INVERSE which only works for frames obtained with the
 
51
           FFT/IMAGE command!
 
52
\\
 
53
           If the number of pixels in an axis of the input frame is not a power
 
54
           of 2, the input frame is expanded to the next higher power of 2.
 
55
           The result frames will have the original no. of pixels but the
 
56
           result frames with expanded size are also kept with names
 
57
           `exp_fftr.bdf' and `exp_ffti.bdf'. These frames should be used later
 
58
           when calculating the inverse Fourier transform via FFT/FINVERSE!
 
59
\\
 
60
           The FFT command does NOT work for 3-dim frames.
 
61
\on\exs
 
62
Examples:
 
63
\ex
 
64
           FFT/FREQU rr ri
 
65
             Do FFT for image where real part is contained in frame `rr.bdf'
 
66
             and imaginary part in frame `ri.bdf'. The real and imaginary parts
 
67
             of the FFT are stored in `fftr.bdf' and `ffti.bdf'.
 
68
\xe\ex
 
69
           FFT/FREQU lola ? zr zi
 
70
             Do FFT for real frame `lola.bdf' (no imaginary part) and store
 
71
             results in `zr.bdf' and `zi.bdf'.
 
72
\xe\sxe