IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2007, 1:42:25 PM (19 years ago)
Author:
eugene
Message:

added a comment explaining some subtleties of dark correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeScaleZero.c

    r13873 r13957  
    199199                        view->chip = j;
    200200                        view->cell = k;
     201
     202                        // This step applies the dark exptime / background relationship: F =
     203                        // polymomial(exptime).  Below, the input images are scaled by the
     204                        // output of this relationship.
     205
     206                        // For devices with linear dark and no residual bias, this relationship
     207                        // is not defined in the configuration system, and the transformation
     208                        // is defined (when loaded by the concepts) to be F = exptime.  Thus,
     209                        // in this case, the resulting dark image consists of counts/sec.
     210
     211                        // For devices with a different relationship, the transformation yields
     212                        // the expected number of counts in the given exposure, based on the
     213                        // recorded exptime.  Thus, in this case, the resulting dark image
     214                        // should have a median value of 1.0.
     215
     216                        // note that these corrections must be applied differently when used to
     217                        // correct a science image. 
     218
    201219                        darktime->data.F32[i][cellNum] = pmFPADarkNorm(fpa, view,
    202220                                                                       darktime->data.F32[i][cellNum]);
Note: See TracChangeset for help on using the changeset viewer.