IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 8, 2008, 6:10:14 PM (18 years ago)
Author:
Paul Price
Message:

Discovered a problem with threaded implementation of pmDarkApply --- the polynomial is altered within pmDarkApplyScan, so it should not be global across threads. Checked and cleaned up the other threaded detrending functions.

File:
1 edited

Legend:

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

    r19299 r19432  
    55 * @author Paul Price, IfA
    66 *
    7  * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2008-08-30 02:28:07 $
     7 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2008-09-09 04:10:14 $
    99 * Copyright 2004--2006 Institute for Astronomy, University of Hawaii
    1010 */
     
    2727                   );
    2828
    29 // pmBiasSubtractFrame(): this routine will take as input a readout for the input image and a readout for the bias
     29// pmBiasSubtractFrame
     30// this routine will take as input a readout for the input image and a readout for the bias
    3031// image.  The bias image is subtracted in place from the input image.
    3132bool pmBiasSubtractFrame(pmReadout *in, // Input readout
     
    3435    );
    3536
    36 bool pmBiasSubtractScan_Threaded(psThreadJob *job);
    37 bool pmBiasSubtractScan (pmReadout *in, pmReadout *sub, float scan, int xOffset, int yOffset, int rowStart, int rowStop);
     37/// Thread entry point for bias subtraction
     38bool pmBiasSubtractScan_Threaded(psThreadJob *job ///< Job to execute
     39    );
     40
     41/// Do bias subtraction for a scan
     42bool pmBiasSubtractScan(
     43    pmReadout *in,                      ///< Input image to correct
     44    const pmReadout *sub,               ///< Bias+dark image to subtract
     45    float scale,                        ///< Scale to apply
     46    int xOffset, int yOffset,           ///< Offset between input and bias images
     47    int rowStart, int rowStop           ///< Scan range
     48    );
    3849
    3950/// @}
Note: See TracChangeset for help on using the changeset viewer.