Ring and Pinion Question

Spark testing is a method of determining the general classification of ferrous materials. It normally entails taking a piece of metal, usually scrap, and applying it to a grinding wheel in order to observe the sparks emitted.[1] These sparks can be compared to a chart or to sparks from a known test sample to determine the classification. Spark testing also can be used to sort ferrous materials, establishing the difference from one another by noting whether the spark is the same or different.

Spark testing is used because it is quick, easy, and inexpensive. Moreover, test samples do not have to be prepared in any way, so, often, a piece of scrap is used. The main disadvantage to spark testing is its inability to identify a material positively; if positive identification is required, chemical analysis must be used.[2] The spark comparison method also damages the material being tested, at least slightly.

Spark testing most often is used in tool rooms, machine shops, heat treating shops, and foundries.[3]

The convenience of spark testing is magnified by the ability to photograph the process, zoom in on spark ends, and thereby gaining further and precise knowledge of the metallurgical content by examining the spark tendrils.
This is a good read!!
And to a degree I know it to be true. I work in a tool room for a living. I sharpen machining tools, and have notice that extremely hard materials have a less bright spark colour. I remember sharpening a set of shear blades for a friend and I was amazed at the colour of the Sparks. Really hard stuff.