Synchrotron radiation intensity scaling with undulator errors