IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 2, 2013, 3:01:21 PM (13 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20130307
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130307

  • branches/eam_branches/ipp-20130307/psModules

  • branches/eam_branches/ipp-20130307/psModules/src/detrend/pmPattern.c

    r35081 r35350  
    997997      pmChip *chip = out->fpa->chips->data[i];
    998998      pmCell *cell = chip->cells->data[0]; // Cell of interest
    999       pmReadout *ro = cell->readouts->data[0]; // Readout of interest
    1000 
     999
     1000     
    10011001      psStatsInit(bgStats);
    10021002
     
    10091009      int y = chipName[3] - '0';
    10101010
    1011      
     1011      if ((cell->readouts->n != 1)||(!chip->data_exists))  {
     1012        A->data.F64[y][x] = NAN;
     1013        B->data.F64[y][x] = NAN;
     1014        C->data.F64[y][x] = NAN;
     1015        D->data.F64[y][x] = NAN;
     1016        continue;
     1017      }
     1018      pmReadout *ro = cell->readouts->data[0]; // Readout of interest     
    10121019      for (int j = 0; j < 4; j++) {
    10131020        if (j == 0) {  // Region B
     
    12841291        pmChip *chip = out->fpa->chips->data[i];
    12851292        pmCell *cell = chip->cells->data[0]; // Cell of interest
     1293        if ((cell->readouts->n != 1)||(!chip->data_exists))  {
     1294          continue;
     1295        }
    12861296        pmReadout *ro = cell->readouts->data[0]; // Readout of interest
    12871297        const char *chipName = psMetadataLookupStr(NULL,chip->concepts, "CHIP.NAME");
Note: See TracChangeset for help on using the changeset viewer.