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/ppImageLoadPixels.c

    r5976 r6079  
    1414
    1515    psTrace(__func__, 1, "Loading %d,%d for %s\n", chipNum, cellNum, input->filename);
     16
     17    pmFPA *fpa = input->fpa;            // The entire focal plane array
     18    psArray *chips = fpa->chips;        // The array of chips
     19    if (chipNum >= 0 && chipNum < chips->n) {
     20        loadCells(chips->data[chipNum]);
     21        if (! chip->exists && chip->process) {
     22            loadCells(chip, cellNum);
     23        }
     24    } else {
     25        for (int i = 0; i < chips->n; i++) {
     26            pmChip *chip = chips->data[i];
     27        }
    1628
    1729    // set input:valid flags according to process and chipNum/cellNum
Note: See TracChangeset for help on using the changeset viewer.