Establishing operando diffraction capability through the study of Li-ion (de) intercalation in LiFePO4