Changeset 40265 for branches/eam_branches/ohana.20170822
- Timestamp:
- Dec 9, 2017, 10:18:58 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20170822/src/relphot/src/setMrelCatalog.c
r40262 r40265 2 2 3 3 # if (0) 4 # define TEST_OBJ_ID 0x0000 000e5 # define TEST_CAT_ID 0x0000 76ee4 # define TEST_OBJ_ID 0x000098f9 5 # define TEST_CAT_ID 0x00005ad3 6 6 # else 7 7 # define TEST_OBJ_ID 0 … … 688 688 689 689 off_t meas = bestEntryMax; 690 off_t measSeq = meas + measureOffset; 691 690 692 myAssert (meas >= 0, "this should not happen"); 691 693 … … 695 697 696 698 // match measurement to its image (this is just a check, right?) 697 if (getImageEntry (meas , cat) < 0) {699 if (getImageEntry (measSeq, cat) < 0) { 698 700 // measurements without an image are either external reference photometry or 699 701 // data for which the associated image has not been loaded (probably because of … … 704 706 Mgrid = 0.0; 705 707 } else { 706 McalPSF = getMcal (meas , cat, MAG_CLASS_PSF);707 McalAPER = USE_MCAL_PSF_FOR_STACK_APER ? getMcal (meas , cat, MAG_CLASS_PSF) : getMcal (meas, cat, MAG_CLASS_KRON);708 Mmos = getMmos (meas , cat);709 Mgrid = getMgrid (meas , cat);708 McalPSF = getMcal (measSeq, cat, MAG_CLASS_PSF); 709 McalAPER = USE_MCAL_PSF_FOR_STACK_APER ? getMcal (measSeq, cat, MAG_CLASS_PSF) : getMcal (measSeq, cat, MAG_CLASS_KRON); 710 Mmos = getMmos (measSeq, cat); 711 Mgrid = getMgrid (measSeq, cat); 710 712 } 711 713
Note:
See TracChangeset
for help on using the changeset viewer.
