Text this: A methodology for the analysis of the rayleigh-wave ellipticity