Hi,
You're right, what we call "calibration" is basically the parameters of a pinhole camera ("TAN"gent-plane projection in WCS-speak), ie, the RA,Dec position on the sky of a reference point, the pixel coordinates of that reference point, and the 2x2 matrix that describes dRA,dDec by dx,dy.
Lens distortion is called "distortion correction" or "SIP" (for the name of one of the pseudo-standard representations), or "tweak" (
astrometry.net's name for the algorithm to fit it) Currently we only do single-image fitting for it, but yes, it would be possible to use many images to improve the fit.
SIP is a general polynomial (no specialization for the kinds of distortion patterns you might expect from optical systems).
cheers,
dustin