Changeset 41430
- Timestamp:
- Oct 21, 2020, 4:37:05 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroLoadCrosstalk.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroLoadCrosstalk.c
r41367 r41430 84 84 return false; 85 85 } 86 // Activate t ehreference mask to generate an FPA structure we can use to map stars down to cells86 // Activate the reference mask to generate an FPA structure we can use to map stars down to cells 87 87 88 88 pmFPAfileActivate (config->files, false, NULL); … … 136 136 137 137 // 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))) { 139 139 psTrace ("psastro.crosstalk",2,"Chip (%d%d) not a known crosstalk source.",X,Y); 140 140 continue; … … 154 154 } 155 155 156 // Identify which cell holds the cell156 // Identify which cell holds the star 157 157 pmChip *CTsourceChip = refChip; 158 158 pmCell *CTsourceCell = pmCellInChip(refChip,ref->chip->x,ref->chip->y); … … 181 181 y_t_cell = y_cell; 182 182 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" 184 185 // Inter-chip 185 // OTA2yXY3v <=> OTA3yXY3v186 // OTA4yXY3v <= >OTA5yXY3v186 // OTA2yXY3v => OTA3yXY3v 187 // OTA4yXY3v <= OTA5yXY3v 187 188 // Intra-chip 188 189 // OTA2yXY5v <=> OTA2yXY6v … … 199 200 continue; 200 201 } 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 }209 202 if ((X == 5)&&(! ((U == 3)||(U == 5)||(U == 6)||(U == 7)))) { 210 203 psTrace ("psastro.crosstalk",2,"Cell (%d%d) on chip (%d%d) not a known crosstalk source.",U,V,X,Y); 211 204 continue; 212 205 } 213 // czw: 2010-01-27214 // Potential new crosstalk: OTA4yXY5v <=> OTA4yXY6v215 // Currently not enough info to be convinced of this, however, as the artifacts are very faint.216 206 217 207 // Calculate destination positions … … 231 221 // faint_ct = 1; NOTE: not currently used 232 222 } 233 }234 else if (X == 3) {235 Xt = 2;236 }237 else if (X == 4) {238 Xt = 5;239 223 } 240 224 if (X == 5) { … … 312 296 if (ref->Mag < SPIKE_MAX_MAG) { 313 297 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)))) {322 298 psTrace ("psastro.crosstalk",2,"Cell (%d%d) on chip (%d%d) not a known crosstalk source.",U,V,X,Y); 323 299 continue;
Note:
See TracChangeset
for help on using the changeset viewer.
