The gain command shifts the energies on which the response matrix is defined. The new energy, E', is related to the old energy, E, by E' = E/slope - intercept.