Text this: Self-Consistent Anharmonic Theory and Its Application to BaTiO3 Crystal