Add support for counter-rotating choppers via the direction='anticlockwise' argument.
After discussions in #44 , I decided that using a classmethod for this is not so useful because the computation of the times when the windows are open/closed are not done upon construction.
They depend on how many rotations need to be performed.
I think the easiest is to have the direction argument, set to clockwise by default so that current users do not have to change all their notebooks.
We will most probably still use a classmethod to create a chopper from nexus parameters.
Add support for counter-rotating choppers via the
direction='anticlockwise'
argument.After discussions in #44 , I decided that using a classmethod for this is not so useful because the computation of the times when the windows are open/closed are not done upon construction. They depend on how many rotations need to be performed.
I think the easiest is to have the
direction
argument, set toclockwise
by default so that current users do not have to change all their notebooks.We will most probably still use a
classmethod
to create a chopper from nexus parameters.Supersedes #44
Fix #5