All pyxray functions currently only return the requested value. For example pyxray.xray_transition_energy_eV(...) returns the energy of a transition. A keyword argument should be added to each function to return the actual property which would include the reference.