I know of many tutorials on line, but that is not the best way of doing it. I have several Leica M mount lenses and Leica publishes Entrance Pupil for each lens in their technical specification.
I would have thoughts that Fuji would do the same, but it is ok now I have worked that out and there is very little to crop in stitched panoramic shots.