Supplementary code for the paper "Hyperspectral mapping of density, porosity, stiffness, and strength in hydrothermally altered volcanic rocks"