odlgroup/odl

rotation angles

cherryandmoon opened this issue · 4 comments

hi, hope this is not a silly question to ask.
I am trying to create an angle partition, using angle_part = odl.uniform_partition(0,2 * np.pi,393)
however, I need anticlockwise angles, i.e., with -2*np.pi, but seems not allowed.
Would you please give me some advice? Thanks.

ODL enforces strictly increasing angles as a convention, the standard solution if you have real data is to re-order your data to have clockwise angles using e.g. data = data[::-1].

That's great! If there's nothing more I'll close this issue.