VMEC PEST1 Coordinates

The coordinates output by the VMEC code are not straight field line coordinates. In order to convert to straight field line coordinates (PEST1) the VMEC theta coordinate must be transformed to the straight field line coordinate. In general the VMEC coordinates are written


In VMEC, the lambda quantity is in terms of normalized flux. Using these definitions, the following identity can be written

As a result the quantities in VMEC coordinates must first be transformed to suv space, then Fourier decomposed to the PEST1 coordinates.