analysis of ore or minerals