Claude: Remove dead code from cuas package + fix targetsAnalyzeMCP
Dead method/constant removal (21 methods across 5 files):
- CuasMotion: addMotionVectors, clearFailByStrongerNeighbor, cloneTargetsSequence,
filterByHorizon, filterMotionScans, findMatchingTarget, getKeyFrameVelocityScale,
getTargetImages, getTargetsFromHyperAugment_2025, getVectorFieldHyper, showPxPyDs,
subtractTargetSequence, trimSuffix; constants INDX_SPEED, INDX_CONFIDENCE, VF_TOP_TITLES
- CorrectionFPN: calculateFPN_old
- CuasCenterLma: getAverageRoll
- CuasMotionLMA: applyWindowToData, copyMotion, getRR0, getFullParametersVector
- CuasTile: setParentIndex, getParentIndex (were already commented out)
targetsAnalyzeMCP fixes:
- Correct PAR constants (add PAR_PXYAR=-2, shift others)
- params array now accepts strings ("pxy","pxyar","vpxy","upxy", or LMA_TITLES names)
in addition to integer indices; default remains ["pxy"]
- Add missing PAR_PXYAR case (px, py, a, rmse, r)
- Add amplitude to PAR_PXY case
- Default case uses LMA_TITLES[npar] key instead of String.valueOf(npar)
Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>
Showing
This diff is collapsed.
Please register or sign in to comment