IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 16, 2005, 5:18:39 PM (21 years ago)
Author:
Paul Price
Message:

Importing PAP code from phase 2. NOTE: Reverted files in detrend/ and imsubtract/ to a previous version. DO NOT merge these files back!

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
    16/** @file  pmSubtractBias.h
    27 *
     
    611 *  @author GLG, MHPCC
    712 *
    8  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-11-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 $
    1015 *
    1116 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2328#include<math.h>
    2429#include "pslib.h"
     30
    2531#include "pmAstrometry.h"
    2632
     
    3844} pmFit;
    3945
    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 );
     46pmReadout *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
    6154
    6255#endif
Note: See TracChangeset for help on using the changeset viewer.