Determination of residence times of ions in a resistive glass selected ion flow-drift tube using the Hadamard transformation.