Hamada coordinates are a set of magnetic coordinates in which the equilibrium current density lines are straight besides those of magnetic field . The periodic part of the stream functions of both and are flux functions (that can be chosen to be zero without loss of generality).

Form of the Jacobian for Hamada coordinates

In this section, following D'haseleer et al we will translate the condition of straight current density lines into one for the Hamada coordinates Jacobian. For that we will make use of the equilibrium equation  , which written in a magnetic coordinate system reads

 

Taking the flux surface average   of this equation we find  , so that we have

 

In a coordinate system where   is straight   is a function of   only, and therefore LHS of this equation must be zero in such a system. It therefore follows that the Jacobian of the Hamada system must satisfy

 

where the last identity follows from the properties of the flux surface average. The Hamada angles are sometimes defined in 'turns' (i.e.  ) instead of radians ( )). This choice together with the choice of the volume   as radial coordinate makes the Jacobian equal to unity. Alternatively one can select   as radial coordinate with the same effect.

Magnetic field and current density expressions in a Hamada vector basis

With the form of the Hamada coordinates' Jacobian we can now write the explicit contravariant form of the magnetic field in terms of the Hamada basis vectors

 

This has the nice property of having flux constant contravariant coefficients (functions of the radial coordinate only). The current density contravariant looks alike

 

The covariant expression of the magnetic field is less clean

 

with contributions from the periodic part of the magnetic scalar potential   to all the covariant components. Nonetheless, the flux surface averaged Hamada covariant  -field angular components have simple expressions, i.e

 

where the integral over   is zero because the Jacobian in Hamada coordinates is not a function of this angle. Similarly