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

    r19299 r19432  
    4040    );
    4141
    42 bool pmDarkApplyScan_Threaded(psThreadJob *job);
    43 bool pmDarkApplyScan (pmReadout *readout, const pmCell *dark, psPolynomialMD *poly, psVector *values, psMaskType bad, bool doNorm, float norm, int rowStart, int rowStop);
     42// Thread entry point for pmDarkApplyScan
     43bool pmDarkApplyScan_Threaded(psThreadJob *job // Job to execute
     44    );
     45
     46// Apply the dark correction to a scan
     47bool pmDarkApplyScan(pmReadout *readout, // Readout to correct
     48                     const pmCell *dark, // Dark to apply
     49                     const psVector *orders, // Polynomial orders for each ordinate
     50                     const psVector *values, // Values for each ordinate
     51                     psMaskType bad,    // Value to give bad pixels
     52                     bool doNorm,       // Normalise values?
     53                     float norm,        // Value by which to normalise
     54                     int rowStart, int rowStop // Scan range to work on
     55    );
    4456
    4557// Apply dark
Note: See TracChangeset for help on using the changeset viewer.