IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41430


Ignore:
Timestamp:
Oct 21, 2020, 4:37:05 PM (6 years ago)
Author:
tdeboer
Message:

changed the gp1 crosstalk recipe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroLoadCrosstalk.c

    r41367 r41430  
    8484    return false;
    8585  }
    86   // Activate teh reference mask to generate an FPA structure we can use to map stars down to cells
     86  // Activate the reference mask to generate an FPA structure we can use to map stars down to cells
    8787
    8888  pmFPAfileActivate (config->files, false, NULL);
     
    136136
    137137          // If this chip doesn't crosstalk, skip to the next one.
    138           if (! ((X == 2)||(X == 3)||(X == 4)||(X == 5))) {
     138          if (! ((X == 2)||(X == 5))) {
    139139            psTrace ("psastro.crosstalk",2,"Chip (%d%d) not a known crosstalk source.",X,Y);
    140140            continue;
     
    154154            }
    155155
    156             // Identify which cell holds the cell
     156            // Identify which cell holds the star
    157157            pmChip *CTsourceChip = refChip;
    158158            pmCell *CTsourceCell = pmCellInChip(refChip,ref->chip->x,ref->chip->y);
     
    181181            y_t_cell = y_cell;
    182182
    183             // 2014-04-15 CZW: Here are the list of known cross talks:
     183            // 2020-10-21 TdB: Here is the list of known cross talks from the bright star analysis:
     184            // The relationships work using OTA"XY"XY"UV"
    184185            // Inter-chip
    185             // OTA2yXY3v <=> OTA3yXY3v
    186             // OTA4yXY3v <=> OTA5yXY3v
     186            // OTA2yXY3v => OTA3yXY3v
     187            // OTA4yXY3v <= OTA5yXY3v
    187188            // Intra-chip
    188189            // OTA2yXY5v <=> OTA2yXY6v
     
    199200              continue;
    200201            }
    201             if ((X == 3)&&(! ((U == 3)))) {
    202               psTrace ("psastro.crosstalk",2,"Cell (%d%d) on chip (%d%d) not a known crosstalk source.",U,V,X,Y);
    203               continue;
    204             }
    205             if ((X == 4)&&(! ((U == 3)))) {
    206               psTrace ("psastro.crosstalk",2,"Cell (%d%d) on chip (%d%d) not a known crosstalk source.",U,V,X,Y);
    207               continue;
    208             }
    209202            if ((X == 5)&&(! ((U == 3)||(U == 5)||(U == 6)||(U == 7)))) {
    210203              psTrace ("psastro.crosstalk",2,"Cell (%d%d) on chip (%d%d) not a known crosstalk source.",U,V,X,Y);
    211204              continue;
    212205            }
    213             // czw: 2010-01-27
    214             // Potential new crosstalk: OTA4yXY5v <=> OTA4yXY6v
    215             // Currently not enough info to be convinced of this, however, as the artifacts are very faint.
    216206
    217207            // Calculate destination positions
     
    231221                // faint_ct = 1; NOTE: not currently used
    232222              }
    233             }
    234             else if (X == 3) {
    235               Xt = 2;
    236             }
    237             else if (X == 4) {
    238               Xt = 5;
    239223            }
    240224            if (X == 5) {
     
    312296            if (ref->Mag < SPIKE_MAX_MAG) {
    313297              if ((X == 2)&&(! ((U == 3)||(U == 5)||(U == 6)))) {
    314                 psTrace ("psastro.crosstalk",2,"Cell (%d%d) on chip (%d%d) not a known crosstalk source.",U,V,X,Y);
    315                 continue;
    316               }
    317               if ((X == 3)&&(! ((U == 3)))) {
    318                 psTrace ("psastro.crosstalk",2,"Cell (%d%d) on chip (%d%d) not a known crosstalk source.",U,V,X,Y);
    319                 continue;
    320               }
    321               if ((X == 4)&&(! ((U == 3)))) {
    322298                psTrace ("psastro.crosstalk",2,"Cell (%d%d) on chip (%d%d) not a known crosstalk source.",U,V,X,Y);
    323299                continue;
Note: See TracChangeset for help on using the changeset viewer.