In this case adding 180 amounts to the first part of the standard binning transformation of subtracting the minimum value, and dividing by the bin size. In fact the OP's two routines ConvertToFromZero and BinAngles just spread this transformation over two subroutines.
the lowliest monk
In reply to Re^2: Problems processing data for graph
by tlm
in thread Problems processing data for graph
by Angharad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |