Properties of rectified averaging of an evoked-type signal: theory and application to the vestibular-evoked myogenic potential