IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18969


Ignore:
Timestamp:
Aug 8, 2008, 9:00:55 AM (18 years ago)
Author:
eugene
Message:

skipping video cells

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080719/psModules/src/camera/pmFPAMosaic.c

    r15477 r18969  
    580580    }
    581581
     582    if (cell->readouts->n > 1) {
     583        psWarning("Cell contains more than one readout (%ld) --- skipping.\n", cell->readouts->n);
     584        return true;
     585    }
     586
    582587    // Expand the arrays and vectors to handle new data
    583588    long index = images->n;               // The index to use
     
    703708    // Add the readout to the array of images to be mosaicked
    704709    psArray *readouts = cell->readouts; // The array of readouts
    705     if (readouts->n > 1) {
    706         psWarning("Cell contains more than one readout (%ld) --- only the first will be mosaicked.\n",
    707                   readouts->n);
    708     }
    709710    pmReadout *readout = readouts->data[0]; // The only readout we'll bother with
    710711
  • trunk/ppImage/src/ppImageDetrendFringe.c

    r14000 r18969  
    9393    for (int i = 0; i < cells->n; i++) {
    9494        pmCell *cell = cells->data[i];  // Cell of interest
     95
     96        // XXX for now, skip the video cells (cell->readouts->n > 1)
     97        if (cell->readouts->n > 1) {
     98          psWarning ("Skipping Video Cell for ppImageDetrendFringe.c:getFringes");
     99          continue;
     100        }
     101
    95102        fringes->data[i] = psMemIncrRefCounter(psMetadataLookupPtr(NULL, cell->analysis, source));
    96103    }
     
    320327        }
    321328
     329        // XXX for now, skip the video cells (cell->readouts->n > 1)
     330        if (cell->readouts->n > 1) {
     331          psWarning ("Skipping Video Cell for ppImageDetrendFringeApply");
     332          continue;
     333        }
     334
    322335        if (!ppImageDetrendFringeGenerate(cell, fringeCell, options)) {
    323336            psError(PS_ERR_UNKNOWN, false, "failed to apply fringe image.\n");
  • trunk/ppImage/src/ppImageLoop.c

    r18917 r18969  
    6464            }
    6565
     66            // XXX for now, skip the video cells (cell->readouts->n > 1)
     67            if (cell->readouts->n > 1) {
     68              psWarning ("Skipping Video Cell for ppImageDetrendReadout");
     69              continue;
     70            }
    6671
    6772            // process each of the readouts
  • trunk/ppStats/src/ppStatsChip.c

    r18168 r18969  
    7575        if ((view->cell >= 0) && (i != view->cell)) continue;
    7676        pmCell *cell = cells->data[i];  // Cell of interest
     77
     78        // XXX for now, skip the video cells (cell->readouts->n > 1)
     79        if (cell->readouts->n > 1) {
     80          psWarning ("Skipping Video Cell for ppStatsCell");
     81          continue;
     82        }
     83
    7784        psExit result = ppStatsCell(chipResults, cell, fits, view, data, config);
    7885        if (result != PS_EXIT_SUCCESS) {
Note: See TracChangeset for help on using the changeset viewer.