Class for the undulator in p04. The formulas and parameters for the conversions from gap to energy and energy to gap are loaded from a python file (the name of this file is given in the UndulatorCode property).