Changeset 9617 for trunk/psModules/src/detrend/pmNonLinear.h
- Timestamp:
- Oct 17, 2006, 12:57:27 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmNonLinear.h (modified) (1 diff)
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 /// 5 15 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 20 17 #define PM_NON_LINEAR_H 21 18 22 #include "pslib.h"19 #include <pslib.h> 23 20 #include "pmFPA.h" 24 21 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. 25 pmReadout *pmNonLinearityPolynomial(pmReadout *in, ///< Input image, to correct 26 const psPolynomial1D *coeff ///< Polynomial for non-linearity correction 27 ); 27 28 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. 33 pmReadout *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 ); 31 37 32 38 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
