I rediscovered a feature I put in last summer that might be useful to those writing scripts with interpolation of data in angle or local time, where you can add the property AVERAGE_TYPE and the interpolation will pick the shorter arc around the circle to interpolate. Here's an example of the property's use:
https://github.com/autoplot/dev/blob/master/demos/2022/20220608/demoPerformance.jy . Values for the property can be found with constants QDataSet.VALUE_AVERAGE_TYPE_MOD360 (meaning that 259 and 1 are only 2 units from one another), QDataSet.VALUE_AVERAGE_TYPE_MOD360, QDataSet.VALUE_AVERAGE_TYPE_MODPI and QDataSet.VALUE_AVERAGE_TYPE_MODTAU, to name a few. Also there's QDataSet.VALUE_AVERAGE_TYPE_GEOMETRIC, meaning the geometric averages should be used (sqrt(a*b)).
Jeremy