Fix Version/s: None
Historically, afwMath.BackgroundControl's constructor accepted the parameter style, to set the the interpolation style, and undersampleStyle, to set the behaviour when there are two few grid points for interpolation.
This, to interpolate with an Akima spline, and to reduce the interpolation order when there aren't enough grid points, you'd do something like:
DM-17566, the style argument (but not the undersampleStyle argument) was deprecated, and, instead, the user is encouraged to instead call:
The confusion arises when the user does something like this:
I contend that the reasonable user would be expecting this to use a REDUCE_INTERP_ORDER undersample style, as set in the BackgroundControl, but instead the getImageF default of THROW_EXCEPTION is used.
This seems wrong to me.