A single method for the inversion of anisotropic data sets with application to structural studies