filtering motion parameters

I was just wondering if there was a way to apply a notch filter to motion regressors - either with a 1D function or ideally as part of afni_proc?
Per recent suggestions: http://dx.doi.org/10.1101/337360, https://www.biorxiv.org/content/10.1101/837161v1