00001 /* @file pmNonLinear.h 00002 * @brief Perform non-linear correction through polynomial or table lookup 00003 * 00004 * @author George Gusciora, MHPCC 00005 * @author Paul Price, IfA 00006 * 00007 * @version $Revision: 1.5 $ $Name: $ 00008 * @date $Date: 2007/01/24 02:54:15 $ 00009 * Copyright 2004 Institute for Astronomy, University of Hawaii 00010 */ 00011 00012 #ifndef PM_NON_LINEAR_H 00013 #define PM_NON_LINEAR_H 00014 00015 /// @addtogroup detrend Detrend Creation and Application 00016 /// @{ 00017 00018 #include <pslib.h> 00019 #include "pmFPA.h" 00020 00021 /// Correct non-linearity through polynomial 00022 /// 00023 /// Applies a polynomial to the flux of each pixel in the input image to determine the corrected flux. 00024 pmReadout *pmNonLinearityPolynomial(pmReadout *in, ///< Input image, to correct 00025 const psPolynomial1D *coeff ///< Polynomial for non-linearity correction 00026 ); 00027 00028 /// Correct non-linearity through table lookup 00029 /// 00030 /// For each pixel in the input image, performs linear interpolation on the table (from the two vectors) to 00031 /// determine the corrected flux. 00032 pmReadout *pmNonLinearityLookup(pmReadout *in, ///< Input image, to correct 00033 const psVector *inFlux, ///< Table column with input fluxes 00034 const psVector *outFlux ///< Table column with output fluxes 00035 ); 00036 00037 /// @} 00038 #endif
1.5.1