Measurement of the static magnetic field generated by large inductors for railway applications