- Timestamp:
- Dec 16, 2005, 5:18:39 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_051214/psModules/src/imsubtract/pmSubtractBias.h
r5587 r5795 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 ////////////////////////////////////////////////////////////////////////////////////////////////////////////// 5 1 6 /** @file pmSubtractBias.h 2 7 * … … 6 11 * @author GLG, MHPCC 7 12 * 8 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $9 * @date $Date: 2005-1 1-23 23:54:30$13 * @version $Revision: 1.4.8.1 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-12-17 03:18:39 $ 10 15 * 11 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 23 28 #include<math.h> 24 29 #include "pslib.h" 30 25 31 #include "pmAstrometry.h" 26 32 … … 38 44 } pmFit; 39 45 40 pmReadout *pmSubtractBias( 41 pmReadout *in, ///< The input pmReadout image 42 void *fitSpec, ///< A polynomial or spline, defining the fit type. 43 pmFit fit, ///< PM_FIT_SPLINE, PM_FIT_POLYNOMIAL, or PM_FIT_NONE 44 bool overscan, 45 psStats *stat, ///< The statistic to be used in combining overscan data 46 int nBin, ///< The amount of binning to be done image pixels. 47 const pmReadout *bias, ///< A possibly NULL bias pmReadout which is to be subtracted 48 const pmReadout *dark ///< A possibly NULL bias pmReadout which is to be subtracted 49 ); 50 51 /****************************************************************************** 52 DetermineTrimmedImageg() This private routine determines the region of the 53 input pmReadout which will be operated on by the various detrend modules. It 54 does a metadata fetch on "CELL.TRIMSEC" for the parent cell of the pmReadout. 55 56 XXX: Consider making a pmUtils.c file and put this routine there. 57 *****************************************************************************/ 58 psImage *p_psDetermineTrimmedImage( 59 pmReadout *in 60 ); 46 pmReadout *pmSubtractBias(pmReadout *in, ///< The input pmReadout image 47 void *fitSpec, ///< A polynomial or spline, defining the fit type. 48 const psList *overscans, ///< A psList of overscan images 49 pmOverscanAxis overScanAxis, ///< Defines how overscans are applied 50 psStats *stat, ///< The statistic to be used in combining overscan data 51 int nBin, ///< The amount of binning to be done image pixels. 52 pmFit fit, ///< PM_FIT_SPLINE, PM_FIT_POLYNOMIAL, or PM_FIT_NONE 53 const pmReadout *bias); ///< A possibly NULL bias pmReadout which is to be subtracted 61 54 62 55 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
