A dynamic threshold detector for a magnetic storage medium comprises a
transition detector that receives the data comprising pairs of numbers
based on data received from the magnetic storage medium, each of the
pairs of numbers including a first number and a second number and that
detects signs of the first and second numbers in the pairs. A threshold
selector varies a magnitude of a threshold based on the detected signs.