IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2006, 11:44:37 PM (20 years ago)
Author:
Paul Price
Message:

Changed the way things are loaded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageDetrendCell.c

    r6064 r6079  
    33
    44// mask, bias, dark, flat are defined per Cell
    5 // pedestal is constructed for each readout, which may have different exposure times
    65
    76pmReadout *ppDetrendSelectFirst(pmCell *cell, char *name, bool doThis)
     
    2322bool ppDetrendCell(ppDetrend *detrend, ppOptions *options, ppConfig *config)
    2423{
    25 
    2624    pmCellSetWeights(detrend->input);
    2725
     
    3028    pmReadout *dark = ppDetrendSelectFirst(detrend->dark, "dark", options->doDark);
    3129    pmReadout *flat = ppDetrendSelectFirst(detrend->flat, "flat", options->doFlat);
     30
     31#if 0
     32    printf("Flat type: %x\n", flat->image->type.type);
     33    printf("Flat value: %f\n", flat->image->data.F32[flat->image->numRows/2][flat->image->numCols/2]);
     34#endif
    3235
    3336    // Dark time for dark image
Note: See TracChangeset for help on using the changeset viewer.