Design and optimization of planar undulators for X-ray free-electron lasers: Comparative analyses considerations on magnetic structures | Synapse