================================================================= this gives the detuning gradient rate d qx d qy dqxdk = ---- dqydk = ---- d xi d xi created by the random errors in the quadrupoles of the form dk = k (1 + xi lambda ) where xi is the standard deviation of the relative random error. ================================================================ subroutine gradient_error_detuning(dqxdk,dqydk) COMMONS: common-initi.f common-mml-lattice.f SUBROUTINES USED: betam micromap-index Mon Jul 17 08:57:34 CEST 2017