Atomic-resolution differential phase contrast STEM on ferroelectric materials: A mean-field approach