1. A method comprising: observing a finite duration signal y n that comprises a representation of a mixture of a desired signal and an undesired signal, the undesired signal comprising an offset component; modeling the offset component of the undesired signal as comprising a step function u defined by unknown step function parameters; estimating the unknown step function parameters; and adjusting y n based on the estimated step function parameters.