for current clamp and voltage clamp analysis