Characterization of pharmaceutically relevant materials at the solid state employing chemometrics methods