xfields Python package for the computation of fields generated by particle ensembles in particle accelerators.