add docstrings to dsp functions