A magnetic field model for wigglers and undulators | IEEE Conference Publication | IEEE Xplore