Inversion of P-wave velocity anisotropy