Returns or changes a component of the hkl vector or the psi angle, e.g.: $ret = Spectra::diff_h(1); $ret = Spectra::diff_h();