Generate the pinhole model from paramters.
The model parameters. Keys are ‘avgdx’, ‘avgdy’, ‘angle’, ‘xmodel’, ‘ymodel’.
pinhole_model()