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/pmShutterCorrection.h

    r19299 r19432  
    55 * @author Paul Price, IfA
    66 *
    7  * @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2008-08-30 02:28:07 $
     7 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2008-09-09 04:10:14 $
    99 * Copyright 2006 Institute for Astronomy, University of Hawaii
    1010 */
     
    124124    );
    125125
    126 bool pmShutterCorrectionApplyScan_Threaded(psThreadJob *job);
    127 bool pmShutterCorrectionApplyScan(psImage *image, psImage *shutterImage, psImage *mask, float exptime, psMaskType blank, int rowStart, int rowStop);
     126/// Thread entry point for applying a shutter correction
     127bool pmShutterCorrectionApplyScan_Threaded(
     128    psThreadJob *job                    ///< Job to execute
     129    );
     130
     131/// Apply the shutter correction to a scan
     132bool pmShutterCorrectionApplyScan(
     133    psImage *image,                     ///< Input image to correct
     134    const psImage *shutterImage,        ///< Shutter correction image
     135    psImage *mask,                      ///< Input mask image
     136    float exptime,                      ///< Exposure time to which to correct
     137    psMaskType blank,                   ///< Mask value to give blank pixels
     138    int rowStart, int rowStop           ///< Range of scan
     139    );
    128140
    129141/// Apply a shutter correction
     
    193205
    194206// prepare outputs for shutter correction
    195 bool pmShutterCorrectionGeneratePrepare(pmReadout *shutter, pmReadout *pattern, const psArray *inputs, psMaskType maskVal);
     207bool pmShutterCorrectionGeneratePrepare(pmReadout *shutter, pmReadout *pattern, const psArray *inputs,
     208                                        psMaskType maskVal);
    196209
    197210/// @}
Note: See TracChangeset for help on using the changeset viewer.