Interpolate angle values (handle wrap around properly). Does nearest neighbor interpolation if values out of range.

float

The points to interpolate to.

Points to interpolate between (must be sorted)

The angles ascociated with xp

bool

Set if anglep is degrees (True) or radidian (False)

interp_angle()