your command line execution says “affine” everywhere but not “rotation”.
I would expect the values it calculates to require affine warping since it was told to use that.
look at the switch above that. the pointer’s type is one thing, the “interface”. what it actually points to matters more.
I have never touched the module and just provide rubberducking. I can be very wrong here. ultimately it’s a good idea to make your issue reproducible, i.e. post a “minimal reproducing example”