Hi, I am currently looking at some helical data and would like to “straighten” it by rotating the helix “back” by its angle at the given distance to the origin.

My current approach was to do a rotational coordinate transformation along the x-axis, interpolate the data on a new grid and store a new “twisted” file. Since the interpolation introduces computational cost, another file & potential errors, I’d like to omit it.

Therefore my question: Can I define a volume rotation around e.g. the x-axis, where the rotational angle is dependent on variables such as the x coordinate and (ideally) the time step?

I have had a look at the transform filter, but to me it seems as if it can not produce the desired result, or I am not seeing it. Thanks for the help!