IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18792


Ignore:
Timestamp:
Jul 30, 2008, 2:23:30 PM (18 years ago)
Author:
eugene
Message:

adding notes for threading

Location:
branches/eam_branch_20080719/psphot/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080719/psphot/src/psphotModelBackground.c

    r17568 r18792  
    135135    psF32 **modelStdevData = modelStdev->image->data.F32;
    136136
     137    // XXXX we can thread this here by running blocks in parallel
     138
    137139    // measure clipped median for subimages
    138140    psRegion ruffRegion = {0,0,0,0};
  • branches/eam_branch_20080719/psphot/src/psphotSignificanceImage.c

    r18005 r18792  
    1212    // smooth the image and weight map
    1313    psTimerStart ("smooth");
     14
     15    // XXX we can a) choose fft to convolve if needed and b) multithread fftw
    1416
    1517    bool status_x, status_y;
     
    9496    psMetadataAddF32  (recipe, PS_LIST_TAIL, "SIGNIFICANCE_SCALE_FACTOR", PS_META_REPLACE, "Signicance scale factor", factor);
    9597
     98    // XXX multithread this if needed
    9699    for (int j = 0; j < smooth_im->numRows; j++) {
    97100        for (int i = 0; i < smooth_im->numCols; i++) {
  • branches/eam_branch_20080719/psphot/src/psphotSubtractBackground.c

    r16820 r18792  
    9090
    9191    // subtract the background model (save in backSub, if requested)
     92    // XXX if needed, multithread this (fairly trivial)
    9293    for (int j = 0; j < image->numRows; j++) {
    9394        for (int i = 0; i < image->numCols; i++) {
Note: See TracChangeset for help on using the changeset viewer.