IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2004, 5:01:04 PM (22 years ago)
Author:
Paul Price
Message:

Standardised on /< as Doxygen comment for variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psFFT.h

    r317 r344  
    1616/** Details on FFT implementation (private).  Example shown is for FFTW */
    1717typedef struct {
    18     fftw_plan plan;                     //!< FFTW plan on how to do the FFT
    19     char *filename;                     //!< File name for FFTW plan
     18    fftw_plan plan;                     ///< FFTW plan on how to do the FFT
     19    char *filename;                     ///< File name for FFTW plan
    2020} p_psFFTDetails;
    2121
    2222/** Fast Fourier Transform */
    2323typedef struct {
    24     p_psFFTDetails *details;            //!< Details on FFT implementation (private)
    25     int nx, ny;                         //!< Size in x and y
    26     float *real;                        //!< Data in real space: a 2D array using the [nx*y + x] stuff
    27     void *fourier;                      //!< Data in fourier space; implementation dependent
     24    p_psFFTDetails *details;            ///< Details on FFT implementation (private)
     25    int nx, ny;                         ///< Size in x and y
     26    float *real;                        ///< Data in real space: a 2D array using the [nx*y + x] stuff
     27    void *fourier;                      ///< Data in fourier space; implementation dependent
    2828} psFFT;
    2929
    3030/** Constructor */
    3131psFFT *
    32 psFFTAlloc(psImage *image               //!< Image to transform
     32psFFTAlloc(psImage *image               ///< Image to transform
    3333           );
    3434
    3535/** Constructor for 1D case */
    3636psFFT *
    37 psFFTAlloc1D(const psFloatArray *arr    //!< Array to transform
     37psFFTAlloc1D(const psFloatArray *arr    ///< Array to transform
    3838             );
    3939
    4040/** Destructor. Returns the data in the real space as an image. */
    4141psImage *
    42 psFFTFree(psImage *out,                 //!< Image to write the data to, or NULL
    43           psFFT *restrict fft           //!< FFT to destroy
     42psFFTFree(psImage *out,                 ///< Image to write the data to, or NULL
     43          psFFT *restrict fft           ///< FFT to destroy
    4444          );
    4545
    4646/** Forward FFT: from real to fourier space */
    4747psFFT *
    48 psFFTForward(psFFT *fft                 //!< FFT to apply (input and output)
     48psFFTForward(psFFT *fft                 ///< FFT to apply (input and output)
    4949             );
    5050
    5151/** Reverse FFT: from fourier to real space */
    5252psFFT *
    53 psFFTReverse(psFFT *fft                 //!< FFT to apply (input and output)
     53psFFTReverse(psFFT *fft                 ///< FFT to apply (input and output)
    5454             );
    5555
    5656/** Apply filter function in fourier space */
    5757psFFT *
    58 psFFTFilter(psFFT *fft,                 //!< FFT to use (input and output)
    59             float (*filterFunc)(int kx, int ky) //!< External filter function
     58psFFTFilter(psFFT *fft,                 ///< FFT to use (input and output)
     59            float (*filterFunc)(int kx, int ky) ///< External filter function
    6060            );
    6161
    6262/** Apply complex filter function */
    6363psFFT *
    64 psFFTFilterComplex(psFFT *fft,          //!< FFT to use (input and output)
    65                    float (*realFilterFunc)(int kx, int ky), //!< External filter function, real part
    66                    float (*imagFilterFunc)(int kx, int ky) //!< External filter function, imaginary part
     64psFFTFilterComplex(psFFT *fft,          ///< FFT to use (input and output)
     65                   float (*realFilterFunc)(int kx, int ky), ///< External filter function, real part
     66                   float (*imagFilterFunc)(int kx, int ky) ///< External filter function, imaginary part
    6767                   );
    6868
     
    7171 */
    7272psFFT *
    73 psFFTCrossCorrelate(psFFT *out          //!< Output FFT (or NULL)
    74                     const psFFT *fft1, const psFFT *fft2 //!< FFTs to use in cross-correlation
     73psFFTCrossCorrelate(psFFT *out          ///< Output FFT (or NULL)
     74                    const psFFT *fft1, const psFFT *fft2 ///< FFTs to use in cross-correlation
    7575                    );
    7676
    7777/** Calculate FFT of the convolution.  Straight multiplication of the FFTs */
    7878psFFT *
    79 psFFTConvolve(psFFT *out,               //!< Output FFT (or NULL)
    80               const psFFT *fft1, const psFFT *fft2 //!< FFTs to multiply
     79psFFTConvolve(psFFT *out,               ///< Output FFT (or NULL)
     80              const psFFT *fft1, const psFFT *fft2 ///< FFTs to multiply
    8181              );
    8282
    8383/** Calculate power spectrum */
    8484psFloatArray *
    85 psFFTPowerSpec(psFFT *fft               //!< FFT to use (input and output)
     85psFFTPowerSpec(psFFT *fft               ///< FFT to use (input and output)
    8686               );
    8787
    8888/* Convert the real data in the FFT struct to an image again */
    8989psImage *
    90 psFFTGetImage(psImage *out,             //!< Image to write to (or NULL)
    91               const psFFT *fft          //!< FFT to get image from
     90psFFTGetImage(psImage *out,             ///< Image to write to (or NULL)
     91              const psFFT *fft          ///< FFT to get image from
    9292              );
    9393
    9494/** Convert the Fourier transform data in the FFT struct to an image of complex numbers */
    9595psImage *
    96 psFFTGetFT(psImage *out,                //!< Image to write to (or NULL)
    97            const psFFT *fft             //!< FFT to get Fourier transform from
     96psFFTGetFT(psImage *out,                ///< Image to write to (or NULL)
     97           const psFFT *fft             ///< FFT to get Fourier transform from
    9898           );
    9999
Note: See TracChangeset for help on using the changeset viewer.