IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 17, 2006, 12:57:27 PM (20 years ago)
Author:
Paul Price
Message:

Documenting pmNonLinear.h. Cleaning up pmNonLinear.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmNonLinear.h

    r6872 r9617  
    1 //////////////////////////////////////////////////////////////////////////////////////////////////////////////
    2 // XXX WARNING: I have completely replaced this file with an OLD VERSION (that works) instead of the
    3 // one that was being worked on.
    4 //////////////////////////////////////////////////////////////////////////////////////////////////////////////
     1/// @file pmNonLinear.h
     2///
     3/// @brief Perform non-linear correction through polynomial or table lookup
     4///
     5/// @ingroup Detrend
     6///
     7/// @author George Gusciora, MHPCC
     8/// @author Paul Price, IfA
     9///
     10/// @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     11/// @date $Date: 2006-10-17 22:57:27 $
     12///
     13/// Copyright 2004 Institute for Astronomy, University of Hawaii
     14///
    515
    6 /** @file  pmNonLinear.h
    7  *
    8  *  Provides polynomial or table lookup non-linearity corrections to readouts.
    9  *
    10  *  @author GLG, MHPCC
    11  *
    12  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-04-17 18:01:05 $
    14  *
    15  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    16  *
    17  */
    18 
    19 #if !defined(PM_NON_LINEAR_H)
     16#ifndef PM_NON_LINEAR_H
    2017#define PM_NON_LINEAR_H
    2118
    22 #include "pslib.h"
     19#include <pslib.h>
    2320#include "pmFPA.h"
    2421
    25 pmReadout *pmNonLinearityPolynomial(pmReadout *in,
    26                                     const psPolynomial1D *coeff);
     22/// Correct non-linearity through polynomial
     23///
     24/// Applies a polynomial to the flux of each pixel in the input image to determine the corrected flux.
     25pmReadout *pmNonLinearityPolynomial(pmReadout *in, ///< Input image, to correct
     26                                    const psPolynomial1D *coeff ///< Polynomial for non-linearity correction
     27                                   );
    2728
    28 pmReadout *pmNonLinearityLookup(pmReadout *in,
    29                                 const psVector *inFlux,
    30                                 const psVector *outFlux);
     29/// Correct non-linearity through table lookup
     30///
     31/// For each pixel in the input image, performs linear interpolation on the table (from the two vectors) to
     32/// determine the corrected flux.
     33pmReadout *pmNonLinearityLookup(pmReadout *in, ///< Input image, to correct
     34                                const psVector *inFlux, ///< Table column with input fluxes
     35                                const psVector *outFlux ///< Table column with output fluxes
     36                               );
    3137
    3238#endif
Note: See TracChangeset for help on using the changeset viewer.