These chemical images were converted to concentration profiles after careful data normalization and correction. This processing of the raw XRF data addressed effects related to the changing diameter of the capillary as a function of distance, as well as the calibration of the fluorescence signal using a series of silica-gel-filled capillaries containing known uniform Br⁻ concentrations (at fixed sample-detector geometry).