Measurement of the current-density profile and plasma dynamics in the reversed-field pinch.