Changeset 41927 for branches/eam_branches/ipp-20211108
- Timestamp:
- Nov 23, 2021, 8:42:33 AM (5 years ago)
- Location:
- branches/eam_branches/ipp-20211108/psModules/src
- Files:
-
- 3 edited
-
astrom/pmAstrometryObjects.c (modified) (1 diff)
-
imcombine/pmStack.c (modified) (3 diffs)
-
objects/pmSourceMatch.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/psModules/src/astrom/pmAstrometryObjects.c
r41925 r41927 41 41 float psVectorSystematicError (psVector *residuals, psVector *errors, float clipFraction); 42 42 float pmAstrom2DSystematics (psVector *xPos, psVector *yPos, psVector *value); 43 float pmAstromSubsetSystematics (psVector *value); 43 44 44 45 #define PM_ASTROMETRYOBJECTS_DEBUG 1 -
branches/eam_branches/ipp-20211108/psModules/src/imcombine/pmStack.c
r41924 r41927 1555 1555 for (int i = 0; i < stackData->n; i++) { 1556 1556 pmStackData *data = stackData->data[i]; // Stack data for this input 1557 pmReadout *ro = data->readout; // Readout of interest 1558 stackReadouts->data[i] = psMemIncrRefCounter(ro); 1559 } 1560 1557 stackReadouts->data[i] = NULL; 1558 if (!data) continue; 1559 pmReadout *ro = data->readout; // Readout of interest 1560 if (!ro) continue; 1561 stackReadouts->data[i] = psMemIncrRefCounter(ro); // need to bump the counter since the free below will decrement 1562 } 1561 1563 if (!pmReadoutStackValidate(&minInputCols, &maxInputCols, &minInputRows, &maxInputRows, &xSize, &ySize, stackReadouts)) { 1562 1564 psError(psErrorCodeLast(), false, "Input stack is not valid."); … … 1590 1592 1591 1593 pmStackData *data = stackData->data[i]; // Stack data for this input 1594 if (!data) continue; 1592 1595 pmReadout *ro = data->readout; // Readout of interest 1596 if (!ro) continue; 1593 1597 1594 1598 psAssert (ro->mask, "must must exist, but does not"); … … 1718 1722 psFree(pixelVariances); 1719 1723 psFree(expTime); 1724 1720 1725 return (true); 1721 1726 } -
branches/eam_branches/ipp-20211108/psModules/src/objects/pmSourceMatch.c
r36856 r41927 470 470 } 471 471 psTrace("psModules.objects", 3, "Transparency for image %d: %f\n", i, trans->data.F32[i]); 472 psLogMsg("psModules.objects", PS_LOG_INFO, "Transparency for image %d: %f\n", i, trans->data.F32[i]); 472 473 } 473 474 psFree(accum);
Note:
See TracChangeset
for help on using the changeset viewer.
