deduce_machine_electric_current: improvement on the interpolation
This is done to simplify the interpolation of the current on the timestamps of the projections: https://gitlab.esrf.fr/tomotools/nxtomomill/-/blob/main/nxtomomill/converter/hdf5/acquisition/utils.py