When you’re looking for a path through an RF trap junction, you
basically need to find the centers of a bunch of quadrupoles in slice
planes along the way. So far I have been stupidly brute-forcing this,
but by just assuming the field to be linear, you get to the center very
quickly: