  Magnetic encoders currently provide accurate positioning information by
reading periodic patterns with equally spaced structures or bits. As this
technology evolves to fulfill industrial demands for cheaper and more accurate
systems, variations of this concept with non-periodic and non-predetermined
patterns emerge. In this work, we take the first step towards the development
of such devices using equally sized bits with different separations. We show
magnetic scans of 1000 {\mu}m wide and 2000 {\AA} thick CoCrPt structures with
separations between 63 and 3000 {\mu}m, obtained with tunnel magnetoresisistive
sensors. A theoretical model to describe the magnetic field created by these
structures is also proposed, which matches the trend of the experimental
signals. We also show that there is a spatial resolution loss for reading
distances higher than a threshold that depends on the minimum feature size of
the sample.
