IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 27, 2013, 1:56:38 PM (13 years ago)
Author:
eugene
Message:

add commented-out timer lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ps2-tc3-20130727/ppImage/src/ppImageDetrendReadout.c

    r35685 r35861  
    77bool ppImageDetrendReadout(pmConfig *config, ppImageOptions *options, pmFPAview *view)
    88{
     9  // psTimerStart("detrend.readout");
     10
    911    // construct a view for the detrend images (which have only one readout)
    1012    pmFPAview *detview = pmFPAviewAlloc(0);
     
    3537      }
    3638    }
     39    // psLogMsg ("ppImage", 6, "check gain: %f sec\n", psTimerMark ("detrend.readout"));
    3740
    3841    // Check to see if we're in a chip that contains video
     
    5659    }
    5760    done_video_check:
     61    // psLogMsg ("ppImage", 6, "check video: %f sec\n", psTimerMark ("detrend.readout"));
    5862
    5963    // Masking on the basis of pixel value needs to be done before anything else, so the values are pristine.
     
    6266        psImageMaskType lowMask = options->doMaskLow ? options->lowMask : 0;
    6367        pmReadoutGenerateMask(input, satMask, lowMask);
     68        // psLogMsg ("ppImage", 6, "generate mask: %f sec\n", psTimerMark ("detrend.readout"));
    6469    }
    6570    // apply the externally supplied mask to the input->mask pixels
     
    7378      }
    7479      pmMaskBadPixels(input, mask, options->maskValue);
     80      // psLogMsg ("ppImage", 6, "apply mask: %f sec\n", psTimerMark ("detrend.readout"));
    7581    }
    7682
     
    7985        // extern bool ppImageBurntoolApply(pmConfig *, ppImageOptions *, pmFPAview *, pmReadout *);
    8086        ppImageBurntoolApply(config, options, view, input);
     87        // psLogMsg ("ppImage", 6, "apply burntool: %f sec\n", psTimerMark ("detrend.readout"));
    8188    }
    8289   
     
    8996            ppImageBurntoolMask(config,options,view,input);
    9097        }
     98        // psLogMsg ("ppImage", 6, "apply burntool mask: %f sec\n", psTimerMark ("detrend.readout"));
    9199    }
    92100
     
    98106        return false;
    99107      }
     108      // psLogMsg ("ppImage", 6, "subtract overscan: %f sec\n", psTimerMark ("detrend.readout"));
    100109    }
    101110
     
    107116        return(false);
    108117      }
     118      // psLogMsg ("ppImage", 6, "nonlinear correction: %f sec\n", psTimerMark ("detrend.readout"));
    109119    }
    110120
     
    144154            return false;
    145155        }
     156        // psLogMsg ("ppImage", 6, "apply bias: %f sec\n", psTimerMark ("detrend.readout"));
    146157    }
    147158   
     
    210221        pmReadoutGenerateVariance(input, noiseImage, true);
    211222        psFree (noiseImage);
     223        // psLogMsg ("ppImage", 6, "generate variance: %f sec\n", psTimerMark ("detrend.readout"));
    212224    }
    213225
     
    218230            return false;
    219231        }
     232        // psLogMsg ("ppImage", 6, "apply dark: %f sec\n", psTimerMark ("detrend.readout"));
    220233    }
    221234
     
    227240            return false;
    228241        }
     242        // psLogMsg ("ppImage", 6, "mask remnance: %f sec\n", psTimerMark ("detrend.readout"));
    229243    }
    230244
     
    236250            return false;
    237251        }
     252        // psLogMsg ("ppImage", 6, "shutter correction: %f sec\n", psTimerMark ("detrend.readout"));
    238253    }
    239254
     
    245260            return false;
    246261        }
     262        // psLogMsg ("ppImage", 6, "apply flat: %f sec\n", psTimerMark ("detrend.readout"));
    247263    }
    248264
     
    268284
    269285        psBinaryOp(input->image, input->image, "*", psScalarAlloc(norm, PS_TYPE_F32));
     286        // psLogMsg ("ppImage", 6, "renormalize: %f sec\n", psTimerMark ("detrend.readout"));
    270287    }
    271288
     
    316333
    317334        psFree (classID);
     335
     336        // psLogMsg ("ppImage", 6, "renormalize by class: %f sec\n", psTimerMark ("detrend.readout"));
    318337    }
    319338# endif
     
    325344            return false;
    326345        }
     346        // psLogMsg ("ppImage", 6, "measure fringe: %f sec\n", psTimerMark ("detrend.readout"));
    327347    }
    328348
    329349    ppImageMemoryDump("detrend");
    330350
     351    // psLogMsg ("ppImage", 5, "detrend readout: %f sec\n", psTimerMark ("detrend.readout"));
    331352    psFree(detview);
    332353    return true;
Note: See TracChangeset for help on using the changeset viewer.