"""Convert an HPGe .Spc spectrum file into a CSV with channel, counts, energy. Uses becquerel to hold the spectrum + machine energy calibration, and pandas to build/write the table.