gain pattern