Enh: eV or keV

_get_line_energy method: an internal method to return the energy and the energy resolution with the right units.