Methods and apparatus that can include a rotatable target to generate a sinusoidal signal in a magnetic field sensor, wherein the target includes a plurality of sinusoidal teeth to reduce angular error. A magnetic field sensor can be configured to determine a position of the target. In embodiments, a rotatable target to generate a sinusoidal signal in a magnetic field sensor can include a plurality of sinusoidal teeth and a number of harmonics to reduce angular error.