A python implementation of the Rayleigh-Z2n periodogram