IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2008, 1:37:24 AM (18 years ago)
Author:
eugene
Message:

working on loading force phot positions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080511/ppSim/src/ppSimLoadForceSources.c

    r17901 r17930  
    1212    pmFPAfileActivate (config->files, true, "PSASTRO.OUT.REFSTARS");
    1313
    14     // this loop selects the matched stars for all chips
    15     while ((chip = pmFPAviewNextChip (view, fpa, 1)) != NULL) {
    16         psTrace ("psastro", 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process);
    17         if (!chip->process || !chip->file_exists) { continue; }
    18         if (!chip->fromFPA) { continue; }
    19 
    20         while ((cell = pmFPAviewNextCell (view, fpa, 1)) != NULL) {
    21             psTrace ("psastro", 4, "Cell %d: %x %x\n", view->cell, cell->file_exists, cell->process);
    22             if (!cell->process || !cell->file_exists) { continue; }
    23 
    24             // process each of the readouts
    25             // XXX there can only be one readout per chip in astrometry, right?
    26             while ((readout = pmFPAviewNextReadout (view, fpa, 1)) != NULL) {
    27                 if (! readout->data_exists) { continue; }
     14    readout = pmFPAviewThisReadout (view, fpa);
     15    if (! readout->data_exists) { continue; }
    2816
    2917                // read WCS data from the corresponding header
Note: See TracChangeset for help on using the changeset viewer.