Changeset 41591
- Timestamp:
- May 17, 2021, 12:45:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-ps1-20210510/psastro/src/psastroLoadCrosstalk.c
r41551 r41591 402 402 int crossCellOffset = psMetadataLookupS32 (&status, crossItem->data.md, "CELL.OFFSET"); 403 403 float crossMagOff = psMetadataLookupF32 (&status, crossItem->data.md, "CROSS.MAGDIFF"); 404 psLogMsg ("psastro", PS_LOG_INFO, "RULE: %d %d %d %d %f ",405 crossChip,crossCell,crossChipOffset,crossCellOffset,crossMagOff);406 404 if (!status) { 407 405 psWarning ("CROSSTALK.RULE entry is missing necessary entry"); … … 510 508 511 509 pmAstromObj *crosstalk = pmAstromObjAlloc(); 512 513 psLogMsg ("psastro", PS_LOG_INFO, "CTsource from DETEC @ OTA%d%dxy%d%d@%f,%f CTtarget OTA%2dxy%2d@%f,%f ChipLoc: (%f,%f) %f",514 X,Y,U,V,cal->chip->x,cal->chip->y,chipTarget,cellTarget,x_t_cell,y_t_cell,x_t_chip,y_t_chip,cal->Mag);515 510 516 511 crosstalk->Mag = cal->Mag; … … 669 664 psTrace ("psastro.crosstalk",2,"CTsource @ OTA%d%dxy%d%d@%f,%f CTtarget OTA%2dxy%2d@%f,%f ChipLoc: (%f,%f)", 670 665 X,Y,U,V,x_cell,y_cell,chipTarget,cellTarget,x_t_cell,y_t_cell,x_t_chip,y_t_chip); 671 psLogMsg ("psastro", PS_LOG_INFO, "MAXREF2:OTA%d%dxy%d%d@%f,%f CTtarget OTA%2dxy%2d@%f,%f ChipLoc: (%f,%f)",672 X,Y,U,V,x_cell,y_cell,chipTarget,cellTarget,x_t_cell,y_t_cell,x_t_chip,y_t_chip);673 666 674 667 // Hunt down the readout for the target, and save the chip position and magnitude of source star. … … 691 684 float TARGET_CROSS_MAX_MAG = tarde->magRef-crossMagOff + MagOffset; 692 685 if (ref->Mag > TARGET_CROSS_MAX_MAG) { continue; } 693 694 psLogMsg ("psastro", PS_LOG_INFO, "CTsource @ OTA%d%dxy%d%d@%f,%f CTtarget OTA%2dxy%2d@%f,%f ChipLoc: (%f,%f) %f",695 X,Y,U,V,ref->chip->x,ref->chip->y,chipTarget,cellTarget,x_t_cell,y_t_cell,x_t_chip,y_t_chip,ref->Mag);696 686 697 687 pmAstromObj *crosstalk = pmAstromObjAlloc();
Note:
See TracChangeset
for help on using the changeset viewer.
