IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 19, 2014, 4:35:41 PM (12 years ago)
Author:
eugene
Message:

add some commented-out timing messages

File:
1 edited

Legend:

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

    r35917 r37406  
    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.
     
    6670          return false;
    6771        }
     72        // psLogMsg ("ppImage", 6, "generate mask: %f sec\n", psTimerMark ("detrend.readout"));
    6873    }
    6974    // apply the externally supplied mask to the input->mask pixels
     
    7782      }
    7883      pmMaskBadPixels(input, mask, options->maskValue);
     84      // psLogMsg ("ppImage", 6, "apply mask: %f sec\n", psTimerMark ("detrend.readout"));
    7985    }
    8086
     
    8389        // extern bool ppImageBurntoolApply(pmConfig *, ppImageOptions *, pmFPAview *, pmReadout *);
    8490        ppImageBurntoolApply(config, options, view, input);
     91        // psLogMsg ("ppImage", 6, "apply burntool: %f sec\n", psTimerMark ("detrend.readout"));
    8592    }
    8693   
     
    93100            ppImageBurntoolMask(config,options,view,input);
    94101        }
     102        // psLogMsg ("ppImage", 6, "apply burntool mask: %f sec\n", psTimerMark ("detrend.readout"));
    95103    }
    96104
     
    102110        return false;
    103111      }
     112      // psLogMsg ("ppImage", 6, "subtract overscan: %f sec\n", psTimerMark ("detrend.readout"));
    104113    }
    105114
     
    111120        return(false);
    112121      }
     122      // psLogMsg ("ppImage", 6, "nonlinear correction: %f sec\n", psTimerMark ("detrend.readout"));
    113123    }
    114124
     
    148158            return false;
    149159        }
     160        // psLogMsg ("ppImage", 6, "apply bias: %f sec\n", psTimerMark ("detrend.readout"));
    150161    }
    151162   
     
    218229        }
    219230        psFree (noiseImage);
     231        // psLogMsg ("ppImage", 6, "generate variance: %f sec\n", psTimerMark ("detrend.readout"));
    220232    }
    221233
     
    226238            return false;
    227239        }
     240        // psLogMsg ("ppImage", 6, "apply dark: %f sec\n", psTimerMark ("detrend.readout"));
    228241    }
    229242
     
    235248            return false;
    236249        }
     250        // psLogMsg ("ppImage", 6, "mask remnance: %f sec\n", psTimerMark ("detrend.readout"));
    237251    }
    238252
     
    244258            return false;
    245259        }
     260        // psLogMsg ("ppImage", 6, "shutter correction: %f sec\n", psTimerMark ("detrend.readout"));
    246261    }
    247262
     
    253268            return false;
    254269        }
     270        // psLogMsg ("ppImage", 6, "apply flat: %f sec\n", psTimerMark ("detrend.readout"));
    255271    }
    256272
     
    276292
    277293        psBinaryOp(input->image, input->image, "*", psScalarAlloc(norm, PS_TYPE_F32));
     294        // psLogMsg ("ppImage", 6, "renormalize: %f sec\n", psTimerMark ("detrend.readout"));
    278295    }
    279296
     
    324341
    325342        psFree (classID);
     343
     344        // psLogMsg ("ppImage", 6, "renormalize by class: %f sec\n", psTimerMark ("detrend.readout"));
    326345    }
    327346# endif
     
    333352            return false;
    334353        }
     354        // psLogMsg ("ppImage", 6, "measure fringe: %f sec\n", psTimerMark ("detrend.readout"));
    335355    }
    336356
    337357    ppImageMemoryDump("detrend");
    338358
     359    // psLogMsg ("ppImage", 5, "detrend readout: %f sec\n", psTimerMark ("detrend.readout"));
    339360    psFree(detview);
    340361    return true;
Note: See TracChangeset for help on using the changeset viewer.