Fix Version/s: None
A recent change in AstrometryTask.solve increases the exposure bounding box by the matcher's maximum offset (matcher.maxOffsetPix. However, a parameter already exists to provide this growth in the reference catalog loader (refObjLoader.pixelMargin). Because the exposure bounding box is increased artificially after recording the catalog loading radius, loading the normalised persisted matches results in many missed matches.
To fix this:
- Remove the additional grow
- Set the default refObjLoader.pixelMargin to match the default matcher.maxOffsetPix.
- Add notes advising the user that the two parameters should be linked.
- Stop AstrometryTask from reaching into the responsibility of the reference catalog loader (it shouldn't need to know about the details of the refObjLoader configuration).