1. A method for detecting a signal to provide a detected data sequence, comprising: providing a plurality of candidate data sequences, computing baseline wander estimates associated with respective ones of the candidate data sequences, comparing a metric based on the signal to respective metrics based on the respective ones of the candidate data sequences, wherein the comparisons are compensated by corresponding ones of the baseline wander estimates, and choosing, based on the comparisons, one of the plurality of candidate data sequences to be the detected data sequence.