IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 20, 2004, 6:12:37 PM (22 years ago)
Author:
eugene
Message:

substantial API changes based on change to PSLib SDRS

File:
1 edited

Legend:

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

    r704 r753  
    22#define PS_FFT_H
    33
    4 #include <fftw3.h>
     4/* #include <fftw3.h> */
    55
    66/** \file psFFT.h
     
    1313 *  \{
    1414 */
     15
     16/**** Vector FFT & Complex functions ****/
     17
     18/** FFT a vector. in: psF32 or psC32, out: psC32 */
     19psVector *
     20psVectorFFT(const psVector *vector,     ///< Vector to transform
     21           int dir)                     ///< FFT direction (1: forward, -1: reverse)
     22;
     23
     24/** Calculate power spectrum of a vector of floating-point numbers */
     25psVector *
     26psVectorPowerSpectrum(const psVector *vector) ///< Vector to obtain power spectrum of
     27;
     28
     29/** Get the real part of a vector */
     30psVector *
     31psVectorReal(psVector *out,             ///< Vector for output (or NULL)
     32             const psVector *in)        ///< Vector to get the real part of
     33;
     34
     35/** Get the imaginary part of a vector */
     36psVector *
     37psVectorImaginary(psVector *out,        ///< Vector for output (or NULL)
     38             const psVector *in)        ///< Vector to get the imaginary part of
     39;
     40
     41/** Construct a complex vector from real & imaginary parts */
     42psVector *
     43psVectorComplex(psVector *out,          ///< Vector for output (or NULL)
     44               const psVector *real,    ///< real part of vector
     45               const psVector *imag)    ///< imaginary part of vector
     46;
     47
     48/** Get the complex conjugate of an vector of complex floating-point numbers */
     49psVector *
     50psVectorConjugate(psVector *out,        ///< Vector for output (or NULL)
     51                  const psVector *in)   ///< Vector to get the complex conjugate of
     52;
    1553
    1654/**** Image FFT & Complex functions ****/
     
    5290;
    5391
    54 /**** Vector FFT & Complex functions ****/
    55 
    56 /** FFT a vector. in: psF32 or psC32, out: psC32 */
    57 psVector *
    58 psVectorFFT(const psVector *vector)     ///< Vector to transform
    59 ;
    60 
    61 /** Calculate power spectrum of a vector of floating-point numbers */
    62 psVector *
    63 psVectorPowerSpectrum(const psVector *vector) ///< Vector to obtain power spectrum of
    64 ;
    65 
    66 /** Get the real part of a vector */
    67 psVector *
    68 psVectorReal(psVector *out,             ///< Vector for output (or NULL)
    69              const psVector *in)        ///< Vector to get the real part of
    70 ;
    71 
    72 /** Get the imaginary part of a vector */
    73 psVector *
    74 psVectorImaginary(psVector *out,        ///< Vector for output (or NULL)
    75              const psVector *in)        ///< Vector to get the imaginary part of
    76 ;
    77 
    78 /** Construct a complex vector from real & imaginary parts */
    79 psVector *
    80 psVectorComplex(psVector *out,          ///< Vector for output (or NULL)
    81                const psVector *real,    ///< real part of vector
    82                const psVector *imag)    ///< imaginary part of vector
    83 ;
    84 
    85 /** Get the complex conjugate of an vector of complex floating-point numbers */
    86 psVector *
    87 psVectorConjugate(psVector *out,        ///< Vector for output (or NULL)
    88                   const psVector *in)   ///< Vector to get the complex conjugate of
    89 ;
    9092
    9193/* \} */ // End of MathGroup Functions
Note: See TracChangeset for help on using the changeset viewer.