Petrology description of rocks while petrography is the speciality that deals with microscopic details. In the petroleum industry, lithology, or more specifically mud logging, is the graphic representation of geological formations being drilled through, and drawn on a log called a mud log. As the cuttings are circulated out of the borehole they are sampled, examined (typically under a 10× microscope) and tested chemically when needed. Petrology utilizes the fields of mineralogy, petrography, optical mineralogy, and chemical analysis to describe the composition and texture of rocks. Petrologists also include the principles of geochemistry and geophysics through the study of geochemical trends
Petrography the microscope is fairly subtle, but also mechanistic - it would be possible to develop an identification key that would allow a computer to do it. The more difficult and skilful part of optical petrography is identifying the interrelationships between grains and relating them to features seen in hand specimen, at outcrop, or in mapping. Separation of the ingredients of a crushed rock powder to obtain pure samples for analysis is a common approach. It may be performed with a powerful, adjustable-strength electromagnet. A weak magnetic field attracts magnetite, then haematite and other iron ores. Silicates that contain iron follow