An X-ray beam-hardening correction algorithm is proposed that is based on the Alvarez-Macovski(AM) model for X-ray attenuation as a function of X-ray energy. We outline the heuristics used to identify theparameters required to reconstruct several real world large scale datasets with this algorithm.