Describe the solution you'd like
A commonly used model for IAM is to interpolate along a user-supplied list of (AOI, IAM) points, e.g., pvsyst offers this model option.
Implement a function iam_interpolated with parameters being a list of (AOI, IAM) points.
Additional context
pvsyst uses linear interpolation.