pinhole_model

sofia_redux.instruments.forcast.distcorr_model.pinhole_model(xpos, ypos, xid, yid)[source]

Generate the pinhole model from paramters.

Parameters:
xposarray-like
yposarray-like
xidarray-like
yidarray-like
Returns:
dict

The model parameters. Keys are ‘avgdx’, ‘avgdy’, ‘angle’, ‘xmodel’, ‘ymodel’.